Am 18. Sep, 2017 schwätzte Matt Graham so:
On 2017-09-18 11:00, der.hans wrote:
one of my Ubuntu systems has a bunch of /boot/initrd files for kernels
that have been removed.
I believe initrd is generated at kernel package install time ( and
probably regenerated if certain packages such as firmware are updated ),
so removing the old initrd files won't bork package management. It's been
a while since I've reviewed specifics, so no idea if things have changed.
'dpkg -S ínitrd' doesn't reveal any package ownership for initrd files at
all.
'apt-cache search initrd' doesn't bring up anything useful for this.
'dpkg -L' on a kernel package doesn't reveal any initrd files.
[...]
Purging a kernel that was installed did get rid of the initrd for that
kernel, so maybe it's matter of reinstalling the old kernels and purging
them, except that there isn't room to install anything because the initrds
have filled /boot...
Move the old initrds to somewhere that has more space, then reboot and see if
anything breaks? dpkg saying that the files are not owned by anything sounds
reasonable if they're built dynamically.
Yeah, should totally work, just been a while since I looked at the innards
of those packages.
ciao,
der.hans
--
# https://www.LuftHans.com https://www.PhxLinux.org
# An architect who does not believe in privacy may also lack faith
# in keeping out the rain" -- John M. Ford, Growing Up Weightless
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss