home | list info | list archive | date index | thread index

Re: Ubuntu LTS no longer updates Universe repository

rob [ at ] echlin [ dot ] ca wrote on 2023-03-05 15:05:

What I would like to do on each of my family's "3" Ubuntu boxes that are "All Different".

* Script or command to read the list of apps installed:

   * ignores all those installed as requirements

   * Ignores all those automatically installed

   * I think that the apt system tracks that info?

I typed up most of the following before Dianne jumped in, but I'll send it anyway - the "minimize-manual" may be helpful...


Possibly the following will help:

`apt-mark showmanual`

Might need to reduce the size of that list, as base setup flags some stuff as manual when it wasn't exactly manual as we'd expect:

`apt-mark minimize-manual`



* I can read and edit the list

* I can copy that list to various backup locations, like the other Ubuntu boxes, or email or whatever.

* I think I can create a script to re-install from the list

For multiple machines, Ansible or the like is probably better than `apt-mark` or `dpkg --get-selections` and trying to hack together something with the output.

IMHO.


rb


To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org