Page 1 of 1

Orphan - which to use?

PostPosted: Sep 29th, '24, 08:24
by James225
To check for orphan packages i have been reading and a little unsure which to use. I am using my old machine [32 bit] to test Mageia before i do a main install on my new PC.

As i am a former debian distro user i thought i would use rpmorphan which gave some unusual results. In debian i used deborphan [for which rpmorphan is an equivalent i gather] and occasionally had one or two orphans. Is rpmorphan u/s now?
rpmorphan gives
Code: Select all
libacr38u0
libalsa-plugins
libatomic1
libavahi-gobject0
libcamera0.0.3
libcanberra-gtk0
libcinnamon-desktop4
libcmark0.30.3
libcmis0.5_5
libdnf-lang
libetpan20
libgail3_0
libgnome-autoar0_0
libgnome-bluetooth-gir1.0
libgsl27
libgxps-tools
libinput-tools
liblo10k1_0
libmspack0
libnss-mdns2
liborcus0.17_0
libpeas-gtk1.0_0
libpeas1.0_0-loader-python3
libprotobuf32
libpst4
libquicktime-dv
libreoffice-calc
libreoffice-draw
libreoffice-help-en
libreoffice-impress
libreoffice-math
libreoffice-writer
libsasl2-plug-login
libvoikko1
libwpebackend-fdo1
libytnef0


another post i read suggested using rpm-find-leaves
rpm-find-leaves gives
Code: Select all
Xdialog
acpi
acpid
alsa-sof-firmware
aoss
apmd
atmel-firmware
b43-fwcutter
b43-openfwwf
basesystem
bind-utils
bluez-tools
bpalogin
busybox-static
caribou-gtk3
cdrkit
chrony
clonezilla
compface
davfs2
deluge
drakx-finish-install
drakx-installer-binaries-probe
dump
dvb-apps
dvbsnoop
dvbtune
dvd+rw-tools
earlyoom
efibootmgr
efivar
enchant2
exfatprogs
extundelete
f2fs-tools
fonts-bitmap-tscii
fonts-ttf-arabic-arabeyes
fonts-ttf-arabic-farsi
fonts-ttf-arabic-kacst
fonts-ttf-armenian
fonts-ttf-bengali
fonts-ttf-decoratives
fonts-ttf-ethiopic
fonts-ttf-kannada
fonts-ttf-lohit
fonts-ttf-malayalam
fonts-ttf-tamil
fonts-ttf-thai
fonts-ttf-tibetan-ttmuni
fonts-ttf-tifinagh
fonts-ttf-tscii
fonts-ttf-west_european
fonts-type1-greek
fonts-type1-hebrew
fsarchiver
galculator
gnome-bluetooth
gparted
gpg-pubkey
gpicview
gpm
grub2-mageia-theme
harddrake
hdparm
hexchat
hfsutils
hso-rezero
hypervfcopyd
hypervkvpd
hypervvssd
hyphen-af
ibus-anthy
ibus-chewing
ibus-hangul
ibus-libpinyin
ibus-m17n
ibus-table-cangjie
ibus-table-cantonese
ibus-table-wubi
icewm-light
info
ipw2100-firmware
ipw2200-firmware
irqbalance
iwlwifi-3945-ucode
iwlwifi-4965-ucode
jfsutils
kernel-desktop586-latest
keychain
krb5-appl-clients
ldetect
libacr38u0
libalsa-plugins
libatomic1
libavahi-gobject0
libcamera0.0.3
libcinnamon-desktop4
libcmark0.30.3
libcmis0.5_5
libetpan20
libgail3_0
libgnome-autoar0_0
libgnome-bluetooth-gir1.0
libgsl27
liblo10k1_0
libmspack0
liborcus0.17_0
libpeas-gtk1.0_0
libprotobuf32
libpst4
libreoffice-calc
libreoffice-draw
libreoffice-impress
libreoffice-math
libreoffice-writer
libsasl2-plug-login
libvoikko1
libwpebackend-fdo1
libytnef0
mageia-gfxboot-theme
man-pages
mandi-ifw
mc
microcode_ctl
mkxauth
mousetweaks
mythes-eo
nano
net-snmp
networkmanager-applet
nfs-utils
open
packagekit-gstreamer-plugin
patch
pcmciautils
pcsc-lite
perl-Encode-HanExtra
perl-MIME-tools
perl-Text-CSV_XS
perl-Text-Iconv
perl-XML-SimpleObject
photorec
pidgin
plocate
ppp-pppoatm
python3-setproctitle
quota
reiserfsprogs
remove-old-kernels
rng-utils
rp-pppoe
rpmorphan
rsync
sharutils
shorewall-ipv6
sound-juicer
sound-scripts
soundconverter
soundwrapper
speedtouch-firmware
strace
task-codec-audio
task-codec-video
task-printing-scanning
task-xfce
testdisk
tmpwatch
tree
upower
wmctrl
x11-driver-video-vboxvideo
x11-font-cyrillic
x11-font-misc-ethiopic
xdm
xfburn
xfce4-places-plugin
xorg-x11-75dpi-fonts
yumex-dnf
zcip
zd1211-firmware


The other package to use i gather is urpme --auto-orphan
urpme --auto-orphan gives
Code: Select all
writing /var/lib/rpm/installed-through-deps.list
To satisfy dependencies, the following 65 packages will be removed (244MB):
 
(orphan packages)
  bluez-tools-0.2.0-0.git20201025.1.mga9.i586
  compface-1.5.2-19.mga9.i586
  enchant2-2.3.3-2.mga9.i586
  fpaste-0.4.3.0-1.mga9.noarch
  gnome-desktop-44.0-1.mga9.i586
  hyperv-daemons-license-0.20150702git-6.mga9.noarch
  hypervfcopyd-0.20150702git-6.mga9.i586
  hypervkvpd-0.20150702git-6.mga9.i586
  hypervvssd-0.20150702git-6.mga9.i586
  hyphen-af-0-0.4.20080714svn.9.mga9.noarch
  kernel-desktop586-6.4.9-4.mga9.i586
  kernel-desktop586-6.6.43-1.mga9.i586
  kernel-desktop586-6.6.50-1.mga9.i586
  libacr38u0-1.7.11-10.mga9.i586
  libatomic1-12.3.0-3.mga9.i586
  libavahi-gobject0-0.8-10.1.mga9.i586
  libcamera0.0.3-0.0.3-1.mga9.i586
  libcinnamon-desktop4-5.6.1-1.mga9.i586
  libcmark0.30.3-0.30.3-2.mga9.i586
  libcmis0.5_5-0.5.2-13.mga9.i586
  libcompface1-1.5.2-19.mga9.i586
  libetpan20-1.9.4-6.mga9.i586
  libgnome-autoar0_0-0.4.4-1.mga9.i586
  libgnome-bluetooth-gir1.0-3.34.5-2.mga9.i586
  libgnome-bluetooth13-3.34.5-2.mga9.i586
  libgnome-desktop3_20-44.0-1.mga9.i586
  libgnomekbd-common-3.28.1-1.mga9.i586
  libgnomekbd8-3.28.1-1.mga9.i586
  libgsl27-2.7.1-1.mga9.i586
  libgslcblas0-2.7.1-1.mga9.i586
  libhfstospell11-0.5.3-2.mga9.i586
  libixion0.17_0-0.17.0-5.mga9.i586
  liblo10k1_0-1.2.5-2.mga9.i586
  libmspack0-0.11-0.alpha.1.mga9.i586
  liborcus0.17_0-0.17.2-5.mga9.i586
  libprotobuf32-3.21.12-5.mga9.i586
  libpst4-0.6.76-7.mga9.i586
  libsasl2-plug-login-2.1.27-7.mga9.i586
  libvoikko1-4.3.1-4.mga9.i586
  libwpe1-1.14.1-1.mga9.i586
  libwpebackend-fdo1-1.14.2-1.mga9.i586
  libxapp-gir1.0-2.6.1-1.mga9.i586
  libxapp1-2.6.1-1.mga9.i586
  libxkbregistry0-1.5.0-1.mga9.i586
  libytnef0-2.0-1.mga9.i586
  multiarch-utils-1.0.15-1.mga9.noarch
  mythes-eo-0.20180330-3.mga9.noarch
  net-snmp-5.9.3-2.1.mga9.i586
  net-snmp-utils-5.9.3-2.1.mga9.i586
  pcsc-lite-1.9.9-1.1.mga9.i586
  perl-Convert-BinHex-1.125.0-5.mga9.noarch
  perl-Encode-HanExtra-0.230.0-29.mga9.i586
  perl-JSON-4.100.0-1.mga9.noarch
  perl-MIME-tools-5.5

I can only assume that urpme --auto-orphan is the better choice but 65 packages is a large number. The others came up with Libreoffice and packages which are installed. I wanted to use rpmdrake but the help file does not seem to work - a window opened and then disappeared. In debian with synapic one could set a filter for orphaned packages but i can't see how to do that in rpmdrake. I am surprised that urpme --auto-orphan brought up so many packages when i haven't installed any and just have the standard xfce installation at present.

Perhaps the reported large number of orphans is that i have overlooked some issue so i would be grateful for advice.

Re: Orphan - which to use?

PostPosted: Sep 29th, '24, 10:43
by morgano
urpme --auto-orphan is the one to use - If needed!
orphan packages very seldom do any harm to leave in.
That said I use to exercise it because i want to verify it works.
Normal user never need to care.

Leaves are packages that are not needed by any other package - * note they are often the applications that you need! *

Do read https://wiki.mageia.org/en/Removing_packages

Re: Orphan - which to use?

PostPosted: Sep 29th, '24, 14:47
by James225
a] yes i know but i like to check and see if there are any.

b] thanks for explaining about leaves. I still don't see why rpmorphan doesn't work as it is on most rpm distros.

c] I did read it but i find it 'heavy'. To have over 60 orphans is something i have never had before. I only had 1-4 in the past and usually just the headers that one will get with an update. I've used urpme --auto-orphan now and just hope is fine.

removed quote. ~Germ