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

Bug#614300: /usr/bin/apt-get: same -- apt-get update requires all listed DVDs in sources.list to be rescanned



On Tue, Mar 08, 2011 at 07:40:02PM -0500, Mark Grieveson wrote:
> Package: apt
> Version: 0.8.10.3
> Severity: normal
> File: /usr/bin/apt-get

Thanks for your bugreport.
 
> After upgrading to Squeeze from Lenny, "apt-get update" requires all listed DVDs (all eight of 'em) to be rescanned.

This was reported in Bug #614300 as well, I attached a patch there
that should fix the issue. If you could give it a go, that would be
much appricated.

Cheers,
 Michael

 
> -- Package-specific info:
> 
> -- apt-config dump --
> 
> APT "";
> APT::Architecture "i386";
> APT::Build-Essential "";
> APT::Build-Essential:: "build-essential";
> APT::Install-Recommends "true";
> 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 "0";
> APT::Periodic::Download-Upgradeable-Packages "0";
> APT::Periodic::Unattended-Upgrade "0";
> 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]+$";
> Unattended-Upgrade "";
> Unattended-Upgrade::Allowed-Origins "";
> Unattended-Upgrade::Allowed-Origins:: "${distro_id} stable";
> Unattended-Upgrade::Allowed-Origins:: "${distro_id} ${distro_codename}-security";
> DPkg "";
> DPkg::Pre-Install-Pkgs "";
> DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
> DPkg::Post-Invoke "";
> DPkg::Post-Invoke:: "test -f /var/run/junior-config.usermenu && if [ -x /usr/sbin/cdd-update-usermenus ] ; then /usr/sbin/cdd-update-usermenus junior ; fi ; rm -f /var/run/junior-config.usermenu";
> DPkg::Post-Invoke:: "if [ -d /var/lib/update-notifier ]; then  touch /var/lib/update-notifier/dpkg-run-stamp; fi";
> Acquire "";
> Acquire::cdrom "";
> Acquire::cdrom::AutoDetect "false";
> CommandLine "";
> CommandLine::AsString "apt-config dump";
> 
> -- (no /etc/apt/preferences present) --
> 
> 
> -- /etc/apt/sources.list --
> 
> # deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060717)]/ etch contrib main
> 
> # the main Debian packages.
> 
> # deb http://debian.mirrors.tds.net/debian/ lenny main contrib
> # deb http://ftp.uwsg.indiana.edu/linux/debian/ etch main
> # deb http://http.us.debian.org/debian etch main contrib non-free
> # deb http://ftp.uwsg.indiana.edu/linux/debian/ sarge contrib
> # deb cdrom:[Debian GNU/Linux 5.0.5 Update DVD 20100627: i386 DVD 1]/ lenny contrib main non-free
> # deb http://ftp.uwsg.indiana.edu/linux/debian/ squeeze main contrib non-free
> # deb http://ftp.uwsg.indiana.edu/linux/debian/ lenny main contrib non-free
> # deb http://debian.mirrors.tds.net/debian/ lenny main contrib non-free
> # deb http://debian.yorku.ca/debian/ lenny main contrib non-free
> 
> deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-2 20110205-17:27]/ squeeze contrib main
> deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-7 20110205-17:27]/ squeeze contrib main
> deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-5 20110205-17:27]/ squeeze contrib main
> deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-6 20110205-17:27]/ squeeze contrib main
> deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-4 20110205-17:27]/ squeeze contrib main
> deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-3 20110205-17:27]/ squeeze contrib main
> deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-8 20110205-17:27]/ squeeze main
> deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27]/ squeeze contrib main
> # deb http://http.us.debian.org/debian/ squeeze main contrib non-free
> # deb http://debian.yorku.ca/debian/ sid main contrib non-free
> # deb http://debian.yorku.ca/debian/ sid main
> 
> # Uncomment the deb-src line if you want 'apt-get source'
> # to work with most packages.
> # regular Etch source:
> # deb-src http://debian.yorku.ca/debian/ etch main
> # deb-src http://debian.mirrors.tds.net/debian/ lenny main contrib non-free
> # deb-src http://ftp.uwsg.indiana.edu/linux/debian/ etch main contrib non-free
> # deb-src http://http.us.debian.org/debian etch main contrib non-free
> # deb-src http://debian.yorku.ca/debian/ unstable main contrib non-free
> # deb-src http://debian.yorku.ca/debian/ stable main contrib non-free
> # deb-src http://ftp.de.debian.org/debian/ sid main contrib non-free
> 
> # uncommenting the following line will enable security updates
> # deb http://security.debian.org/ etch/updates main contrib non-free
> # deb http://security.debian.org/ squeeze/updates main contrib non-free
> 
> # multimedia
> # deb http://www.debian-multimedia.org lenny main non-free
> deb ftp://mirror.csclub.uwaterloo.ca/debian-multimedia/ squeeze main non-free
> # deb ftp://mirror.csclub.uwaterloo.ca/debian-multimedia/ sid main non-free
> # deb-src ftp://mirror.csclub.uwaterloo.ca/debian-multimedia/ squeeze main
> 
> # cinelerra video editing
> deb http://www.kiberpipa.org/~minmax/cinelerra/builds/sid/ ./
> # deb-src http://www.kiberpipa.org/~minmax/cinelerra/builds/sid/ ./
> 
> 
> # opera
> # deb http://deb.opera.com/opera/ lenny non-free
> 
> # tovid
> deb http://tovid.sourceforge.net/download/debian stable contrib
> # deb-src http://tovid.sourceforge.net/download/debian stable contrib
> 
> # Official site for latest version of skype.
> # deb http://download.skype.com/linux/repos/debian/ stable non-free
> 
> # Quake2
> # deb ftp://www.markus-raab.org/apps ./
> 
> # ion3 backports does not seem to exist anymore
> # deb http://intrigeri.boum.org/debian/sonata etch main contrib non-free
> # deb http://intrigeri.boum.org/debian/ion3 etch main contrib non-free
> 
> # backports
> # deb http://www.backports.org/debian lenny-backports main contrib non-free
> # deb http://mirror.csclub.uwaterloo.ca/debian-backports lenny-backports main contrib non-free
> 
> # debian unofficial
> # deb http://unofficial.debian-maintainers.org/ lenny/backports main contrib non-free restricted
> # deb-src http://unofficial.debian-maintainers.org/ lenny/backports main contrib non-free restricted
> 
> # gcompris repository
> # deb http://thomas.pub.enix.org/debian/ stable main
> 
> # Google software repository
> # deb http://dl.google.com/linux/deb/ stable non-free
> 
> # latest clamav clamav-daemon and avscan for squeeze
> deb http://mirrors.kernel.org/debian squeeze-updates main contrib
> # deb-src http://mirrors.kernel.org/debian squeeze-updates main contrib
> 
> # Samsung Unified Linux Driver
> # deb http://www.bchemnet.com/suldr/ debian extra
> 
> # Freemind
> deb http://eric.lavar.de/comp/linux/debian/ unstable/
> # deb-src http://eric.lavar.de/comp/linux/debian/ unstable/
> 
> # xmms
> # deb http://www.pvv.ntnu.no/~knuta/xmms/lenny ./
> # deb-src http://www.pvv.ntnu.no/~knuta/xmms/lenny ./
> 
> ### Hag GNU/Linux Repository - Hag related packages
> # deb http://hag-linux.eu.org/deb/ hag main contrib non-free
> # deb-src http://hag-linux.eu.org/deb/ hag main contrib non-free
> 
> # Lenny and a Half, for newer drivers
> # deb ftp://ftp.debian.org/debian lenny-proposed-updates main
> # deb http://debian.yorku.ca/debian/ lenny-proposed-updates main contrib non-free
> 
> # test for woody
> # deb http://archive.debian.org/debian etch main
> 
> # experimental
> # deb http://ftp.debian.org/debian experimental main
> 
> # for rox desktop
> # deb ftp://ftp.berlios.de/pub/rox4debian binary/
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- System Information:
> Debian Release: 6.0
>   APT prefers squeeze-updates
>   APT policy: (500, 'squeeze-updates')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
> Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> 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
> ii  synaptic                    0.70~pre1+b1 Graphical package manager
> 
> -- no debconf information
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to deity-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: 20110309004002.10339.7480.reportbug@debian.example.com">http://lists.debian.org/20110309004002.10339.7480.reportbug@debian.example.com
> 



Reply to: