From Newsgroup: alt.os.linux.mageia
On Mon, 09 Jun 2025 22:53:11 -0400, faeychild <
faeychild@nomail.afraid.org> wrote:
I have allowed the current update which included a new kernel
Then I ran the remove old kernel tool and got the orphan message
Often wondered if orphan removal has ever blown up.
Stupidly I still don't have a backup... I know I know
As root run "urpme --test --auto-orphans >/root/orphan.list.txt 2>&1".
Whether you reply yes or no to end the command doesn't matter as the --test option will stop
it from doing anything.
Open the list in a text editor. If the list includes any packages that do not start with lib or it
includes libreoffice, then review those packages and manually copy/paste the each one you
want to keep into a urpmi command.
So if the list includes libreoffice, run "urpmi libreoffice". Since the package is already installed,
all it will do is mark the package as having been manually installed, which means it will never
be included in the orphans list again.
After that run the urpme --test command again to update the orphan.list.txt file. When you
are sure all of the orphans are lib packages or packages you no longer need, then you
can run "urpme --auto-orphans" without the --test option and reply yes when asked if you
are sure.
Alternatively, if have lots of space available in the file system containing /usr, ignore the
orphans list.
Regards, Dave Hodgins
--- Synchronet 3.21d-Linux NewsLink 1.2