Message: previous - next
Month: December 2014

Re: [trinity-devel] Package renames and autoremove

From: Michele Calgaro <michele.calgaro@...>
Date: Thu, 11 Dec 2014 18:47:03 +0900
On 2014/12/11 05:37 PM, Mike Bird wrote:
> On Wed December 10 2014 20:03:33 Michele Calgaro wrote:
>> In the installation instructions for Debian/Ubuntu, it is recommended to
>> use aptitude instead of apt-get to upgrade.
>> It seems that using apt-get does not resolve all dependencies correctly
>> (see bug 2245 on bugszilla).
>> Do you have a change to retry using aptitude?
> I would not recommend either apt-get or aptitude over the other as
> one is worse in some cases and the other is worse in other cases.
> Aptitude is maybe a bit smarter than apt-get and tends to autoremove
> automatically which is a separate step with apt-get.
> With a without-recommends standard install of upgrade
> to R14 R2 aptitude avoids the conflict mentioned in bug 2245
> because aptitude autoremoves kdebase-kio-plugins-trinity during
> the dist-upgrade, along with autoremoving roughly 47 other packages
> that would be a separate step with apt-get.
> When you try to purge the remaining roughly 15 dummy packages with
> aptitude it is smart enough to figure out on its own that kde-trinity
> and kde-core-trinity need to be removed ... but then you're in the
> same position as with apt-get - most of Trinity is autoremoved.
> //
> The above considered only a standard install.  Let's now compare
> apt-get versus aptitude in the case of a small install
> of just "kdm-trinity kdevelop-trinity" along with their depends
> but not their recommends.
> With apt-get after the dist-upgrade some but not all of the
> dummy packages are amenable to autoremove.  Purging the remaining
> dummy packages results in the entire Trinity install becoming
> autoremovable.
> With aptitude the dist-upgrade proceeds as with apt-get except
> most of the dummy packages are autoremoved during the dist-upgrade.
> The only two remaining dummy packages are kdm-trinity and
> kdevelop-trinity.  When aptitude is told to purge these two the
> entire Trinity install is autoremoved.
> //
> My guess is that the transition packages should somehow transfer
> their manual/auto state to the new packages but I don't know a
> clean way of doing this.
> --Mike
Hi Mike,
I haven't (yet) tried an upgrade from to r14.0.0 myself (I will 
have to test on a VM sometime next week), but when you are going for the 
dummy package removal, I suggest you try this: run aptitude in 
interactive mode, select the dummy packages to remove, press 'g'. You 
will have a screen with a summary of what packages are going to be 
removed, which most likely will include most of TDE packages (based on 
your mail) as "autodependency (A)". Mark tdebase, tdelibs and all other 
"general" tde packages as "keep". This should possibly keep most of TDE 
installed, while allowing you to remove those dummy packages.

Having said that, I am going to try a similar upgrade as well, sometime 
next week. If I find better ways, I will let you know.