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

Bug#798731: dpkg: broken dependency calculation when removing packages



On Tue, Sep 29, 2015 at 02:40:05AM +0200, Guillem Jover wrote:
> Control: reassign -1 apt
> 
> Hi!
> 
> On Sat, 2015-09-12 at 21:04:05 +0200, Branislav Zahradník wrote:
> > honestly, I have no idea where this bug exactly came from, but from behavior
> > it is issue in dependency resolution, which I guess is part of dpkg.
> 
> This is done by the frontend, in this case apt. If there is a bug at
> all here, then it might be there. But I'll leave the apt maintainers
> to decide. Leaving some context for their benefit.

Thanks, Guillem!

Answering:

> 
> > What I observed here is following scenario:
> > 
> > I had packages A (depends on B) and B installed.
> > removing B (probably via dependencies) results to: remove A B C (unwanted C)
> > removing A first, than B (two commands) -> C was not affected.

This is not what the examples show.

> 
> > On 09/12/2015 07:17 PM, Guillem Jover wrote:
> > >On Sat, 2015-09-12 at 04:19:30 +0200, Branislav Zahradnik wrote:
> > >>Package: dpkg
> > >>Version: 1.18.2
> > >>Severity: normal
> > >
> > >>I had a problem with removing some KDE packages, leading to remove gnome.
> > >>After rejecting this bug from gnome package maintainer I tried to find more
> > >>(ie, remove packages one by one)
> > >
> > >>I had following issue (with apt-get output):
> > >>
> > >>apt-get remove libkdeui5
> > >>The following extra packages will be installed:
> > >>   libkdecore5 libkdesu5 libkjsapi4 libkjsembed4 libkntlm4 libkpty4
> > >>The following packages will be REMOVED:
> > >>   libkdeui5 libkwineffects1abi5 libnepomuk4 libnepomukcore4 libnepomukquery4a
> > >>libnepomukutils4 liboktetagui4 libsendlater4
> > >>The following packages will be upgraded:
> > >>   libkdecore5 libkdesu5 libkjsapi4 libkjsembed4 libkntlm4 libkpty4
> > >>
> > >>then I removed "be REMOVED" packages in reversed order manually without getting
> > >>extra packages installed or upgraded.

I don't see any extra packages being installed. It just repeats the one from
upgrade.


> > >>
> > >>similar happen with:
> > >>apt-get remove libgpgme++2
> > >>The following extra packages will be installed:
> > >>   libreoffice-base-drivers
> > >>Suggested packages:
> > >>   libjtds-java libreoffice-mysql-connector libmyodbc libmysql-java
> > >>libsqliteodbc tdsodbc mdbtools
> > >>The following packages will be REMOVED:
> > >>   gnome libgpgme++2 libqgpgme1 libreoffice libreoffice-base libreoffice-
> > >>emailmerge libreoffice-evolution libreoffice-help-en-us libreoffice-java-common
> > >>libreoffice-officebean libreoffice-report-builder-bin libreoffice-sdbc-hsqldb
> > >>openoffice.org openoffice.org-evolution
> > >>   openoffice.org-help-en-us
> > >>The following packages will be upgraded:
> > >>   libreoffice-base-drivers


Same here.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Be friendly, do not top-post, and follow RFC 1855 "Netiquette".
    - If you don't I might ignore you.


Reply to: