Dear Salvo,
Carsten Schoenert:
> On Sun, Feb 26, 2017 at 09:59:21AM +0100, Salvo Tomaselli wrote:
>> # LANG=C aptitude remove icedove-l10n-it:all
>> The following packages will be REMOVED:
>> icedove-l10n-it thunderbird-l10n-it{u}
>
> carsten@i5:~/gitprojects/icedove [debian/sid] $ LANG= sudo apt remove
> icedove-l10n-it
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following package was automatically installed and is no longer required:
> thunderbird-l10n-it
> Use 'sudo apt autoremove' to remove it.
> The following packages will be REMOVED:
> icedove-l10n-it
you are using 'aptitude remove' which removes not only the package
icedove-l10n-it, but also all packages which are marked as automatically
installed, in your case thunderbird-l10n-it. Since the debranding of
Icedove to Thunderbird, icedove-l10n-it depends on thunderbird-l10n-it,
so if you install icedove-l10n-it, thunderbird-l10n-it is automatically
installed.
So you are experiencing just the usual behaviour of aptitude, while apt
behaves in another way as Carsten showed.
BTW, be careful when aptitude wants to remove any package. You might
remove a package which you actually don't want to remove.
To work around this behaviour, you can mark a package which you want to
keep as "manually installed" by
# aptitude unmarkauto thunderbird-l10n-it
and similarly for other packages which you want to keep installed, see
the aptitude manual for further information.
So this bug can be closed.
Regards,
Viktor