Re: Aptitude and apt-get curiosity.....
On Tuesday 05 April 2011 23:35:08 Charlie wrote:
> Trying to satisfy a curiosity.
>
> I upgrade my Debian Wheezy system with aptitude and it upgrades all but
> one application file.
>
> Redo: "aptitude update" and it shows that file hangs around for
> several days and doesn't get upgraded when I do aptitude
> "safe-upgrade" after "aptitude update" each time day after day.
>
> So I do apt-get update and apt-get upgrade and the file is upgraded.
>
> Why does aptitude just ignore it again and again and apt-get upgrade it?
You are telling aptitude to run safe-upgrade. You are telling apt-get to
upgrade. They are not the same thing. You may have had something installed
that conflicted with the new package, and you told aptitude that it mustn't
remove anything. I know very little about apt-get, but according to Aaron,
who clearly does know about it, apt-get upgrade is equivalent to aptitude
full-upgrade. So apt-get upgrade presumably removed something and was able
to upgrade; aptitude didn't and couldn't.
You just need to remember that, in effect, if you run aptitude safe-upgrade
you are telling aptitude that it mustn't remove anything. This restriction
may mean that it can't upgrade.
HTH,
Lisi
Reply to: