Questions about Debian package management
- From: Vilmos Soti <vilmos@xxxxxxx>
- Date: 20 Apr 2006 12:45:02 -0700
Hello,
At work we have a couple of sarge machines, and at home, I have
a machine running testing. I experience the same kind of problems
on both platforms. These events occurred over a span of a year.
They are related to aptitude.
So just today I did the usual apt-get update, and then I wanted to
upgrade. Among many packages, kdelibs-bin needed to be upgraded.
If I tried to upgrade it through aptitude, then I got this message:
----------------------------------------
The following packages depend on version 4:3.5.2-2 of kdelibs-bin,
and will be broken if it is upgraded.
* kdelibs4c2a depends on kdelibs-bin (= 4:3.5.2-2)
----------------------------------------
However, if I try to upgrade through "apt-get upgrade", then I get this:
my:~# apt-get upgrade....
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:....
kdelibs-bin kdelibs4c2a
2 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Why does apt-get upgrade kdelibs4c2a but aptitude does not?
Another problem.
We have a box at work (sarge), on which I installed a couple of
extra packages through aptitude or apt-get a couple of months ago.
They include daemontools (woody version), and the perl mysql dbi
package and dependencies. Last week my fellow sysadmin wanted to
ensure that this box had all the programs which were available on
another machine. He run aptitude->tasks->end_user->workstation
among other things. This totally screwed the machine. The following
things happened:
1. I couldn't log in remotely through ssh (I was on vacation). The
other sysadmin said that it seems that /dev/random and /dev/urandom
were missing. This wasn't a big deal (the machine is mostly used
for fileserving and a couple of tasks we want to run on the box
which hosts the files), so he waited for me.
2. When I got in on Wednesday, we couldn't log in through the
console, either. It just hanged, but nfs was working. I suspected
that somehow udev or something like that got screwed. I rebooted
the box (thanks God, Ctrl-Alt-Delete worked). The machine came up,
and /dev has 1594 entries, and grepping the process table for udev
returns nothing. What happened here? /var/log/messages mentioned
that /dev/console was missing. Something went really very wrong.
2. The perl modules to access mysql, and all packages it depends
upon including mysql-client, got uninstalled. Why?
3. Although this box is running sarge, I had to install the woody
version of daemontools (the sarge version doesn't work with nis).
This woody version got upgraded to the sarge version. I can
understand this, but not in the light of the perl mysql dbi
uninstallation.
Other problem.
On my testing box, I installed mplayer and mencoder through
apt-get. Immediately after, aptitude was adamant to delete
mencoder. Finally I let it do, and reinstalled mencoder through
aptitude. Why did this happen?
Another problem.
On my testing box, A while ago, aptitude was adamant to delete
gnome, kde, and X. Finally I let it go ahead, and reinstalled
everything through aptitude. Why did this happen?
Another problem.
On a sarge box, I uninstalled exim, and installed qmail. I did it
in separate steps: first uninstall exim and dependencies, then
install qmail and dependencies. In a separate step, then I installed
rt, and everything it needed. I didn't like the newest rt, and I
uninstalled it through aptitude. It removed mysql (ok, it was a
dependency), but also removed qmail and reinstalled exim. Why?
Another problem.
There is a list of packages which are kept back from upgrade on my
box running testing. Some of these packages are there for weeks or
months. Is this normal?
Sometimes I feel that aptitude takes a life on its own, and decides
that it knows better than I what I want. Anybody had similar
experiences with aptitude?
Thanks, Vilmos
.
- Follow-Ups:
- Re: Questions about Debian package management
- From: M
- Re: Questions about Debian package management
- From: John-Paul Stewart
- Re: Questions about Debian package management
- Prev by Date: Re: Memtest test suite
- Next by Date: Re: tar install permissions
- Previous by thread: tar install permissions
- Next by thread: Re: Questions about Debian package management
- Index(es):
Relevant Pages
|
|