On 8/10/2018 12:33 PM, Stephen P. Molnar wrote:
I am running  Stretch on my 64 bit Linux platform. This morning, when  I run apt-get update as root I get:

root@AbNormal:/home/comp# apt update
Ign:1 http://debian.uchicago.edu/debian stretch InRelease
Hit:2 http://debian.uchicago.edu/debian stretch-updates InRelease
Hit:3 http://debian.uchicago.edu/debian stretch-backports InRelease
Hit:4 http://debian.uchicago.edu/debian stretch Release
Hit:5 https://desktop-download.mendeley.com/download/apt stable InRelease
Hit:6 http://security.debian.org/debian-security stretch/updates InRelease
Hit:7 https://repo.skype.com/deb stable InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list:24 W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list:24 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list:24 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list:24 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list:24 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list:24 W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list:24 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list:24 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list:24 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list:24
root@AbNormal:/home/comp#

Needless to say, I am a bit concerned.  I run apt update several times a week, but have not had a problem.  Google gave a number  of solutions for Ubuntu, but I am rather loathe to  mess with /ect/apt/sources.list:

# deb cdrom:[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 20171209-12:11]/ stretch contrib main

# deb cdrom:[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 20171209-12:11]/ stretch main contrib

deb http://debian.uchicago.edu/debian/ stretch main non-free contrib
deb-src http://debian.uchicago.edu/debian/ stretch main non-free contrib

deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free deb-src http://security.debian.org/debian-security/ stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://debian.uchicago.edu/debian/ stretch-updates main contrib non-free deb-src http://debian.uchicago.edu/debian/ stretch-updates main contrib non-free

deb http://debian.uchicago.edu/debian/ stretch-backports non-free contrib main deb-src http://debian.uchicago.edu/debian/ stretch-backports main contrib non-free

deb http://debian.uchicago.edu/debian/ stretch-backports main

Comments will be much appreciated.

Thanks in advance.


You have duplicate lines, so you simply need to remove the duplicate lines from your sources.list file.

$ cat /etc/apt/sources.list (just after installation)

deb http://ftp.us.debian.org/debian/ stretch main non-free contrib
deb-src http://ftp.us.debian.org/debian/ stretch main non-free contrib

deb http://security.debian.org/debian-security stretch/updates main contrib non-free deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free

# stretch-backports, previously on backports.debian.org
deb http://ftp.us.debian.org/debian/ stretch-backports main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch-backports main contrib non-free

The lines are folded by my mailer.

--
John Doe

Reply via email to