One thing I notice is how long it can take to delete some files after an update.
One in particular is "cpupower". It seems to take forever.
So I was curious about what was happening. I though deleting was a
matter of removing the inode.
It's updating the files in /var/lib/rpm that keep track of things like
which files
are owned by which package. Whichever package is last to be deleted in a transaction
will be the one that appears to be taking all of the time as it's
updating the files
for all of the packages in that transaction.
Regards, Dave Hodgins
The more kernels laying around the longer it takes
After saving the above in the text file, don't forget to mark it
executable.
Regards, Dave Hodgins
On 10/3/22 09:00, David W. Hodgins wrote:
After saving the above in the text file, don't forget to mark it
executable.
I see that it mentions virtualbox - a small complication.
I used to do it the hard way with MCC, listing all the kernels and
sorting carefully through the mess, triple quadruple checking.
Until I discovered MCC could list just the installed files - the moment
of stupid
$ urpmq -y latest|grep kernel|sort -u
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 368 |
Nodes: | 16 (2 / 14) |
Uptime: | 85:14:24 |
Calls: | 7,895 |
Calls today: | 1 |
Files: | 12,968 |
Messages: | 5,791,921 |