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

Re: Aptitude and apt-get curiosity.....



On Wed, 6 Apr 2011 15:58:05 -0600
Aaron Toponce <aaron.toponce@gmail.com> wrote:

> On Wed, Apr 06, 2011 at 08:35:08AM +1000, Charlie wrote:
> > 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?
> 
> 'apt-get upgrade' is synonymous with 'aptitude full-upgrade'. Had you
> run 'aptitude why-not <package>' you likely would have received the
> answer on why aptitude was refusing to update it. Generally, when
> I've seen this, it is because it relies on a dependency version that
> you don't have, so it waits until that comes down the pipe.
> 
> Either way, not to be a dick and suggest you RTFM, but you really
> should RTFM. :)

Thanks for that. I have a few aptitude commands noted and thanks to
Camaleón have also noted the one above.

What interested me, if you are correct, was that aptitude thought there
were missing dependencies and apt-get did not. Like I say, I have had
this happen a few times, and when aptitude didn't upgrade the package,
apt-get did and nothing was broken after it was done.

I did read about aptitude "full-upgrade" but thought it might just do
some damage, according to the man page. I did however, as you kindly
point out, miss the "why - why not" command though.

Thanks for your help.
Charlie
-- 
Registered Linux User:- 329524
***********************************************

Winter having come, the crows perch on the scarecrow. ----- KIKAKU

***********************************************

Debian GNU/Linux - just the best way to create magic

-----------------------------------------------------


Reply to: