package management begins to annoy me



I use Debian testing on 2 desktop machines and a notebook, the oldest
of them is 4-5 years old. While in the begining I found apt-get and
dpkg quite usable (but didn't like dselect), now aptitude tends more
and more to annoy me, for several reasons. Maybe, and I hope so, this
is only because i don't know apt-get and aptitude well enough.

1. aptitude has the nice feature of marking packages that are install
automatically, qhich I always missed in apt-get. But every once in
a while I check the installed package with

aptitude search . | grep ^i

(BTW, is there a simpler way to do this?) and I quite often see
installed packages, which are not marked 'A' for automatically
installed but which I definitely know I have never installed
manually. Unfortunately, I currently don't have examples at hand.

2. Every 1-2 months or so I do a

aptitude update && aptitude -R safe-upgrade

but more and more often I see aptitude wanting to bloat my
installation of currently roughly 2 GB by another 400 or 500 MB by
installing hundreds of new packages. My suspect is that
increasingly many packages have broken dependencies and want to
pull in quite a lot of other packages which they really shouldn't
depend on.

However, I don't know for sure concrete examples for this, except
that 2+ years ago, I wanted to upgrade the already installed CD
ripper grip by running

aptitude install grip

and this insisted on installing almost the complete cups system. I
found this completely broken since I don't had a printer at all and
you can use grip quite well without printing.

3. On a Debian testing system at work, where I haven't upgraded for
maybe 3-4 months I ran

aptitude -R safe-upgrade

which caused aptitude to run for an hour generating thousands of
messages about resolving open/closed/defered dependency conflicts
and then giving up. I was only able to upgrade package for package
explicitly for a couple dozen packages, then safe-upgrade worked
again.

4. On my notebook I have today safe-upgraded with -R (which caused an
increase of 140 MB to beof the installed size) and now the system
seems to be quite up-to-date. Nevertheless, I now have problems
installing new packages involving perl (like I have had several
times before). aptitude wants to upgrade perl, perl-base, and
perl-modules, then it detects some unmet dependencies

The following packages have unmet dependencies:
libglib-perl: Depends: perlapi-5.8.8 which is a virtual package.
libcompress-zlib-perl: Depends: perlapi-5.8.8 which is a virtual package.
libperl5.8: Depends: perl-base (= 5.8.8-12) but 5.10.0-19 is to be installed.
...

which it wants to resolve by removing

Remove the following packages:
abiword-gnome
cogito
git-core
gnome
gnome-office
libcompress-zlib-perl
libdigest-sha1-perl
libft-perl
libperl5.8

which I don't want to accept but all other following suggestions
aren't better. In the past, upgrading perl has also caused svk to
be removed, and I wasn't able to reinstall svk although I really
missed it.

5. Doing an

aptitude full-upgrade

seems to solve these problems with perl in 4. and upgrades perl to
the current version but it also wants to install 327 new packages
increasing disk usage by 675 MB:

76 packages upgraded, 327 newly installed, 21 to remove and 1 not upgraded.
Need to get 432MB of archives. After unpacking 675MB will be used.

which find quite expensive since I only want to upgrade, not
install a whole lot of unneeded packages. With apt-get it looks
the same.

So, am I doing something completely wrong here?


urs


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Apt Gone Mad?-Or Is It Me?-Expert Help Needed
    ... So tried to upgrade OO to 2.0 but Apt refused to do so. ... Aptitude doesn't show anything but Wajig shows unmet dependency for kdelibs-data. ... The following packages are unused and will be REMOVED: agsync arson barcode brahms cdda2wav cddb digikam digikamimageplugins gmessage guarddog guidedog hotswap-gui hotswap-text i2e id3v2 kbarcode kbear kbiff kdebase-dev kdirstat kile kimdaba klog klogic kmymoney2 knetfilter knutclient komba2 kover kprof kpsk krusader ksimus ksimus-boolean ksimus-datarecorder ksimus-floatingpoint ksocrat ksocrat-data kvdr kvirc kvirc-data kvirc-doc kwavecontrol kxmleditor lesstif2 libdynamite libimlib2-dev libkonq4-dev libmimedir liborange ... ChatagnierL-Home:/temp# wajig install openoffice.org Reading Package Lists... ...
    (Debian-User)
  • Re: sarge->etch upgrade hits dependency hell
    ... >> My first attempt was to try to upgrade aptitude first. ... >> huge numbers of deleted packages, and a huge number of packages to be ... > do apt-get remove and then install. ...
    (Debian-User)
  • How recover from aborted dist-upgrade Stable to Testing (due to apt-listbug bug 585448)
    ... I did aptitude update, aptitude upgrade, then converted my /etc/apt/sources.list ... [SNIP 71 lines] ... The following packages will be REMOVED: ... A package failed to install. ...
    (Debian-User)
  • Re: [opensuse] Architecture switch 32->64 bit (i386 to x86-64)
    ... A "simple" upgrade with Yast from 10.3 installmedia leads to lots of dependency problems when resolving the packages. ... I wanted to get my kernel to 64-bits. ... One rpm line shows 55 rpm packages I had to install at same ...
    (SuSE)
  • Re: Preupgrade fc14 to fc15 failed, kernel is not installed
    ... So at least most fc15 packages have installed. ... Let's find out if the proper kernel got installed. ... And then we'll try and figure out how to install ... essentially finish the upgrade by updating all of the remaining ...
    (Fedora)