Your message dated Fri, 15 Mar 2024 11:48:58 -0400 with message-id <[email protected]> and subject line Re: Bug#626251: apt-get source gets confused by multiple versions in a list has caused the Debian Bug report #626251, regarding apt-get source gets confused by multiple versions in a list 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 [email protected] immediately.) -- 626251: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626251 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apt Version: 0.8.10.3 Severity: important After upgrading from lenny to squeeze, trying to build packages from unstable, apt-get source sometimes works: simon@dealer ~ % apt-get source apt ... Get:1 http://ftp.de.debian.org/debian/ unstable/main apt 0.8.14.1 (dsc) [1,363 B] ... (That is, correctly, fetching the unstable version.) And sometimes fails spectacularly: simon@dealer ~ % apt-get source duplicity ... E: Ignore unavailable version '0.6.08b-1' of package 'duplicity' E: Unable to find a source package for duplicity Wait, 0.6.08b-1 is the *stable* version. I don't want the stable version, that's the whole point. Oh, maybe I need to say "-t unstable": simon@dealer ~ % apt-get -t unstable source duplicity Reading package lists... Done Building dependency tree Reading state information... Done E: Ignore unavailable target release 'unstable' of package 'duplicity' E: Unable to find a source package for But clearly there is an entry for duplicity in the sources list: simon@dealer ~ % grep duplicity_ /var/lib/apt/lists/*Sources a35f37d3a519b51be903c3f71588f487 1032 duplicity_0.6.12-1.dsc 9b84c984054550bbb2ba29b553567b7b 296045 duplicity_0.6.12.orig.tar.gz 17ecd266d7b7307512ab969c8fbd2669 13272 duplicity_0.6.12-1.diff.gz ... In fact, there are *two different versions*: ... b73a68286bc79140aab950ed13747a49 1033 duplicity_0.6.13-1.dsc b3d627f35fc527b00121925840d5cca7 296955 duplicity_0.6.13.orig.tar.gz ee420e83778e7a8dda731ed848cf84ab 13635 duplicity_0.6.13-1.diff.gz Obviously that's not an ideal scenario but apt-get source should *not* throw its hands up and say "obviously you wanted the stable version which I can't find". -- Package-specific info: -- apt-config dump -- APT ""; APT::Architecture "i386"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Install-Recommends "1"; APT::Install-Suggests "0"; APT::Acquire ""; APT::Acquire::Translation "environment"; APT::NeverAutoRemove ""; APT::NeverAutoRemove:: "^firmware-linux.*"; APT::NeverAutoRemove:: "^linux-firmware$"; APT::NeverAutoRemove:: "^linux-image.*"; APT::NeverAutoRemove:: "^kfreebsd-image.*"; APT::NeverAutoRemove:: "^linux-restricted-modules.*"; APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*"; APT::Never-MarkAuto-Sections ""; APT::Never-MarkAuto-Sections:: "metapackages"; APT::Never-MarkAuto-Sections:: "restricted/metapackages"; APT::Never-MarkAuto-Sections:: "universe/metapackages"; APT::Never-MarkAuto-Sections:: "multiverse/metapackages"; APT::Never-MarkAuto-Sections:: "oldlibs"; APT::Never-MarkAuto-Sections:: "restricted/oldlibs"; APT::Never-MarkAuto-Sections:: "universe/oldlibs"; APT::Never-MarkAuto-Sections:: "multiverse/oldlibs"; APT::Periodic ""; APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Download-Upgradeable-Packages "0"; APT::Periodic::AutocleanInterval "0"; APT::Update ""; APT::Update::Post-Invoke ""; APT::Update::Post-Invoke:: "touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true"; APT::Archives ""; APT::Archives::MaxAge "30"; APT::Archives::MinAge "2"; APT::Archives::MaxSize "500"; Dir "/"; Dir::State "var/lib/apt/"; Dir::State::lists "lists/"; Dir::State::cdroms "cdroms.list"; Dir::State::mirrors "mirrors/"; Dir::State::extended_states "extended_states"; Dir::State::status "/var/lib/dpkg/status"; Dir::Cache "var/cache/apt/"; Dir::Cache::archives "archives/"; Dir::Cache::srcpkgcache "srcpkgcache.bin"; Dir::Cache::pkgcache "pkgcache.bin"; Dir::Etc "etc/apt/"; Dir::Etc::sourcelist "sources.list"; Dir::Etc::sourceparts "sources.list.d"; Dir::Etc::vendorlist "vendors.list"; Dir::Etc::vendorparts "vendors.list.d"; Dir::Etc::main "apt.conf"; Dir::Etc::netrc "auth.conf"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Etc::preferencesparts "preferences.d"; Dir::Etc::trusted "trusted.gpg"; Dir::Etc::trustedparts "trusted.gpg.d"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::dpkg "/usr/bin/dpkg"; Dir::Media ""; Dir::Media::MountPath "/media/apt"; Dir::Log "var/log/apt"; Dir::Log::Terminal "term.log"; Dir::Log::History "history.log"; Dir::Ignore-Files-Silently ""; Dir::Ignore-Files-Silently:: "~$"; Dir::Ignore-Files-Silently:: "\.disabled$"; Dir::Ignore-Files-Silently:: "\.bak$"; Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$"; DPkg ""; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; DPkg::Post-Invoke ""; DPkg::Post-Invoke:: "if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi; if [ -e /var/lib/update-notifier/updates-available ]; then echo > /var/lib/update-notifier/updates-available; fi "; CommandLine ""; CommandLine::AsString "apt-config dump"; -- (no /etc/apt/preferences present) -- -- /etc/apt/sources.list -- #deb file:///cdrom/ sarge main deb ftp://mirror.hetzner.de/debian/packages stable main non-free contrib deb-src http://ftp.de.debian.org/debian unstable main deb http://security.debian.org/ stable/updates main #deb http://debian.etc.gen.nz stable rt # deb http://backports.debian.org/debian-backports squeeze-backports main -- System Information: Debian Release: 6.0.1 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (x86_64) Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages apt depends on: ii debian-archive-keyring 2010.08.28 GnuPG archive keys of the Debian a ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.5-8 GCC support library ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3 ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime apt recommends no packages. Versions of packages apt suggests: pn apt-doc <none> (no description available) ii aptitude 0.6.3-3.2 terminal-based package manager (te ii bzip2 1.0.5-6 high-quality block-sorting file co ii dpkg-dev 1.15.8.10 Debian package development tools ii lzma 4.43-14 Compression method of 7z format in ii python-apt 0.7.100.1 Python interface to libapt-pkg -- no debconf information
--- End Message ---
--- Begin Message ---Hi all, I'm looking at bug reports to try and clean some up and I noticed this one. I think we can close it, see my reasoning below your message and if you don't agree feel free to reopen the bug. On Tue, May 10, 2011 at 08:14:24AM +0000, Simon Cozens wrote: > After upgrading from lenny to squeeze, trying to build packages from unstable, > apt-get source sometimes works: > > simon@dealer ~ % apt-get source apt > ... > Get:1 http://ftp.de.debian.org/debian/ unstable/main apt 0.8.14.1 (dsc) > [1,363 B] > ... > > (That is, correctly, fetching the unstable version.) And sometimes fails > spectacularly: > > simon@dealer ~ % apt-get source duplicity > ... > E: Ignore unavailable version '0.6.08b-1' of package 'duplicity' > E: Unable to find a source package for duplicity > > Wait, 0.6.08b-1 is the *stable* version. I don't want the stable version, > that's the whole point. Oh, maybe I need to say "-t unstable": > > simon@dealer ~ % apt-get -t unstable source duplicity > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Ignore unavailable target release 'unstable' of package 'duplicity' > E: Unable to find a source package for > > But clearly there is an entry for duplicity in the sources list: > > simon@dealer ~ % grep duplicity_ /var/lib/apt/lists/*Sources > a35f37d3a519b51be903c3f71588f487 1032 duplicity_0.6.12-1.dsc > 9b84c984054550bbb2ba29b553567b7b 296045 duplicity_0.6.12.orig.tar.gz > 17ecd266d7b7307512ab969c8fbd2669 13272 duplicity_0.6.12-1.diff.gz > ... > > In fact, there are *two different versions*: > > ... > b73a68286bc79140aab950ed13747a49 1033 duplicity_0.6.13-1.dsc > b3d627f35fc527b00121925840d5cca7 296955 duplicity_0.6.13.orig.tar.gz > ee420e83778e7a8dda731ed848cf84ab 13635 duplicity_0.6.13-1.diff.gz > > Obviously that's not an ideal scenario but apt-get source should *not* > throw its hands up and say "obviously you wanted the stable version which > I can't find". We have multiple source files for dovecot: $ grep dovecot_ /var/lib/apt/lists/*Sources | grep dsc /var/lib/apt/lists/deb.debian.org_debian_dists_stable_main_source_Sources: c305facad2b3785986e470397df410f3 4166 dovecot_2.3.19.1+dfsg1-2.1.dsc /var/lib/apt/lists/deb.debian.org_debian_dists_stable_main_source_Sources: 6e55d7ce048a613f00562e32a51e19d6503c9da9ae5d34d5692cca636c518d2b 4166 dovecot_2.3.19.1+dfsg1-2.1.dsc /var/lib/apt/lists/deb.debian.org_debian_dists_testing_main_source_Sources: 3d1fa5b58612668cb578df2e04f36002 4076 dovecot_2.3.21+dfsg1-2.dsc /var/lib/apt/lists/deb.debian.org_debian_dists_testing_main_source_Sources: 33a22aa897249f9600e7fdf95a4e96c11611ba3385cb8a5f8c87561d33c67f06 4076 dovecot_2.3.21+dfsg1-2.dsc /var/lib/apt/lists/deb.debian.org_debian_dists_unstable_main_source_Sources: 3d1fa5b58612668cb578df2e04f36002 4076 dovecot_2.3.21+dfsg1-2.dsc /var/lib/apt/lists/deb.debian.org_debian_dists_unstable_main_source_Sources: 33a22aa897249f9600e7fdf95a4e96c11611ba3385cb8a5f8c87561d33c67f06 4076 dovecot_2.3.21+dfsg1-2.dsc /var/lib/apt/lists/deb.debian.org_debian_dists_unstable_main_source_Sources: ca294cabc50b51d197c2b33777073078 4090 dovecot_2.3.21+dfsg1-3.dsc /var/lib/apt/lists/deb.debian.org_debian_dists_unstable_main_source_Sources: 13dd3e6c39b752f0925ec880ff4c1d807b6346a22bea1c4677dd6fd978f6ae74 4090 dovecot_2.3.21+dfsg1-3.dsc $ grep dovecot_ /var/lib/apt/lists/*Sources | grep unstable | grep dsc /var/lib/apt/lists/deb.debian.org_debian_dists_unstable_main_source_Sources: 3d1fa5b58612668cb578df2e04f36002 4076 dovecot_2.3.21+dfsg1-2.dsc /var/lib/apt/lists/deb.debian.org_debian_dists_unstable_main_source_Sources: 33a22aa897249f9600e7fdf95a4e96c11611ba3385cb8a5f8c87561d33c67f06 4076 dovecot_2.3.21+dfsg1-2.dsc /var/lib/apt/lists/deb.debian.org_debian_dists_unstable_main_source_Sources: ca294cabc50b51d197c2b33777073078 4090 dovecot_2.3.21+dfsg1-3.dsc /var/lib/apt/lists/deb.debian.org_debian_dists_unstable_main_source_Sources: 13dd3e6c39b752f0925ec880ff4c1d807b6346a22bea1c4677dd6fd978f6ae74 4090 dovecot_2.3.21+dfsg1-3.dsc We try to get the source package: $ apt-get source dovecot Reading package lists... Done NOTICE: 'dovecot' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/dovecot.git Please use: git clone https://salsa.debian.org/debian/dovecot.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 9598 kB of source archives. Get:1 https://deb.debian.org/debian unstable/main dovecot 1:2.3.21+dfsg1-3 (dsc) [4090 B] $ apt-get source dovecot/unstable Reading package lists... Done Selected version '1:2.3.21+dfsg1-3' (unstable) for dovecot NOTICE: 'dovecot' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/dovecot.git Please use: git clone https://salsa.debian.org/debian/dovecot.git to retrieve the latest (possibly unreleased) updates to the package. Skipping already downloaded file 'dovecot_2.3.21+dfsg1-3.dsc' $ apt-get source -t unstable dovecot Reading package lists... Done Selected version '1:2.3.21+dfsg1-3' (unstable) for dovecot NOTICE: 'dovecot' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/dovecot.git Please use: git clone https://salsa.debian.org/debian/dovecot.git to retrieve the latest (possibly unreleased) updates to the package. Skipping already downloaded file 'dovecot_2.3.21+dfsg1-3.dsc' $ apt-get source -t testing dovecot Reading package lists... Done Selected version '1:2.3.21+dfsg1-2' (testing) for dovecot NOTICE: 'dovecot' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/dovecot.git Please use: git clone https://salsa.debian.org/debian/dovecot.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 9597 kB of source archives. Get:1 https://deb.debian.org/debian testing/main dovecot 1:2.3.21+dfsg1-2 (dsc) [4076 B] This all seems to be working as expected. I hope you agree with me :) This is all tested on the current unstable code, but given that I thought this looked a lot like #607999 I'm (perhaps wrongfully) assuming this is also fixed on bookworm. Cheers, Wesley
--- End Message ---

