apt
현재 google-chrome-stable을 사용하여 Google Chrome을 53.x에서 56.x로 업데이트하고 있습니다. 이전 Chrome 버전으로 무엇을 해야 할지 몰랐기 때문에 아무것도 하지 않았습니다. 내 /etc/apt/sources.list
데비안 8.5
#
deb http://ftp.fi.debian.org/debian/ jessie main
#deb http://ftp.us.debian.org/debian/ jessie main
deb-src http://ftp.fi.debian.org/debian/ jessie main
#deb-src http://ftp.us.debian.org/debian/ jessie main
deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib
# jessie-updates, previously known as 'volatile'
deb http://ftp.fi.debian.org/debian/ jessie-updates main contrib
#deb http://ftp.us.debian.org/debian/ jessie-updates main contrib
deb-src http://ftp.fi.debian.org/debian/ jessie-updates main contrib
#deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib
# jessie backports
deb http://http.debian.net/debian jessie-backports main contrib non-free
# Debian 8 "Jessie"
deb http://httpredir.debian.org/debian/ jessie main contrib
deb http://cran.wu.ac.at/bin/linux/debian jessie-cran3/
이 방법apt-get update
Reading package lists... Done
W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main amd64 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
새 Chrome을 루트로 설치했습니다.
# http://askubuntu.com/questions/510056/how-to-install-google-chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
apt-get update
apt-get install google-chrome-stable
운영 체제: Debian 8.5
Linux 커널: 4.7
하드웨어: ASUS Zenbook UX303UB
답변1
다음 명령:
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
으로 google-chrome.list
확인한 /etc/apt/sources.list.d
다음 ls /etc/apt/sources.list.d
중복된 항목을 삭제합니다.
항목이 하나만 있는 경우 google-chrome.list
파일을 확인하고 아래 중복된 URL을 주석 처리해야 합니다./etc/apt/sources.list.d/google-chrome.list