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

Bug#923910: sources.list: indexes after main are not downloaded



Control: tags -1 + moreinfo unreproducible

On 2019-03-07 02:11, Yasin Delgado wrote:
Excuse me if this is not the place to notify this error.

I see that apt on stretch have a problem after manual edition of sources.list: any section after "main" is ignored. All sources.list editing examples show "main contrib non-free", but that means that only the indices of main are downloaded, and the solution is to place main at the end: "contrib non-free main" or "non-free contrib main". I saw this problem in the stretch release, but I can confirm that it continues today and generates a lot of confusion in
the new ones.

For the record, I have never seen this happen on any our dozens of stretch hosts.

I just "cleaned up" a host to check, and confirm that I cannot reproduce this:

adam@deathstar:~$ ls -ltr /var/lib/apt/lists/ftp.uk*
ls: cannot access '/var/lib/apt/lists/ftp.uk*': No such file or directory
adam@deathstar:~$ grep uk /etc/apt/sources.list
deb http://ftp.uk.debian.org/debian/ stretch main non-free contrib
deb http://ftp.uk.debian.org/debian/ stretch-updates main contrib non-free
adam@deathstar:~$ sudo apt-get update
Hit:1 http://repo/debian stretch-internal InRelease
Ign:2 http://ftp.uk.debian.org/debian stretch InRelease
Get:3 http://ftp.uk.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:4 http://security-cdn.debian.org stretch/updates InRelease
Get:5 http://ftp.uk.debian.org/debian stretch Release [118 kB]
Get:6 http://ftp.uk.debian.org/debian stretch Release.gpg [2,434 B]
Get:7 http://ftp.uk.debian.org/debian stretch-updates/main amd64 Packages [11.1 kB] Get:8 http://ftp.uk.debian.org/debian stretch/non-free amd64 Packages [78.3 kB] Get:9 http://ftp.uk.debian.org/debian stretch/main amd64 Packages [7,084 kB]
Ign:10 https://linux.dell.com/repo/community/ubuntu jessie InRelease
Hit:11 https://linux.dell.com/repo/community/ubuntu jessie Release
Get:13 http://ftp.uk.debian.org/debian stretch/contrib amd64 Packages [50.9 kB]
Fetched 7,435 kB in 2s (3,085 kB/s)
Reading package lists... Done
adam@deathstar:~$ ls -ltr /var/lib/apt/lists/ftp.uk*
-rw-r--r-- 1 root root 231780 Feb 16 10:27 /var/lib/apt/lists/ftp.uk.debian.org_debian_dists_stretch_contrib_binary-amd64_Packages -rw-r--r-- 1 root root 382797 Feb 16 10:27 /var/lib/apt/lists/ftp.uk.debian.org_debian_dists_stretch_non-free_binary-amd64_Packages -rw-r--r-- 1 root root 38901770 Feb 16 10:27 /var/lib/apt/lists/ftp.uk.debian.org_debian_dists_stretch_main_binary-amd64_Packages -rw-r--r-- 1 root root 118066 Feb 16 10:57 /var/lib/apt/lists/ftp.uk.debian.org_debian_dists_stretch_Release -rw-r--r-- 1 root root 2434 Feb 16 11:11 /var/lib/apt/lists/ftp.uk.debian.org_debian_dists_stretch_Release.gpg -rw-r--r-- 1 root root 48099 Feb 21 19:57 /var/lib/apt/lists/ftp.uk.debian.org_debian_dists_stretch-updates_main_binary-amd64_Packages -rw-r--r-- 1 root root 91028 Mar 7 02:25 /var/lib/apt/lists/ftp.uk.debian.org_debian_dists_stretch-updates_InRelease
adam@deathstar:~$

Regards,

Adam


Reply to: