Ophan packages

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Ophan packages

Postby sinayion » Thu Apr 26, 2012 22:48

Hi all,

I've gone through the wiki and the forums, but I haven't found an explicit command to remove ophan packages from a Sabayon system.

Am I missing the obvious? Is this even possible/recommended?

Thanks.
There is no spoon in equo...
User avatar
sinayion
Baby Hen
 
Posts: 16
Joined: Sun Apr 22, 2012 1:26

Re: Ophan packages

Postby mélodie » Fri Apr 27, 2012 6:51

Perhaps there aren't unneeded orphans ?
mélodie
Simple Hen
 
Posts: 95
Joined: Tue Feb 14, 2012 10:41

Re: Ophan packages

Postby sinayion » Fri Apr 27, 2012 19:50

Well, gentoo has the option, unless I am mistaken.
There is no spoon in equo...
User avatar
sinayion
Baby Hen
 
Posts: 16
Joined: Sun Apr 22, 2012 1:26

Re: Ophan packages

Postby albfneto » Tue May 01, 2012 16:43

Gentoo systems have some cross-linked dependencies, Many Orphaned packages are not really orphaned, but sometimes they still are needed packages...

The command for remove orphaned packages appears after you make "equo upgrade" but it claims that the installed package in your system will not be disponible in the repos in the future, may no future new versions, but you can mantain it, the last version, ou you llose package.

Ex Portato will not be mantained in Gentoo and Sabayon,but you may mantain the old Portato,if you use it! In my system, i mantained gnome2, since i like gnome2!

To see te TRUE orphaned packages, try "equo query orphans", but the removal or orphaned packages in sabayon and in gentoo systems may be a dangerous issue. Gentoo's portage has the option, but "said" that the option is dangerous...

ex. if you have compiz, compiz works, but it works better with the "sexy-python" package... If you installed "sexy-python", you compiz works better.
Then further, you may install other package, that also uses "sexy-python", if you remove "sexy-python"( because you removed compiz) this second package installed, may not further works, because the second package installed needed sexy-python and no more found it! Cross-linked dependency...
Image
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mandriva and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1288
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: Ophan packages

Postby sinayion » Tue May 01, 2012 17:14

I think there is a slight confusion on the definition of orphan packages here. The packages that are shown after an "equo upgrade" are ones no longer maintained on the servers. When I say orphan packages, I mean packages that were pulled as dependencies but are no longer required on the system.
There is no spoon in equo...
User avatar
sinayion
Baby Hen
 
Posts: 16
Joined: Sun Apr 22, 2012 1:26

Re: Ophan packages

Postby ph03 » Tue May 08, 2012 12:11

So is there some easy way to remove "orphaned" packages. E.g. I installed kde4-meta and now removed it again but I also want all packages that were pulled in as an dependency of kde4-meta also to be reomved somehow as they are defenetly not required by other packages that are installed. How can I do this?
ph03
Baby Hen
 
Posts: 16
Joined: Thu Oct 27, 2011 11:43

Re: Ophan packages

Postby cl00t » Tue May 08, 2012 12:37

If you uninstall packages as follows it will remove deps & config files for those packages.

Code: Select all
# equo remove packagename --ask --configfiles


You could also try:

Code: Select all
# equo remove packagename --ask --configfiles --deep


But be careful what dependencies are pulled in.

Do this afterwards:

Code: Select all
# equo deptest && equo libtest
User avatar
cl00t
Growing Hen
 
Posts: 167
Joined: Thu Jan 12, 2012 15:29

Re: Ophan packages

Postby Thev00d00 » Tue May 08, 2012 16:59

If you are using Equo it will warn you if you have orphans and offer to remove them.

It also removes unused reverse dependencies when uninstalling an application.

Basically there should be no orphans.
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
User avatar
Thev00d00
Generally Awesome (tm)
 
Posts: 1467
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: Ophan packages

Postby ph03 » Tue May 08, 2012 20:21

Nice thanks! I was using sulfur to remove that package and it only warned me that there are orphaned packages and offered no option to remove them also..
ph03
Baby Hen
 
Posts: 16
Joined: Thu Oct 27, 2011 11:43

Re: Ophan packages

Postby yminus » Thu Jul 26, 2012 0:27

Thev00d00 wrote:If you are using Equo it will warn you if you have orphans and offer to remove them.

It also removes unused reverse dependencies when uninstalling an application.

Basically there should be no orphans.


This cannot be true. I just installed thunar on a fresh system which pulled in >30 dependencies.
Code: Select all
equo install thunar


Then I removed thunar:
Code: Select all
equo remove thunar


But only thunar has been removed.

albfneto wrote:To see te TRUE orphaned packages, try "equo query orphans", but the removal or orphaned packages in sabayon and in gentoo systems may be a dangerous issue. Gentoo's portage has the option, but "said" that the option is dangerous...


I am using Gentoo since 2008 and I had never problems with removal of uneeded dependencies or "orphans" as you call them. In Gentoo to remove uneeded dependencies:
Code: Select all
emerge -avc

It will check if there is really no package that has been installed by the user or is part of the system depends on a package prior to remove it. To be on the safe side you can check for reverse dependencies afterwards:
Code: Select all
revdep-rebuild -- -av

This will (re)install every packages with unmet or dated dependencies or pull in missing dependencies if needed.
yminus
Baby Hen
 
Posts: 3
Joined: Thu Jul 26, 2012 0:03

Next

Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest