Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Package is blocking itself [SOLVED]
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
jerann
n00b
n00b


Joined: 26 Jan 2005
Posts: 67

PostPosted: Sat Jan 20, 2007 6:32 am    Post subject: Package is blocking itself [SOLVED] Reply with quote

OK, first of all, please forgive my newbness - I'm still learning my way around Gentoo, and even GNU/ Linux itself. I haven't updated my system in a while, so I was going to to a deep update, but I've found that gnupg is blocking itself. When I run emerge --pretend --update --deep world, two lines reference gnupg:

Code:

[blocks B     ] <=app-crypt/gnupg-2.0.1 (is blocking app-crypt/gnupg-2.0.1-r2)
[ebuild     U ] app-crypt/gnupg-2.0.1-r2 [1.4.6] USE="doc%* -openct% -pcsc-lite%"


Er, what? How does a package block itself? If anyone can show me how to get around this, I'd appreciate it - I'm probably missing something simple. Thanks!


Last edited by jerann on Sat Jan 20, 2007 6:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
madisonicus
Veteran
Veteran


Joined: 20 Sep 2006
Posts: 1130

PostPosted: Sat Jan 20, 2007 6:38 am    Post subject: Reply with quote

When this happens, it's almost always portage saying you have to unmerge the old package before emerging the new. There can be many reasons, usually it's because something fundamental about the package has changed enough that simply upgrading isn't enough. The solution is simple. Just emerge -C the blocking package and try the emerge again.

More information here.

HTH,
m
_________________
Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722
Location: Cluj-Napoca, Romania

PostPosted: Sat Jan 20, 2007 6:01 pm    Post subject: Reply with quote

Addendum: It's not blocking itself as such. Translated into English, that message says: "The GNUPG 2.0.1-r2 ebuild mandates that it can't be installed if there's already an installed GNUPG package older than or equal to 2.0.1. Your system has such an older GNUPG installed, therefore installation of GNUPG 2.0.1-r2 has been blocked."
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
jerann
n00b
n00b


Joined: 26 Jan 2005
Posts: 67

PostPosted: Sat Jan 20, 2007 6:08 pm    Post subject: Reply with quote

:oops: Well, I figured it was something simple, but I didn't figure on it being that simple. Thanks madisonicus - that fixed it right up. I'm not sure how I missed the "When Portage is Complaining..." section - that's quite helpful. Thanks again!

EDIT: Oop - I missed moocha's post. Yes, that makes much more sense - I assumed it would just upgrade it in a case like that. I guess that's what I get for assuming :D
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