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

Bug#454631: apt-get ignores already installed packages when trying to satisfy dependancy



Package: apt
Version: 0.7.9
Severity: normal

I attempted to install gedit 2.20.4-1 as follows

palfrey@kriek:[~] sudo  apt-get -o Debug::pkgProblemResolver=yes -s install gedit=2.20.4-1 gedit-common=2.20.4-1 libgtksourceview2.0-0=2.0.2-1 --no-remove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting
Starting 2
Investigating rarian-compat
Package rarian-compat has broken dep on scrollkeeper
  Considering scrollkeeper 21 as a solution to rarian-compat 9
  Removing rarian-compat rather than change scrollkeeper
Done
The following extra packages will be installed:
  gedit gedit-common libgtksourceview2.0-0 libgtksourceview2.0-common libscrollkeeper0 python-gtksourceview2 scrollkeeper
  zenity
Suggested packages:
  libgtksourceview2.0-dev
The following packages will be REMOVED:
  rarian-compat
The following NEW packages will be installed:
  gedit gedit-common libgtksourceview2.0-0 libgtksourceview2.0-common libscrollkeeper0 python-gtksourceview2 scrollkeeper
  zenity
0 upgraded, 8 newly installed, 1 to remove and 64 not upgraded.
E: Packages need to be removed but remove is disabled.

gedit has an unversioned scrollkeeper dependancy, which is also Provided
by rarian-compat (which was installed on the system already), and yet
apt-get decides that rarian-compat is broken and wants to remove rarian-compat
and install scrollkeeper rather than the simpler option of sticking to the 
installed program. WTF?

FYI, "apt-cache show rarian-compat" for the currently installed version
of that gives:

Package: rarian-compat
Priority: extra
Section: doc
Installed-Size: 328
Maintainer: Frederic Peters <fpeters@debian.org>
Architecture: i386
Source: rarian
Version: 0.6.0-1
Replaces: scrollkeeper
Provides: scrollkeeper
Depends: libc6 (>= 2.6.1-1), libgcc1 (>= 1:4.2.1), librarian0, libstdc++6 (>= 4.2.1)
Conflicts: scrollkeeper

Me, I'm not seeing a dependancy on scrollkeeper....

-- 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.*";
APT::Periodic "";
APT::Periodic::Update-Package-Lists "1";
APT::Get "";
APT::Get::Show-Upgraded "true";
APT::Default-Release "stable";
APT::Cache-Limit "181943904";
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";
aptitude "";
aptitude::Delete-Unused-Pattern "^linux-image.*$";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";

-- /etc/apt/preferences --

Package: *
Pin: release a=unstable
Pin-Priority: 102

Package: *
Pin: release a=experimental
Pin-Priority: 99

Package: *
Pin: release a=edgy
Pin-Priority: 98

Package: *
Pin: release a=feisty
Pin-Priority: 97

Package: *
Pin: release a=testing
Pin-Priority: 103

Package: *
Pin: release o=tevp
Pin-Priority: 990

Package: *
Pin: release o=jhdebuild
Pin-Priority: 98


-- /etc/apt/sources.list --

deb http://ftp.nl.debian.org/debian/ stable main non-free contrib 
deb-src http://ftp.nl.debian.org/debian/ stable main non-free contrib 
deb http://ftp.nl.debian.org/debian/ unstable main non-free contrib 
deb-src http://ftp.nl.debian.org/debian/ unstable main non-free contrib 
deb http://ftp.nl.debian.org/debian/ testing main non-free contrib 
deb-src http://ftp.nl.debian.org/debian/ testing main non-free contrib 
deb http://ftp.nl.debian.org/debian/ experimental main non-free contrib 
deb-src http://ftp.nl.debian.org/debian/ experimental main non-free contrib 

deb http://security.debian.org/ stable/updates main contrib non-free 

#media things
#deb http://www.debian-multimedia.org testing main
deb http://www.debian-multimedia.org sid main
#deb http://www.debian-multimedia.org experimental main

#java
#deb http://www.mirror.ac.uk/mirror/www.blackdown.org/mirrors/java-linux/debian/ testing non-free
#deb ftp://ftp.nl.linux.org/pub/linux/java/debian/ testing non-free
#deb http://www.mirror.ac.uk/mirror/www.blackdown.org/mirrors/java-linux/debian/ sid non-free
#deb http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/debian/ unstable main non-free 
#deb ftp://ftp.de.ug.nl/pub/os/Linux/java/jdk/debian/ unstable main non-free 

#deb http://archive.ubuntu.com/ubuntu/ breezy main restricted universe 
#deb-src http://archive.ubuntu.com/ubuntu/ warty main restricted universe 
#deb http://archive.ubuntu.com/ubuntu/ edgy main restricted universe 
#deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe 
#deb-src http://archive.ubuntu.com/ubuntu/ feisty main restricted universe 
#deb http://ftp.inf.tu-dresden.de/os/linux/dists/ubuntu dapper main restricted universe 
#deb-src http://archive.ubuntu.com/ubuntu/ dapper main restricted universe 
#deb-src http://ftp.inf.tu-dresden.de/os/linux/dists/ubuntu dapper main restricted universe 

deb file:///local/palfrey/src/debian/ testing/ 
deb file:///local/palfrey/src/debian/ unstable/ 
deb-src file:///local/palfrey/src/debian/ source/ 
#deb http://tevp.net/debian/ binary/

# xmms2
#deb http://exodus.xmms.se/debian stable main

# skype
deb http://download.skype.com/linux/repos/debian/ stable non-free

#deb file:///var/cache/pbuilder/ result/

#deb http://debian.o-hand.com unstable/

#deb http://debian.beryl-project.org/ etch main

#deb http://wine.budgetdedicated.com/apt edgy main
#deb http://wine.budgetdedicated.com/apt dapper main

# cross-compile
#deb http://debian.speedblue.org ./
#deb http://scratchbox.org/debian ./

# *very* experimental
deb http://jhdebuild.0d.be/ gnome-2.20 main
deb-src http://jhdebuild.0d.be/ gnome-2.20 main

#deb http://elisa.fluendo.com/packages sid main

# emdebian (for armeb toolchain)
#deb http://buildd.emdebian.org/debian/ unstable main
#deb-src http://www.emdebian.org/debian/ stable main

deb http://deb.opera.com/opera-beta/ sid non-free

-- System Information:
Debian Release: lenny/sid
  APT prefers stable
  APT policy: (990, 'stable'), (103, 'testing'), (102, 'unstable'), (99, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
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-3      GNU C Library: Shared libraries
ii  libgcc1                       1:4.2.2-4  GCC support library
ii  libstdc++6                    4.2.2-4    The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information




Reply to: