Kernels galore and no NVIDIA driver in sight
Keith
keithw at caramail.com
Tue Dec 24 20:49:09 UTC 2024
On 12/24/24 11:38 AM, Little Girl wrote:
[snipped]
>
> I plan to. I haven't run it yet and figured I'd check with you on
> these files that will also be removed by that command and don't seem
> to have anything to do with NVIDIA. There's no harm in losing these?
>
> Purg libasound2-plugins:i386
> Purg libglib2.0-0:i386
> Purg libkf5akonadicontact-data
> Purg libkf5calendarcore5abi2
> Purg libkf5grantleetheme5
> Purg libpulse0:i386
> Purg steam:i386
These are packages that were removed either directly by you, or by the
removal of one or more of their dependencies leaving their config files
on the system. Dpkg will allow you see the files left over.
$ dpkg -L steam:i386
Assuming you don't need them anymore then there's no harm in removing them.
>
>> It shouldn't be necessary to run it after this one time if you start
>> using "autoremove --purge"
>
> Good to know and I plan on it.
>
>> $ sudo apt update && sudo apt full-upgrade --autoremove --purge
>
> Using that as a jumping-off point, since I want to keep the potential
> reboot in there, this is what I currently have that I plan on running
> regularly after the initial "sudo apt purge ~c" command that will
> be run once first after hearing back from you on the questionable
> files above:
>
> 1. Fetch updates: sudo apt update && sudo apt full-upgrade && snap refresh
Have created a login for snapd? If you haven't, then the "snap refresh"
command will fail because it needs sudo to upgrade any snaps.
Alternatively the following will do what you want with one invocation of
sudo.
$ sudo bash -c 'apt update && apt full-upgrade && snap refresh'
> 2. Reboot if prompted.
> 3. Tidy up: sudo apt autoremove --purge && sudo apt clean
>
> Does that seem like a solid future routine?
>
Yeah if it works for you. I prefer letting the system as its set up to
do as much of the package maintenance automatically, so I don't have a
particular routine that I regularly follow.
I would note that apt doesn't default to caching downloaded packages
after they've been installed, so "apt clean" seems a bit superfluous.
--
Keith
More information about the ubuntu-users
mailing list