[opensuse] rpmorphan package from Packman
Have dowloaded this package and found that from the 471 rpm packages I have 87 orpans. those are all lib's and looking into the information provided in the Gui I am at a loss if I need them and what the harm would be to remove them. If I would remove those 87 lib packages from which I cannot guss if they would be needed by one of the programms I am using, would a zypper verify or zypper install-new-recommends repair the missing package? Found on the web that version 1.8.1 is out. This openSUSE package is version 1.6. Is it still safe to use it? Any experience with rpmorphan. -- Linux User 183145 using LXDE on a Pentium IV , powered by openSUSE 11.3 (i586) Kernel: 2.6.37-desktop LXDE WM & KDE Development Platform: 4.5.95 (4.6 RC2) 20:18pm up 6:13, 3 users, load average: 0.50, 0.59, 0.73 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Tue, 11 Jan 2011 20:31:15 +0700 schrieb "C. Brouerius van Nidek" <constant@indo.net.id>:
Have dowloaded this package and found that from the 471 rpm packages I have 87 orpans. those are all lib's and looking into the information provided in the Gui I am at a loss if I need them and what the harm would be to remove them.
If I would remove those 87 lib packages from which I cannot guss if they would be needed by one of the programms I am using, would a zypper verify or zypper install-new-recommends repair the missing package?
Found on the web that version 1.8.1 is out. This openSUSE package is version 1.6. Is it still safe to use it? Any experience with rpmorphan.
Hi Brouerius, on my openSuSE 11.3 I've installed rpmorphan-1.8-0.pm.1.1.noarch from Packman and checked manually each package that was marked as orphaned with yast2-gui. Some of the found packages were compiled by myself, some were additionally installed but without dependencies and the most were really orphaned. You have to check them carefully. Hope that helps With kind regards -- Mit freundlichen Grüßen Peter Ragosch -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 1/11/2011 5:31 AM, C. Brouerius van Nidek wrote:
Have dowloaded this package and found that from the 471 rpm packages I have 87 orpans. those are all lib's and looking into the information provided in the Gui I am at a loss if I need them and what the harm would be to remove them.
If I would remove those 87 lib packages from which I cannot guss if they would be needed by one of the programms I am using, would a zypper verify or zypper install-new-recommends repair the missing package?
Found on the web that version 1.8.1 is out. This openSUSE package is version 1.6. Is it still safe to use it? Any experience with rpmorphan.
I used the 1.8 version from Packman. My results are similar to yours, lots of libs that show nothing depending on them. I very carefully went in to yast marked them for removal and watched for anything yast warned me about (such as other packages that would be removed and unmet dependencies, etc). So far, sticking strictly with the libs, I've not found any that had any dependencies in yast that rpmorphan did not also detect. I then went ahead and deleted a few these with no ill effects. I plan to do more of this, on a careful basis, and not blindly trust it just yet. rpmorphan will report packages that you use from the command line, as long as no other package depends on them so you won't want to go blindly deleteing things. It will also report some portions of libreoffice as orphaned, even some portions that are invoked from other portions of the same suite, so there may be some packaging problems with libreoffice. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 1/11/2011 10:03 AM, John Andersen wrote:
On 1/11/2011 5:31 AM, C. Brouerius van Nidek wrote:
Have dowloaded this package and found that from the 471 rpm packages I have 87 orpans. those are all lib's and looking into the information provided in the Gui I am at a loss if I need them and what the harm would be to remove them.
If I would remove those 87 lib packages from which I cannot guss if they would be needed by one of the programms I am using, would a zypper verify or zypper install-new-recommends repair the missing package?
Found on the web that version 1.8.1 is out. This openSUSE package is version 1.6. Is it still safe to use it? Any experience with rpmorphan.
I used the 1.8 version from Packman.
My results are similar to yours, lots of libs that show nothing depending on them.
I very carefully went in to yast marked them for removal and watched for anything yast warned me about (such as other packages that would be removed and unmet dependencies, etc). So far, sticking strictly with the libs, I've not found any that had any dependencies in yast that rpmorphan did not also detect.
Following up on my own post, I have found a few instances where rpmorphan will suggest some libs as unneeded, and when you remove them via remorphan, and then jump into yast, yast will immediately show these same packages as being scheduled for auto-add. So there are some serious shortcomings in rpmorphan's ability to track down requirements, but Yast will fix things up after the fact. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 11/01/11 20:30, John Andersen wrote:
On 1/11/2011 10:03 AM, John Andersen wrote:
On 1/11/2011 5:31 AM, C. Brouerius van Nidek wrote:
Have dowloaded this package and found that from the 471 rpm packages I have 87 orpans. those are all lib's and looking into the information provided in the Gui I am at a loss if I need them and what the harm would be to remove them.
If I would remove those 87 lib packages from which I cannot guss if they would be needed by one of the programms I am using, would a zypper verify or zypper install-new-recommends repair the missing package?
Found on the web that version 1.8.1 is out. This openSUSE package is version 1.6. Is it still safe to use it? Any experience with rpmorphan.
I used the 1.8 version from Packman.
My results are similar to yours, lots of libs that show nothing depending on them.
I very carefully went in to yast marked them for removal and watched for anything yast warned me about (such as other packages that would be removed and unmet dependencies, etc). So far, sticking strictly with the libs, I've not found any that had any dependencies in yast that rpmorphan did not also detect.
Following up on my own post, I have found a few instances where rpmorphan will suggest some libs as unneeded, and when you remove them via remorphan, and then jump into yast, yast will immediately show these same packages as being scheduled for auto-add.
So there are some serious shortcomings in rpmorphan's ability to track down requirements, but Yast will fix things up after the fact.
This is because rpmorphan only considers rpm "Requires:" and not "Recommends:". So rpmorphan may consider packages orphaned which YaST2 considers needed. Regards, Tejas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 1/11/2011 2:27 PM, Tejas Guruswamy wrote:
This is because rpmorphan only considers rpm "Requires:" and not "Recommends:". So rpmorphan may consider packages orphaned which YaST2 considers needed.
Regards, Tejas
Why would Yast treat recommends as required? Why would a packager recommend 32 bit libs for an x86_64 bit package only] to have them sit unused? -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 01/12/2011 06:47 PM, John Andersen wrote:
On 1/11/2011 2:27 PM, Tejas Guruswamy wrote:
This is because rpmorphan only considers rpm "Requires:" and not "Recommends:". So rpmorphan may consider packages orphaned which YaST2 considers needed.
Regards, Tejas
Why would Yast treat recommends as required?
himm probably yast reads /etc/zypp/zypp.conf ## ## Whether required packages are installed ONLY ## So recommended packages, language packages and packages which depend ## on hardware (modalias) will not be regarded. ## ## Valid values: boolean ## Default value: false ## solver.onlyRequires = false Togan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 12/01/11 17:47, John Andersen wrote:
On 1/11/2011 2:27 PM, Tejas Guruswamy wrote:
This is because rpmorphan only considers rpm "Requires:" and not "Recommends:". So rpmorphan may consider packages orphaned which YaST2 considers needed.
Regards, Tejas
Why would Yast treat recommends as required?
Why would a packager recommend 32 bit libs for an x86_64 bit package only] to have them sit unused?
No one said YaST treats recommends like requires? There are several levels of RPM dependencies in SUSE. Requires: designates a package that is abolutely necessary to even start the program. Installed by default by YaST. Cannot be removed without removing the base package. Recommends: designates a package that is necessary to use one of the program's basic features. Installed by default by YasT. Can be removed without removing the base package. Suggests: designates a package that adds extra optional features to the program. Not installed by default. Can be removed without removing the base package. So in general, you want recommended packages, which is why YaST installs them. If there are excess recommends from a package, it's specified by the packager, it's not YaST's fault for following instructions. If you are sure that a dependency isn't needed, file a bug against the package asking to move the Recommends: to a Suggests:. Also, if you uninstall a package through yast or zypper, it adds a "SoftLock" and doesn't install it again unless absolutely necessary. However rpmorphan doesn't do this - it uses rpm directly - which is why you see YaST trying to undo rpmorphan's actions. All these reasons mean rpmorphan doesn't work quite as expected on openSUSE. If you really want to continue using it, try creating the list of orphans with rpmorpan, then removing them with zypper - this will ensure they don't get reinstalled unless specifically asked for. try rpmorphan | xargs sudo zypper rm Regards, Tejas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
C. Brouerius van Nidek
-
John Andersen
-
Peter Ragosch
-
Tejas Guruswamy
-
Togan Muftuoglu