[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#801823: marked as done (apt)



Your message dated Fri, 16 Oct 2015 19:12:53 +0200
with message-id <20151016171253.GB13460@crossbow>
and subject line Re: Bug#801823: apt
has caused the Debian Bug report #801823,
regarding apt
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
801823: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801823
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 1.0
Severity: normal

Hello
I saw apt-get update has Warnings, but does not show the line number. Looking at sources.list I see the urls don't exist. Could line numbers be added?


[snip]
Fetched 4,050 kB in 20s (201 kB/s)
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: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main i386 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

# apt-get --version
apt 1.0.1ubuntu2 for amd64 compiled on Aug  1 2015 19:20:48

--- End Message ---
--- Begin Message ---
Version: 1.1~exp12

Hi

On Wed, Oct 14, 2015 at 11:38:00PM +0100, Jonny Grant wrote:
> 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: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/
> stable/main i386 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-i386_Packages)
> W: You may want to run apt-get update to correct these problems

The problem is that the place where these messages are from has no idea
where the entries came from. In your case probably from a fragment file
in /etc/apt/sources.list.d/ rather than the main file btw.


On the upside: through a redesign of the code behind the update command the
underlying problem for apt with these duplicated entries is now detectable
sooner resulting in messages like this instead:

| W: Target Packages (main/binary-amd64/Packages) is configured multiple times in
| /etc/apt/sources.list.d/test1.list:1 and /etc/apt/sources.list.d/test2.list:1

Looking at the two given file positions should give the user an idea then what
is potentially wrong as it is not always as simple as the old message suggests…

I am therefore closing this bugreport as done.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: