Warning --auto-orphans will remove cups-filters

omlx-303
omlx-3.0
omlx-302
Tags: #<Tag:0x00007ff2b6819218> #<Tag:0x00007ff2b68190b0> #<Tag:0x00007ff2b6818f70>

(Ben Bullard) #1

Just a warning that during some update you might see:

computing unrequested orphans
writing /var/lib/rpm/installed-through-deps.list

The following packages:
  bc-1.07.1-1-omv2015.0.x86_64
  cups-filters-1.20.3-2-omv2015.0.x86_64
  lib64cupsfilters1-1.20.3-2-omv2015.0.x86_64
  lib64fontembed1-1.20.3-2-omv2015.0.x86_64
  lib64qpdf13-5.1.2-6-omv2015.0.x86_64
  poppler-0.64.0-1-omv2015.0.x86_64
are now orphaned, if you wish to remove them, you can use "urpme --auto-orphans"

If you remove those packages it will break printing for you. Here’s a trick: just run urpmi on all that aren’t lib packages like this and note what it says:

# urpmi lib64cupsfilters1 cups-filters bc poppler
Packages lib64cupsfilters1-1.20.3-2-omv2015.0.x86_64, cups-filters-1.20.3-2-omv2015.0.x86_64, bc-1.07.1-1-omv2015.0.x86_64, poppler-0.64.0-1-omv2015.0.x86_64 are already installed
Marking lib64cupsfilters1 as manually installed, it won't be auto-orphaned
Marking cups-filters as manually installed, it won't be auto-orphaned
Marking bc as manually installed, it won't be auto-orphaned
Marking poppler as manually installed, it won't be auto-orphaned
writing /var/lib/rpm/installed-through-deps.list

and now:

# urpme -v --auto-orphans
getting lock on urpmi
computing unrequested orphans
No orphans to remove
unlocking urpmi database

Here’s what happened. I did include one lib package lib64cupsfilters1. urpmi did not install anything because they are all ready installed. It just marked the selected packages as manually installed so the won’t be --auto-orphaned. The other packages in the list will not be removed either because they are dependencies of the “marked as manually installed packages”.

Hope this helps someone someday.

:hear_no_evil::see_no_evil::speak_no_evil: