On 28/04/17 08:23 AM, Carlos E. R. wrote:
# which rpmorphan /usr/bin/rpmorphan My post shows that I installed it to try. Then I removed it instantly, it is useless.
Ah, good! A nice sweeping statement, an absolutists one. nicve and contentious. I have, occasionally, managed to hammer in a mail with the heel of my show. But I've found that my g/f's Jimmy Chou high heels are, just like rpmorphan is for you and some unspecified task, 'useless' for hammering in nails. What is it you were trying to do with rpmorphan for which is is useless to you and which it was of use to me and others?
It lists many -lang packages, many components of libreoffice. I don't recognize them as orphaned.
I think you have a problem with the definition of 'orphaned' then. In this context it means 'no dependencies'. The core packages can function without the language packages, they are not dependent on them. They can be uninstalled without the main package stop working. The same goes for the font and skins such as libreoffice-icon-theme-breeze libreoffice-icon-theme-oxygen I also see that 'extensions' (aka plugins) and templates (auch as "libreoffice-templates-labels-letter") are listed. Yes, openoffice can function without all of these. (It can function without the KDE4 links and without 'base' as wel.) I keep saying Context is Everything and as I say in this context it means 'no dependencies'. Not 'no parents'. Not 'no use at all, please delete'. I'm sure there is some tag in YaST/Zypper that means "nice to have", or "optional" -- whatzat? "Recommended"? Oh, right. Yes, there lurking in the untoward corners of the man page on Zypper (no 'beware of the leopard' sign here, though) is the following: <quote> install-new-recommends (inr) [options] Install newly added packages recommended by already installed ones. This can typically be used to install language packages recently added to repositories or drivers for newly added hardware. </quote> This, more than anything, is a reason for proliferating your use of application-specific repertoires so you can "inr" for just, for example LibreOffice. YMMV in all this, but calling 'rpmorphan' "useless" in any absolute sense is selling short what it can be used for an a lack of understanding of what 'dependency' means. To repeat: in this context it does not mean 'parentless'. To repeat: it does not mean you should remove all these packages. ============================================= # file $(which rpmorphan) /usr/bin/rpmorphan: symbolic link to `rpmorphan.pl' Oh my! A Perl script. That means easily visible -- AND EASILY MODIFIABLE FOR THOSE OF US WHO KNOW PERL -- code, rather than something like low level libraries (such as libstorage.so.6 that I had to drill down on, see other thread). Heck, even what in /usr/lib/rpmorphan is in Perl! There in the core of all this are calls to 'rpm' for find out what packages have dependencies and what packages don't. Yes, if you are an RPM guru you can do this by hand, but its a multi-step process and if you do the CLI stuff there's the possibility of typos, so you use scripts, don't you? Well this is a script that does all. But wait! You have a problem with scripts other people wrote? -- Everything comes to him who hustles while he waits. Thomas A. Edison -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org