Bug#574072: apt-get upgrade re-upgrades same packages over and over (to same already installed version)
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: Bug#574072: apt-get upgrade re-upgrades same packages over and over (to same already installed version)
- From: Sten Heinze <shze@gmx.de>
- Date: Tue, 16 Mar 2010 05:27:48 +0100
- Message-id: <20100316042748.570.24467.reportbug@stockholm.hsd1.tn.comcast.net.>
- Reply-to: Sten Heinze <shze@gmx.de>, 574072@bugs.debian.org
Package: apt
Version: 0.7.25.3
Severity: normal
apt-get upgrade does upgrade already installed packages to the same version
again and again even without running apt-get update in between and without
new versions becoming available.
# LANG=C apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
libgettext-ruby1.8 libgl1-mesa-dri libsoprano4 soprano-daemon
The following packages will be upgraded:
libphonon4 libqt4-designer libqt4-qt3support libqt4-script libqt4-webkit libqt4-xmlpatterns
libqtcore4 libqtgui4 phonon-backend-xine
9 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B/23.9MB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
WARNING: The following packages cannot be authenticated!
libqtcore4 libqtgui4 libphonon4 libqt4-script libqt4-designer libqt4-qt3support
libqt4-xmlpatterns libqt4-webkit phonon-backend-xine
Install these packages without verification [y/N]? y
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
(Reading database ... 69318 files and directories currently installed.)
Preparing to replace libqtcore4 4:4.6.2-1 (using ...//libqtcore4_4.6.2-1_i386.deb) ...
Unpacking replacement libqtcore4 ...
Preparing to replace libqtgui4 4:4.6.2-1 (using ...//libqtgui4_4.6.2-1_i386.deb) ...
Unpacking replacement libqtgui4 ...
Preparing to replace libphonon4 4:4.6.0really4.3.80-1 (using .../libphonon4_4.6.0really4.3.80-1_i386.deb) ...
Unpacking replacement libphonon4 ...
Preparing to replace libqt4-script 4:4.6.2-1 (using .../libqt4-script_4.6.2-1_i386.deb) ...
Unpacking replacement libqt4-script ...
Preparing to replace libqt4-designer 4:4.6.2-1 (using .../libqt4-designer_4.6.2-1_i386.deb) ...
Unpacking replacement libqt4-designer ...
Preparing to replace libqt4-qt3support 4:4.6.2-1 (using .../libqt4-qt3support_4.6.2-1_i386.deb) ...
Unpacking replacement libqt4-qt3support ...
Preparing to replace libqt4-xmlpatterns 4:4.6.2-1 (using .../libqt4-xmlpatterns_4.6.2-1_i386.deb) ...
Unpacking replacement libqt4-xmlpatterns ...
Preparing to replace libqt4-webkit 4:4.6.2-1 (using .../libqt4-webkit_4.6.2-1_i386.deb) ...
Unpacking replacement libqt4-webkit ...
Preparing to replace phonon-backend-xine 4:4.6.0really4.3.80-1 (using .../phonon-backend-xine_4.6.0really4.3.80-1_i386.deb) ...
Unpacking replacement phonon-backend-xine ...
Setting up libqtcore4 (4:4.6.2-1) ...
Setting up libqtgui4 (4:4.6.2-1) ...
Setting up libphonon4 (4:4.6.0really4.3.80-1) ...
Setting up libqt4-script (4:4.6.2-1) ...
Setting up libqt4-designer (4:4.6.2-1) ...
Setting up libqt4-qt3support (4:4.6.2-1) ...
Setting up libqt4-xmlpatterns (4:4.6.2-1) ...
Setting up libqt4-webkit (4:4.6.2-1) ...
Setting up phonon-backend-xine (4:4.6.0really4.3.80-1) ...
# LANG=C apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
libgettext-ruby1.8 libgl1-mesa-dri libsoprano4 soprano-daemon
The following packages will be upgraded:
libphonon4 libqt4-designer libqt4-qt3support libqt4-script libqt4-webkit libqt4-xmlpatterns
libqtcore4 libqtgui4 phonon-backend-xine
9 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B/23.9MB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
WARNING: The following packages cannot be authenticated!
libqtcore4 libqtgui4 libphonon4 libqt4-script libqt4-designer libqt4-qt3support
libqt4-xmlpatterns libqt4-webkit phonon-backend-xine
Install these packages without verification [y/N]? y
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
(Reading database ... 69318 files and directories currently installed.)
Preparing to replace libqtcore4 4:4.6.2-1 (using ...//libqtcore4_4.6.2-1_i386.deb) ...
Unpacking replacement libqtcore4 ...
Preparing to replace libqtgui4 4:4.6.2-1 (using ...//libqtgui4_4.6.2-1_i386.deb) ...
Unpacking replacement libqtgui4 ...
Preparing to replace libphonon4 4:4.6.0really4.3.80-1 (using .../libphonon4_4.6.0really4.3.80-1_i386.deb) ...
Unpacking replacement libphonon4 ...
Preparing to replace libqt4-script 4:4.6.2-1 (using .../libqt4-script_4.6.2-1_i386.deb) ...
Unpacking replacement libqt4-script ...
Preparing to replace libqt4-designer 4:4.6.2-1 (using .../libqt4-designer_4.6.2-1_i386.deb) ...
Unpacking replacement libqt4-designer ...
Preparing to replace libqt4-qt3support 4:4.6.2-1 (using .../libqt4-qt3support_4.6.2-1_i386.deb) ...
Unpacking replacement libqt4-qt3support ...
Preparing to replace libqt4-xmlpatterns 4:4.6.2-1 (using .../libqt4-xmlpatterns_4.6.2-1_i386.deb) ...
Unpacking replacement libqt4-xmlpatterns ...
Preparing to replace libqt4-webkit 4:4.6.2-1 (using .../libqt4-webkit_4.6.2-1_i386.deb) ...
Unpacking replacement libqt4-webkit ...
Preparing to replace phonon-backend-xine 4:4.6.0really4.3.80-1 (using .../phonon-backend-xine_4.6.0really4.3.80-1_i386.deb) ...
Unpacking replacement phonon-backend-xine ...
Setting up libqtcore4 (4:4.6.2-1) ...
Setting up libqtgui4 (4:4.6.2-1) ...
Setting up libphonon4 (4:4.6.0really4.3.80-1) ...
Setting up libqt4-script (4:4.6.2-1) ...
Setting up libqt4-designer (4:4.6.2-1) ...
Setting up libqt4-qt3support (4:4.6.2-1) ...
Setting up libqt4-xmlpatterns (4:4.6.2-1) ...
Setting up libqt4-webkit (4:4.6.2-1) ...
Setting up phonon-backend-xine (4:4.6.0really4.3.80-1) ...
#
Apt complains about the signature, because my local repository is not signed.
The error message about locales disappear, if I do not use LANG=C.
Qt packages of the same version are in my local repository (where I test) and
in experimental, but I expect this not to be a problem, since same versions
can also occur e.g. in testing and unstable.
Aptitute shows the same problem:
# aptitude safe-upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Status-Informationen einlesen... Fertig
Lese erweiterte Statusinformationen
Initialisiere Paketstatus... Fertig
Löse Abhängigkeiten auf ...
Löse Abhängigkeiten auf ...
Löse Abhängigkeiten auf ...
Die folgenden NEUEN Pakete werden zusätzlich installiert:
libdrm-radeon1{a} libiodbc2{a} liblocale-ruby1.8{a} libruby{a}
Die folgenden Pakete werden aktualisiert:
libgettext-ruby1.8 libgl1-mesa-dri libphonon4 libqt4-designer libqt4-qt3support libqt4-script
libqt4-webkit libqt4-xmlpatterns libqtcore4 libqtgui4 libsoprano4 phonon-backend-xine
soprano-daemon
Die folgenden Pakete werden EMPFOHLEN, aber NICHT installiert:
qt4-qtconfig
13 Pakete aktualisiert, 4 zusätzlich installiert, 0 werden entfernt und 0 nicht aktualisiert.
Muss 16,0MB/39,9MB an Archiven herunterladen. Nach dem Entpacken werden 1.024B frei werden.
Wollen Sie fortsetzen? [Y/n/?]
Dpkg shows them as installed:
# LANG=C dpkg -l libqt4-designer
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===================-===================-======================================================
ii libqt4-designer 4:4.6.2-1 Qt 4 designer module
Packages are not already in the local apt archive:
# ls /var/cache/apt/archives/|grep libqt4-designer
# apt-cache policy libqt4-designer
libqt4-designer:
Installiert: 4:4.6.2-1
Kandidat: 4:4.6.2-1
Versions-Tabelle:
4:4.6.2-1 0
1 http://ftp.de.debian.org experimental/main Packages
4:4.6.2-1 0
500 file: ./ Packages
*** 4:4.6.2-1 0
100 /var/lib/dpkg/status
4:4.5.3-4 0
500 http://ftp.de.debian.org testing/main Packages
50 http://ftp.de.debian.org unstable/main Packages
4.4.3-1+lenny1 0
500 http://security.debian.org stable/updates/main Packages
4.4.3-1 0
500 http://ftp.de.debian.org stable/main Packages
If I remove either my local or the experimental deb-line (or both), it works
fine. This looks very similar to reports of old apt versions, like #351056,
except I use the current testing/squeeze version.
Please let me know, if I can test or help otherwise.
Thanks,
Sten
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "no";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
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::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";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/apt-listbugs apt || exit 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
-- /etc/apt/preferences --
Package: *
Pin: release a=unstable
Pin-Priority: 50
-- /etc/apt/sources.list --
# stable repository
deb http://ftp.de.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.de.debian.org/debian/ stable main contrib non-free
# stable security updates repository
deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main contrib non-free
# stable volatile repository
deb http://volatile.debian.org/debian-volatile stable/volatile main contrib non-free
deb-src http://volatile.debian.org/debian-volatile stable/volatile main contrib non-free
# testing repository
deb http://ftp.de.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.de.debian.org/debian/ testing main contrib non-free
# unstable repository
deb http://ftp.de.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free
# experimental repository
deb http://ftp.de.debian.org/debian/ experimental main contrib non-free
deb-src http://ftp.de.debian.org/debian/ experimental main contrib non-free
# local repository
deb file:/var/www/deb-testing ./
deb-src file:/var/www/deb-testing ./
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt depends on:
ii debian-archive-keyring 2009.01.31 GnuPG archive keys of the Debian a
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.2-9 GCC support library
ii libstdc++6 4.4.2-9 The GNU Standard C++ Library v3
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none> (no description available)
pn aptitude | synaptic | wajig <none> (no description available)
ii bzip2 1.0.5-4 high-quality block-sorting file co
ii dpkg-dev 1.15.5.6 Debian package development tools
ii lzma 4.43-14 Compression method of 7z format in
pn python-apt <none> (no description available)
-- no debconf information
Reply to: