Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to remove a package that's no longer in portage ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
natanver
n00b
n00b


Joined: 17 Jul 2012
Posts: 47

PostPosted: Thu Feb 05, 2015 10:34 am    Post subject: how to remove a package that's no longer in portage ? Reply with quote

I want to remove a package (media-libs/pdflib)

perl-cleaner is complaining about not finding the ebuild (media-libs/pdflib was removed from portage)

How to proceed ?

Regards,
Natan
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Feb 05, 2015 10:45 am    Post subject: Reply with quote

Just unmerge it.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
natanver
n00b
n00b


Joined: 17 Jul 2012
Posts: 47

PostPosted: Thu Feb 05, 2015 11:13 am    Post subject: Reply with quote

John R. Graham wrote:
Just unmerge it.

- John


I did. But for perl-cleaner the package is still there (?)

Code:
emerge: there are no ebuilds to satisfy "media-libs/pdflib".
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Thu Feb 05, 2015 11:52 am    Post subject: Reply with quote

Code:
eix pdflib
please
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Thu Feb 05, 2015 11:59 am    Post subject: Reply with quote

emerge isn't telling you that package is still there.
emerge is telling you media-libs/pdflib has no more ebuild in your tree.

so if you don't have a package and emerge wants it even you didn't ask it, someone asked to get that package.
if it's not you, it's then a dependency of someone but emerge should had tell you who is that someone in the form "require by package/xxx".

ask emerge to upgrade it so it loose its dependency over the "not in the tree" package or remove it as it should probably be out of the tree too.
Back to top
View user's profile Send private message
natanver
n00b
n00b


Joined: 17 Jul 2012
Posts: 47

PostPosted: Thu Feb 05, 2015 1:19 pm    Post subject: Reply with quote

the dependency is libperl

I need to run perl-cleaner.

Code:

 * Locating packages for an update
 * Locating ebuilds linked against libperl
 *   Adding to list: media-libs/pdflib:5
 *     check: module /usr/lib64/perl5/site_perl/5.12.2/x86_64-linux-thread-multi/pdflib_pl.a

<snip>

 *   Adding to list: www-apps/swish-e:0
 *     check: module /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux-thread-multi/SWISH/API.pm


So perl-cleaner is going to run:

Code:
emerge -vD1 --backtrack=30 -p media-libs/pdflib:5 <snip> www-apps/swish-e:0


But I don't want pdflib and swish-e anymore.

How can I tell emerge to skip those two packages ?
Back to top
View user's profile Send private message
natanver
n00b
n00b


Joined: 17 Jul 2012
Posts: 47

PostPosted: Thu Feb 05, 2015 1:45 pm    Post subject: Reply with quote

krinn wrote:

ask emerge to upgrade it ...


what should be upgraded ? dev-lang/perl-5.18.2-r1:0/5.18 ?


krinn wrote:

remove it ...


What do you mean? Can I just delete the file:
/usr/lib64/perl5/site_perl/5.12.2/x86_64-linux-thread-multi/pdflib_pl.a ?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Thu Feb 05, 2015 1:50 pm    Post subject: Reply with quote

natanver wrote:
What do you mean? Can I just delete the file:
/usr/lib64/perl5/site_perl/5.12.2/x86_64-linux-thread-multi/pdflib_pl.a ?

mv dont_want_this_file_anymore /somewhere
will gave the same result, but more safe no?
Back to top
View user's profile Send private message
natanver
n00b
n00b


Joined: 17 Jul 2012
Posts: 47

PostPosted: Thu Feb 05, 2015 2:20 pm    Post subject: Reply with quote

I moved that file. (I renamed the folder)

But when I re-run perl-cleaner, it's again added to the list

Code:

 *   Adding to list: media-libs/pdflib:5
 *     check: module /usr/lib64/perl5/site_perl/5.12.2/x86_64-linux-thread-multi/pdflib_pl.a


are results cached ???
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Thu Feb 05, 2015 10:51 pm    Post subject: Reply with quote

Have you done an emerge world lately?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21618

PostPosted: Thu Feb 05, 2015 11:25 pm    Post subject: Reply with quote

OP: several posters have told you to remove pdflib, but you have not said what goes wrong when you try to unmerge it. Please provide the full output of emerge --unmerge media-libs/pdflib www-apps/swish-e.
Back to top
View user's profile Send private message
natanver
n00b
n00b


Joined: 17 Jul 2012
Posts: 47

PostPosted: Sat Feb 21, 2015 5:37 pm    Post subject: Reply with quote

I managed to solve the problem.

what I did:

placed 2 old packages (swish-e and pdflib) in /usr/local/portage/ (ebuild found in the 'attic')

emerge --deselect --ask $(qlist -IC 'perl-core/*')
emerge -1a $(qlist -IC 'virtual/perl-*')
perl-cleaner --all -- --ask


Thanks for the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum