urpmi --auto-orphans do not see all orphans

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

urpmi --auto-orphans do not see all orphans

Postby morgano » Feb 3rd, '14, 18:32

...is it as it should be, or some bug?

Example, I made a fresh mga4 install, added some packages, then i decide to try ndiswrapper, which pulls in 35 more packages with it (x86_64 nspluginwrapper-i386 plus 34 i586 lib* packages.)

Then I changed my mind and uninstall ndiswrapper, and intend to clean away the 35 files (and possibly more junk) by using urpmi --auto-orphans, but it can only clean away 10 files!?

Maybe there are circular dependencies between the libs, so urpme thinks they need each other.
But here is no application, only libraries, so i think urpmi could in future be made smarter and throw them out?

Am i thinking correct?

(leaving out all discussions wether it is needed to clean out packages at all)
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1462
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: urpmi --auto-orphans do not see all orphans

Postby wintpe » Feb 3rd, '14, 18:44

i would guess that not all those libraries are completly redundant , hence why there not being picked up.
--auto-orphans only removes stuff that has no use anywhere

so possible some of those libs have loose bindings to stuff like python, perl, ruby, gcc etc.

its only a guess since you have not posted the libraries you are talking about.

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: urpmi --auto-orphans do not see all orphans

Postby doktor5000 » Feb 3rd, '14, 18:51

wintpe wrote:--auto-orphans only removes stuff that has no use anywhere

Sorry but that is not correct, and that's the same false assumption most users follow. Please check again https://wiki.mageia.org/en/Removing_packages

@morgano:
If you don't provide more information nobody can tell. What was the exact urpmi command used, and of those packages which is currently inside /var/lib/rpm/installed-through-deps.list and what is the current output of urpmq --auto-orphans or urpme --auto-orphans ?

Also, proposals like "only libraries, so i think urpmi could in future be made smarter and throw them out?" please feel free to add that as a feature for Mageia 5, along with a description how to make urpmi smarter.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17983
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: urpmi --auto-orphans do not see all orphans

Postby morgano » Feb 3rd, '14, 21:08

OK maybe i was just saying my reflection out loud... I should of course read up on how it is supposed to work first, if i can find a specification... ;)
Code: Select all
[root@bamse kajsa]# urpmi nspluginwrapper
För att tillfredsställa beroenden kommer följande paket att installeras:
  Paket                          Version      Release       Arkitektur
(media "Core Release")
  nspluginwrapper                1.4.4        4.mga3        x86_64 
  nspluginwrapper-i386           1.4.4        4.mga3        x86_64 
(media "Core 32bit Release")
  libatk1.0_0                    2.10.0       2.mga4        i586   
  libcairo2                      1.12.16      2.mga4        i586   
  libcurl4                       7.34.0       1.mga4        i586    (föreslagen)
  libdatrie1                     0.2.6        2.mga4        i586   
  libgbm1                        10.0.2       1.mga4        i586   
  libgdk_pixbuf2.0_0             2.30.1       1.mga4        i586   
  libgio2.0_0                    2.38.2       4.mga4        i586   
  libgraphite2_3                 1.2.4        1.mga4        i586   
  libgtk+-x11-2.0_0              2.24.22      3.mga4        i586   
  libgtk+2.0_0                   2.24.22      3.mga4        i586   
  libharfbuzz0                   0.9.22       2.mga4        i586   
  libice6                        1.0.8        4.mga4        i586   
  libicu52                       52.1         2.mga4        i586   
  libidn11                       1.28         4.mga4        i586    (föreslagen)
  libjasper1                     1.900.1      15.mga4       i586   
  libmesaegl1                    10.0.2       1.mga4        i586   
  libmesaopenvg1                 10.0.2       1.mga4        i586   
  libnspr4                       4.10.2       1.mga4        i586    (föreslagen)
  libnss3                        3.15.4       1.mga4        i586    (föreslagen)
  liboxygen-gtk                  1.4.2        0.rc1.1.mga4  i586    (föreslagen)
  libpango1.0_0                  1.36.1       1.mga4        i586   
  libpango1.0_0-modules          1.36.1       1.mga4        i586   
  libpixman1_0                   0.32.4       1.mga4        i586   
  libsm6                         1.2.2        2.mga4        i586   
  libsqlite3_0                   3.8.0.2      2.mga4        i586    (föreslagen)
  libssh2_1                      1.4.3        3.mga4        i586    (föreslagen)
  libthai0                       0.1.19       2.mga4        i586   
  libwayland-client0             1.3.0        2.mga4        i586   
  libwayland-server0             1.3.0        2.mga4        i586   
  libxcb-render0                 1.9.1        2.mga4        i586   
  libxcb-shm0                    1.9.1        2.mga4        i586   
  libxcb-xfixes0                 1.9.1        2.mga4        i586   
  libxft2                        2.3.1        4.mga4        i586   
  libxt6                         1.1.4        3.mga4        i586   
46MB mera disk-utrymme kommer att bli använt.
12MB paket kommer att hämtas.
Fortsätt installationen av 36 paket? (J/n) J


    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libgdk_pixbuf2.0_0-2.30.1-1.mga4.i586.rpm
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libthai0-0.1.19-2.mga4.i586.rpm                       
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libharfbuzz0-0.9.22-2.mga4.i586.rpm                   
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libicu52-52.1-2.mga4.i586.rpm                         
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libgio2.0_0-2.38.2-4.mga4.i586.rpm                   
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libjasper1-1.900.1-15.mga4.i586.rpm                   
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libdatrie1-0.2.6-2.mga4.i586.rpm                     
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libgraphite2_3-1.2.4-1.mga4.i586.rpm                 
installerar libjasper1-1.900.1-15.mga4.i586.rpm libdatrie1-0.2.6-2.mga4.i586.rpm libgio2.0_0-2.38.2-4.mga4.i586.rpm libgraphite2_3-1.2.4-1.mga4.i586.rpm libgdk_pixbuf2.0_0-2.30.1-1.mga4.i586.rpm libthai0-0.1.19-2.mga4.i586.rpm libicu52-52.1-2.mga4.i586.rpm libharfbuzz0-0.9.22-2.mga4.i586.rpm från /var/cache/urpmi/rpms
Förbereder...                    #####################################################################################
     1/36: libicu52              #####################################################################################
     2/36: libgraphite2_3        #####################################################################################
     3/36: libgio2.0_0           #####################################################################################
     4/36: libdatrie1            #####################################################################################
     5/36: libjasper1            #####################################################################################
     6/36: libgdk_pixbuf2.0_0    #####################################################################################
     7/36: libthai0              #####################################################################################
     8/36: libharfbuzz0          #####################################################################################


    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libwayland-client0-1.3.0-2.mga4.i586.rpm
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libgbm1-10.0.2-1.mga4.i586.rpm                       
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libpixman1_0-0.32.4-1.mga4.i586.rpm                   
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libxcb-render0-1.9.1-2.mga4.i586.rpm                 
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libwayland-server0-1.3.0-2.mga4.i586.rpm             
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libxcb-xfixes0-1.9.1-2.mga4.i586.rpm                 
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libxcb-shm0-1.9.1-2.mga4.i586.rpm                     
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libmesaopenvg1-10.0.2-1.mga4.i586.rpm                 
installerar libxcb-render0-1.9.1-2.mga4.i586.rpm libpixman1_0-0.32.4-1.mga4.i586.rpm libgbm1-10.0.2-1.mga4.i586.rpm libwayland-client0-1.3.0-2.mga4.i586.rpm libmesaopenvg1-10.0.2-1.mga4.i586.rpm libxcb-xfixes0-1.9.1-2.mga4.i586.rpm libxcb-shm0-1.9.1-2.mga4.i586.rpm libwayland-server0-1.3.0-2.mga4.i586.rpm från /var/cache/urpmi/rpms
Förbereder...                    #####################################################################################
     9/36: libwayland-server0    #####################################################################################
    10/36: libwayland-client0    #####################################################################################
    11/36: libgbm1               #####################################################################################
    12/36: libxcb-shm0           #####################################################################################
    13/36: libxcb-xfixes0        #####################################################################################
    14/36: libmesaopenvg1        #####################################################################################
    15/36: libpixman1_0          #####################################################################################
    16/36: libxcb-render0        #####################################################################################


    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libatk1.0_0-2.10.0-2.mga4.i586.rpm
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libgtk+-x11-2.0_0-2.24.22-3.mga4.i586.rpm             
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libmesaegl1-10.0.2-1.mga4.i586.rpm                   
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libcairo2-1.12.16-2.mga4.i586.rpm                     
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libxft2-2.3.1-4.mga4.i586.rpm                         
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libpango1.0_0-modules-1.36.1-1.mga4.i586.rpm         
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libgtk+2.0_0-2.24.22-3.mga4.i586.rpm                 
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libpango1.0_0-1.36.1-1.mga4.i586.rpm                 
installerar libxft2-2.3.1-4.mga4.i586.rpm libcairo2-1.12.16-2.mga4.i586.rpm libmesaegl1-10.0.2-1.mga4.i586.rpm libgtk+-x11-2.0_0-2.24.22-3.mga4.i586.rpm libatk1.0_0-2.10.0-2.mga4.i586.rpm libpango1.0_0-1.36.1-1.mga4.i586.rpm libgtk+2.0_0-2.24.22-3.mga4.i586.rpm libpango1.0_0-modules-1.36.1-1.mga4.i586.rpm från /var/cache/urpmi/rpms
Förbereder...                    #####################################################################################
    17/36: libatk1.0_0           #####################################################################################
    18/36: libmesaegl1           #####################################################################################
    19/36: libcairo2             #####################################################################################
    20/36: libxft2               #####################################################################################
    21/36: libpango1.0_0         #####################################################################################
    22/36: libpango1.0_0-modules #####################################################################################
    23/36: libgtk+-x11-2.0_0     #####################################################################################
    24/36: libgtk+2.0_0          #####################################################################################


    http://192.168.0.12/mageia/distrib/4/x86_64/media/core/release/nspluginwrapper-i386-1.4.4-4.mga3.x86_64.rpm
    http://192.168.0.12/mageia/distrib/4/x86_64/media/core/release/nspluginwrapper-1.4.4-4.mga3.x86_64.rpm             
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libice6-1.0.8-4.mga4.i586.rpm                         
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libssh2_1-1.4.3-3.mga4.i586.rpm                       
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libnspr4-4.10.2-1.mga4.i586.rpm                       
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libsqlite3_0-3.8.0.2-2.mga4.i586.rpm                 
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libxt6-1.1.4-3.mga4.i586.rpm                         
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libsm6-1.2.2-2.mga4.i586.rpm                         
installerar nspluginwrapper-1.4.4-4.mga3.x86_64.rpm libxt6-1.1.4-3.mga4.i586.rpm libsm6-1.2.2-2.mga4.i586.rpm libnspr4-4.10.2-1.mga4.i586.rpm libssh2_1-1.4.3-3.mga4.i586.rpm nspluginwrapper-i386-1.4.4-4.mga3.x86_64.rpm libice6-1.0.8-4.mga4.i586.rpm libsqlite3_0-3.8.0.2-2.mga4.i586.rpm från /var/cache/urpmi/rpms
Förbereder...                    #####################################################################################
    25/36: libice6               #####################################################################################
    26/36: libsm6                #####################################################################################
    27/36: libxt6                #####################################################################################
    28/36: nspluginwrapper-i386  #####################################################################################
    29/36: nspluginwrapper       #####################################################################################
/var/lib/rpm/filetriggers/nspluginwrapper.script: rad 15:  5462 Segmenteringsfel        nspluginwrapper -a -r
    30/36: libsqlite3_0          #####################################################################################
    31/36: libssh2_1             #####################################################################################
    32/36: libnspr4              #####################################################################################
/var/lib/rpm/filetriggers/nspluginwrapper.script: rad 15:  5490 Segmenteringsfel        nspluginwrapper -a -r


    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libnss3-3.15.4-1.mga4.i586.rpm
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libidn11-1.28-4.mga4.i586.rpm                         
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/libcurl4-7.34.0-1.mga4.i586.rpm                       
    http://192.168.0.12/mageia/distrib/4/i586/media/core/release/liboxygen-gtk-1.4.2-0.rc1.1.mga4.i586.rpm             
installerar liboxygen-gtk-1.4.2-0.rc1.1.mga4.i586.rpm libnss3-3.15.4-1.mga4.i586.rpm libcurl4-7.34.0-1.mga4.i586.rpm libidn11-1.28-4.mga4.i586.rpm från /var/cache/urpmi/rpms
Förbereder...                    #####################################################################################
    33/36: libidn11              #####################################################################################
    34/36: libcurl4              #####################################################################################
    35/36: libnss3               #####################################################################################
    36/36: liboxygen-gtk         #####################################################################################
[root@bamse kajsa]# urpme nspluginwrapper
tar bort nspluginwrapper-1.4.4-4.mga3.x86_64
Auto-remove plugins from /usr/lib/mozilla/plugins
Looking for plugins in /usr/lib/mozilla/plugins
Auto-remove plugins from /usr/lib64/mozilla/plugins
Looking for plugins in /usr/lib64/mozilla/plugins
/var/tmp/rpm-tmp.DZ9WHd: rad 3:  5574 Segmenteringsfel        /usr/bin/nspluginwrapper -v -a -r
fel: %preun(nspluginwrapper-1.4.4-4.mga3.x86_64)-skript misslyckades, slutstatus 139
ERROR: 'script' failed for ocaml-lzma-devel-0.01-9.mga4.x86_64:
tar bort paket nspluginwrapper-1.4.4-4.mga3.x86_64
      1/1: tar bort nspluginwrapper-1.4.4-4.mga3.x86_64
                                 #####################################################################################
writing /var/lib/rpm/installed-through-deps.list

Följande paket:
  libcurl4-7.34.0-1.mga4.i586
  libice6-1.0.8-4.mga4.i586
  libidn11-1.28-4.mga4.i586
  libnspr4-4.10.2-1.mga4.i586
  libnss3-3.15.4-1.mga4.i586
  libsm6-1.2.2-2.mga4.i586
  libsqlite3_0-3.8.0.2-2.mga4.i586
  libssh2_1-1.4.3-3.mga4.i586
  libxt6-1.1.4-3.mga4.i586
  nspluginwrapper-i386-1.4.4-4.mga3.x86_64
behövs ej mera, använd "urpme --auto-orphans" för att ta bort dem
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1462
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: urpmi --auto-orphans do not see all orphans

Postby doktor5000 » Feb 3rd, '14, 22:44

morgano wrote:I should of course read up on how it is supposed to work first, if i can find a specification... ;)


Read the code :twisted:
Code: Select all
man urpm::orphans

morgano wrote:
Code: Select all
[root@bamse kajsa]# urpmi nspluginwrapper
[...]   
  libcurl4                       7.34.0       1.mga4        i586    (föreslagen)
  libidn11                       1.28         4.mga4        i586    (föreslagen)
  libnspr4                       4.10.2       1.mga4        i586    (föreslagen)
  libnss3                        3.15.4       1.mga4        i586    (föreslagen)
  liboxygen-gtk                  1.4.2        0.rc1.1.mga4  i586    (föreslagen)
  libsqlite3_0                   3.8.0.2      2.mga4        i586    (föreslagen)
  libssh2_1                      1.4.3        3.mga4        i586    (föreslagen)
[...]

[root@bamse kajsa]# urpme nspluginwrapper
[...]
writing /var/lib/rpm/installed-through-deps.list

Följande paket:
  libcurl4-7.34.0-1.mga4.i586
  libice6-1.0.8-4.mga4.i586
  libidn11-1.28-4.mga4.i586
  libnspr4-4.10.2-1.mga4.i586
  libnss3-3.15.4-1.mga4.i586
  libsm6-1.2.2-2.mga4.i586
  libsqlite3_0-3.8.0.2-2.mga4.i586
  libssh2_1-1.4.3-3.mga4.i586
  libxt6-1.1.4-3.mga4.i586
  nspluginwrapper-i386-1.4.4-4.mga3.x86_64
behövs ej mera, använd "urpme --auto-orphans" för att ta bort dem

Seems only the suggested packages will be marked as orphans, and the package required directly.


Trying to reproduce, it works just fine here ...

Code: Select all
[doktor5000@Mageia3 ~]$ up nspluginwrapper
Um die Abhängigkeiten zu erfüllen, werden die folgenden Pakete installiert:
  Paket                          Version      Release       Arch   
(Medium »Core Release«)
  nspluginwrapper                1.4.4        4.mga3        x86_64 
  nspluginwrapper-i386           1.4.4        4.mga3        x86_64 
(Medium »Core 32bit Release«)
  libcurl4                       7.34.0       1.mga4        i586    (Vorschlag)
  libidn11                       1.28         4.mga4        i586    (Vorschlag)
  libnspr4                       4.10.2       1.mga4        i586    (Vorschlag)
  libnss3                        3.15.4       1.mga4        i586    (Vorschlag)
  libssh2_1                      1.4.3        3.mga4        i586    (Vorschlag)
  libxt6                         1.1.4        3.mga4        i586   
5.2MB zusätzlicher Speicher werden benötigt
1.8MB an Paketen werden geholt
Fortfahren mit der Installation der 8 Pakete? (J/n)


    ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/4/x86_64/media/core/release/nspluginwrapper-i386-1.4.4-4.mga3.x86_64.rpm
    ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/4/x86_64/media/core/release/nspluginwrapper-1.4.4-4.mga3.x86_64.rpm                                     
    ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/4/i586/media/core/release/libnspr4-4.10.2-1.mga4.i586.rpm                                               
    ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/4/i586/media/core/release/libnss3-3.15.4-1.mga4.i586.rpm                                                 
    ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/4/i586/media/core/release/libidn11-1.28-4.mga4.i586.rpm                                                 
    ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/4/i586/media/core/release/libxt6-1.1.4-3.mga4.i586.rpm                                                   
    ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/4/i586/media/core/release/libssh2_1-1.4.3-3.mga4.i586.rpm                                               
    ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/4/i586/media/core/release/libcurl4-7.34.0-1.mga4.i586.rpm                                               
libssh2_1-1.4.3-3.mga4.i586.rpm libnss3-3.15.4-1.mga4.i586.rpm libnspr4-4.10.2-1.mga4.i586.rpm nspluginwrapper-i386-1.4.4-4.mga3.x86_64.rpm libcurl4-7.34.0-1.mga4.i586.rpm nspluginwrapper-1.4.4-4.mga3.x86_64.rpm libidn11-1.28-4.mga4.i586.rpm libxt6-1.1.4-3.mga4.i586.rpm von /var/cache/urpmi/rpms wird installiert
Vorbereiten …                    #####################################################################################################################################
      1/8: libxt6                #####################################################################################################################################
      2/8: nspluginwrapper-i386  #####################################################################################################################################
      3/8: libidn11              #####################################################################################################################################
      4/8: libnspr4              #####################################################################################################################################
      5/8: libssh2_1             #####################################################################################################################################
      6/8: libcurl4              #####################################################################################################################################
      7/8: libnss3               #####################################################################################################################################
      8/8: nspluginwrapper       #####################################################################################################################################
/var/lib/rpm/filetriggers/nspluginwrapper.script: Zeile 15:  5458 Speicherzugriffsfehler  nspluginwrapper -a -r
/var/lib/rpm/filetriggers/nspluginwrapper.script: Zeile 15:  5486 Speicherzugriffsfehler  nspluginwrapper -a -r
[doktor5000@Mageia3 ~]$ sudo urpme nspluginwrapper
nspluginwrapper-1.4.4-4.mga3.x86_64 wird entfernt                                                                                                                       
Auto-remove plugins from /usr/lib/mozilla/plugins                                                                                                                       
Looking for plugins in /usr/lib/mozilla/plugins                                                                                                                         
Auto-remove plugins from /usr/lib64/mozilla/plugins                                                                                                                     
Looking for plugins in /usr/lib64/mozilla/plugins
/var/tmp/rpm-tmp.Zu5sd6: Zeile 3:  5519 Speicherzugriffsfehler  /usr/bin/nspluginwrapper -v -a -r
Fehler: %preun(nspluginwrapper-1.4.4-4.mga3.x86_64) Scriptlet fehlgeschlagen, Beenden-Status 139
ERROR: 'script' failed for ocaml-lzma-devel-0.01-9.mga4.x86_64:
Entfernen des Pakets nspluginwrapper-1.4.4-4.mga3.x86_64
      1/1: nspluginwrapper-1.4.4-4.mga3.x86_64 wird entfernt
                                 Warnung: file /usr/lib64/mozilla/plugins/npwrapper.so: remove failed: Datei oder Verzeichnis nicht gefunden
#####################################################################################################################################
writing /var/lib/rpm/installed-through-deps.list

Die folgenden Pakete:
  libcurl4-7.34.0-1.mga4.i586
  libidn11-1.28-4.mga4.i586
  libnspr4-4.10.2-1.mga4.i586
  libnss3-3.15.4-1.mga4.i586
  libssh2_1-1.4.3-3.mga4.i586
  libxt6-1.1.4-3.mga4.i586
  nspluginwrapper-i386-1.4.4-4.mga3.x86_64
sind nun verwaist, Sie können nun »urpme --auto-orphans« benutzen, um sie zu entfernen.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17983
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: urpmi --auto-orphans do not see all orphans

Postby morgano » Feb 3rd, '14, 23:28

OK thanks for the analysis.
Well here it pulled in many packages that is not longer needed. If that is a problem in urpmi or packages, or constraints of rpm spec i do not know and do not feel need for digging out. I merely wondered if someone already had an idea.

Maybe you have other packages that have pulled in some of the packages nspluginwrapper pulled in for me, and therefor your system did not pull them in now.

Anyhow, let it rest

BTW, IMNSHO target specifications shold not be in the code.
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1462
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: urpmi --auto-orphans do not see all orphans

Postby doktor5000 » Feb 3rd, '14, 23:40

morgano wrote:BTW, IMNSHO target specifications shold not be in the code.

Yep, true :(

https://forums.mageia.org/en/viewtopic.php?p=40399#p40399 wrote:if you want to change something, put up a bugreport
or start a followup to https://bugs.mageia.org/show_bug.cgi?id=920
Probably the best thing would be to completely hide this message by default, in rpmdrake as in urpmi.


Best would we to open a bugreport, and ask why there's no obvious documentation about the whole orphans mechanim.

man urpmi wrote: --auto-orphans
Remove all orphans without asking (see also "urpme --auto-orphans")


man urpme wrote: --auto-orphans
Removes orphans.

Meh.
You get a +1 from me if you open a new bugreport, as that documentation does not exist, or it's well hidden.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17983
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: urpmi --auto-orphans do not see all orphans

Postby wintpe » Feb 4th, '14, 12:18

well i just that wiki you recommended, and im still none the wiser.

if auto-ophans does not do what most people think it should then thats a bug IMHO

ps posted that without reading your post above, but as a reply to me getting the meaning wrong.

so thats a +1 from me as well

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: urpmi --auto-orphans do not see all orphans

Postby doktor5000 » Feb 4th, '14, 12:34

wintpe wrote:if auto-ophans does not do what most people think it should then thats a bug IMHO

Not necessarily. The other possibility is that most people think orphans does what they'd like it to do and
as it's not documented exactly what it's intended to do originally, they mostly complain that it doesn't work as they expect it to work.
So one option is to change it to read people's mind and do what everybody wants it to do, or provide better initial documentation
about the purpose and the implementation, then afterwards we can have a look and see if it works as expected and adjust from there on.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17983
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: urpmi --auto-orphans do not see all orphans

Postby morgano » Feb 4th, '14, 14:20

https://bugs.mageia.org/show_bug.cgi?id=12567
https://bugs.mageia.org/show_bug.cgi?id=920

BTW, strange man pages... urpmi do not offer --auto-orphans, and urpme do list and ask before committing remove.
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1462
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest