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

Re: Aptitude From Testing



On 2010-05-14 21:50 +0200, Boyd Stephen Smith Jr. wrote:

> On Friday 14 May 2010 14:36:44 Boyd Stephen Smith Jr. wrote:
>> Does it annoy anyone else that the 'aptitude' package no longer provides an
>> 'aptitude' binary?
>> 
>> Typing 'aptitude-curses' is a little annoying.  I'm assuming the rename is
>> because of work on aptitude-gtk and aptitude-qt.  If so, wouldn't using the
>> alternatives system for an 'aptitude' symlink make sense?
>
> I think I may have been hit by bug 575137.  I am using btrfs, and there were 
> some issues during the install, but I do not believe I have suffered any file 
> system corruption in the dpkg databse or the aptitude package.

That would be rather unlikely.  Make sure you use dpkg >= 1.15.7 before
proceeding.

> In particular, (debsums -a aptitude) reports all the files are in good 
> condition.  (update-alternatives --display aptitude) shows:
> No alternatives for aptitude.

That _is_ dpkg (or rather, u-a) database corruption…

> I initially installed 0.4.11.11-1~lenny1 on this system, but have since 
> upgraded to 0.6.1.5-3.  Is there a good way for me to establish an alternative 
> that will not mess up on the next upgrade?

Just reinstall aptitude, or run

update-alternatives --install /usr/bin/aptitude aptitude /usr/bin/aptitude-curses 30

Sven


Reply to: