Best practices: updating Trisquel

7 respostas [Última entrada]
ao
ao
Desconectado
Joined: 07/20/2017

Dear Trisquel users,

What is are best practices in updating Trisquel?

At the moment, what I do is:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo synaptic
# where I mark and apply all updates, then close synaptic
$ sudo apt-get autoremove
$ sudo apt-get autoclean
$ sudo apt-get autoremove

-

This has works for years now, but suddenly I get

$ sudo apt-get upgrade
The following packages are automatically installed and are now no longer necessary:
gnome-tweak-tool libmate-desktop-2-17 libwhoopsie-preferences0 libwhoopsie0
whoopsie whoopsie-preferences
Use 'sudo apt autoremove' to remove them.

What does automatically installed mean?

Thank you.

ao
ao
Desconectado
Joined: 07/20/2017

I cannot find a change button near my first message, so I post a new comment:

Please ignore the second
$ sudo apt-get autoremove

Thank you.

Narcis Garcia
Desconectado
Joined: 04/15/2019

This means that some old package depended on these. Maybe old package
was uninstalled, or maybe new version now is not depending on these.

Consequence is, if no software currently need these packages, they can
be removed.

El 4/8/19 a les 9:05, name at domain ha escrit:
> The following packages are automatically installed and are now no longer
> necessary:
>   gnome-tweak-tool libmate-desktop-2-17 libwhoopsie-preferences0
> libwhoopsie0
>   whoopsie whoopsie-preferences
> Use 'sudo apt autoremove' to remove them.
>
> What does automatically installed mean?

ao
ao
Desconectado
Joined: 07/20/2017

I understand but I still want to keep gnome-tweak-tool, is there a way to keep one package and remove the other packages?

loldier
Desconectado
Joined: 02/17/2016

Reinstall gnome-tweak-tool after autoremove.

ao
ao
Desconectado
Joined: 07/20/2017

It doesn't make sense to me but it works :-)

Thanks!

loldier
Desconectado
Joined: 02/17/2016

I think you can prevent it from being automatically removed using apt-mark. Manually installed packages should not be autoremoved.

https://www.computerhope.com/unix/apt-mark.htm

I've found it easier to reinstall in these cases.

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

Using the "Synaptic Package Manager" ("Reload", "Mark All Upgrades", and "Apply") or 'sudo apt update' and 'sudo apt upgrade' (with four characters less to type and a nicer interface than 'apt-get') should do the same. A third alternative is to configure the "Update Manager" to your desires and apply the updates when it notifies them.

You can execute 'sudo apt autoremove' and 'sudo apt autoclean' (or even 'sudo apt clean') from time to time. It has little to do with "updating" your system. It deals with freeing space on the system partition (removing dependencies that were installed but have become useless; removing the packages that are usually useless once installed).