Bug#470115: apt-get: install with -t testing is fine, gets removed by update without flag
Package: apt
Version: 0.7.11
Followup-For: Bug #470115
Hello, maybe I have a simpler example of the same symptom.
sun-java6-* has made it only partially through the build daemons, so it
seems. It is not installable in unstable:
$ LANG=C sudo apt-get install sun-java6-jdk
[...]
The following packages have unmet dependencies:
sun-java6-jdk: Depends: sun-java6-jre (= 6-04-2) but 6-00-2 is to be
installed
E: Broken packages
The same just works nicely with -t testing set. aptitude actually
suggests this as a second solution.
After the seamless installation of the version from testing, dist-upgrade fails
to realise, that "old installation" is better than "no installation"
# LANG=C apt-get -u dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
sun-java6-bin sun-java6-jdk sun-java6-jre
The following packages have been kept back:
openoffice.org-l10n-de
0 upgraded, 0 newly installed, 3 to remove and 1 not upgraded.
After this operation, 125MB disk space will be freed.
Do you want to continue [Y/n]?
No, I don't, please.
Best,
Steffen
-- 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:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
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::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
#deb http://pc02.inb.uni-luebeck.de:9999/debian sid main contrib non-free
#deb http://pc02.inb.uni-luebeck.de:9999/debian testing main contrib non-free
#deb http://pc02.inb.uni-luebeck.de:9999/debian stable main contrib non-free
deb http://ftp.de.debian.org/debian experimental main contrib non-free
#deb http://mentors.debian.net/debian unstable main contrib non-free
#deb-src http://mentors.debian.net/debian unstable main contrib non-free
deb http://ftp.de.debian.org/debian sid main contrib non-free
deb http://ftp.de.debian.org/debian testing main contrib non-free
#deb http://ftp.de.debian.org/debian stable main contrib non-free
#deb-src http://ftp.de.debian.org/debian experimental main contrib non-free
deb-src http://ftp.de.debian.org/debian sid main contrib non-free
# Skype
deb http://download.skype.com/linux/repos/debian/ stable non-free
# OpenEV and other GIS
#deb http://pkg-grass.alioth.debian.org/debian-gis sid main non-free contrib
#deb-src http://pkg-grass.alioth.debian.org/debian-gis sid main non-free contrib
# Maven
#deb http://people.debian.org/~mkoch/maven2/ ./
# FSL MRI imaging library
#deb http://apsy.gse.uni-magdeburg.de/debian sid main non-free
# BioC
deb http://pkg-bioc.alioth.debian.org/debian/ ./
#deb-src http://pkg-bioc.alioth.debian.org/debian/ ./
# Translations
#deb http://ddtp.debian.net/debian sid main
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt depends on:
ii debian-archive-keyring 2007.07.31 GnuPG archive keys of the Debian a
ii libc6 2.7-9 GNU C Library: Shared libraries
ii libgcc1 1:4.3.0-2 GCC support library
ii libstdc++6 4.3.0-2 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
Reply to: