Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Warning on running apt update

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
satimis
Posts: 536
Joined: 2004-09-11 11:50
Location: Hong Kong

Warning on running apt update

#1 Post by satimis »

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

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 86 times

Re: Warning on running apt update

#2 Post by 4D696B65 »

satimis wrote:

Code: Select all

and /etc/apt/sources.list.d/base.list:1

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

Re: Warning on running apt update

#3 Post by satimis »

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

Post Reply