Warning on running apt update

If none of the more specific forums is the right place to ask

Warning on running apt update

Postby satimis » 2017-08-30 01:34

Hi all,

Please advise how to fix following problem?

$ sudo apt update
Code: Select all
......
All packages are up to date.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/base.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/base.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/base.list:1
......


$ cat /etc/apt/sources.list
Code: Select all
#deb cdrom:[Official Debian GNU/Linux Live 9.1.0 gnome 2017-07-23T01:42]/ stretch main

deb http://deb.debian.org/debian/ stretch main
deb-src http://deb.debian.org/debian/ stretch main

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

# stretch-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ stretch-updates main
deb-src http://deb.debian.org/debian/ stretch-updates main


Thanks

Regards
satimis
satimis
 
Posts: 497
Joined: 2004-09-11 11:50
Location: Hong Kong

Re: Warning on running apt update

Postby 4D696B65 » 2017-08-30 01:48

satimis wrote:
Code: Select all
and /etc/apt/sources.list.d/base.list:1

User avatar
4D696B65
 
Posts: 2027
Joined: 2009-06-28 06:09

Re: Warning on running apt update

Postby satimis » 2017-08-30 01:58

4D696B65 wrote:
satimis wrote:
Code: Select all
and /etc/apt/sources.list.d/base.list:1


Hi,

$ sudo nano /etc/apt/sources.list.d/base.list
Code: Select all
deb http://deb.debian.org/debian/ stretch main
#deb-src http://deb.debian.org/debian/ stretch main

comment out the 1st line.

$ sudo apt update
the warning gone.

Thanks

Regards
satimis
satimis
 
Posts: 497
Joined: 2004-09-11 11:50
Location: Hong Kong


Return to General Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable