Your message dated Thu, 13 Aug 2015 17:53:58 +0200 with message-id <20150813155357.GA17312@crossbow> and subject line Re: apt-get ignores already installed packages when trying to satisfy dependancy has caused the Debian Bug report #454631, regarding apt-get ignores already installed packages when trying to satisfy dependancy 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 owner@bugs.debian.org immediately.) -- 454631: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=454631 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: apt-get ignores already installed packages when trying to satisfy dependancy
- From: Tom Parker <debian@tevp.net>
- Date: Thu, 06 Dec 2007 19:46:09 +0100
- Message-id: <20071206184609.5880.17461.reportbug@kriek.st.ewi.tudelft.nl>
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
--- End Message ---
--- Begin Message ---
- To: 454631-done@bugs.debian.org
- Subject: Re: apt-get ignores already installed packages when trying to satisfy dependancy
- From: David Kalnischkies <david@kalnischkies.de>
- Date: Thu, 13 Aug 2015 17:53:58 +0200
- Message-id: <20150813155357.GA17312@crossbow>
- In-reply-to: <20071206184609.5880.17461.reportbug@kriek.st.ewi.tudelft.nl>
- References: <20071206184609.5880.17461.reportbug@kriek.st.ewi.tudelft.nl>
Hi, On Thu, Dec 06, 2007 at 07:46:09PM +0100, Tom Parker wrote: > 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? Writing a testcase based on this description: >>>>> #!/bin/sh set -e TESTDIR=$(readlink -f $(dirname $0)) . $TESTDIR/framework setupenvironment configarchitecture "i386" insertpackage 'unstable' 'gedit' 'all' '1' 'Depends: scrollkeeper' insertpackage 'unstable' 'scrollkeeper' 'all' '1' insertinstalledpackage 'rarian-compat' 'all' '1' 'Provides: scrollkeeper' setupaptarchive aptget install gedit -s <<<<< and running it: […] Reading package lists... Building dependency tree... The following NEW packages will be installed: gedit 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Inst gedit (1 unstable [all]) Conf gedit (1 unstable [all]) Shows that this was fixed in the meantime, so this bug can be closed which I am doing with this message. Feel free to reopen if you can still reproduce this! Best regards David KalnischkiesAttachment: signature.asc
Description: Digital signature
--- End Message ---