Best practices: updating Trisquel
- Inicie sesión ou rexístrese para enviar comentarios
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.
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.
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?
I understand but I still want to keep gnome-tweak-tool, is there a way to keep one package and remove the other packages?
Reinstall gnome-tweak-tool after autoremove.
It doesn't make sense to me but it works :-)
Thanks!
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.
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).
- Inicie sesión ou rexístrese para enviar comentarios