Monday, December 11, 2006

HOWTO remove blocked packages in portage on gentoo

On my routine of weekly updates to my gentoo installation I often encounter blocked packages in response to the command 'emerge --update --deep --ask world'

[blocks B ] mail-mta/ssmtp (is blocking mail-mta/postfix-2.2.2-r1)

This, until I became familiar with it, seemed confusing. My analysis, the order of this response is what tripped me up in combination with the temptation of speed reading. My interpretation was 'blocks mail-mta/ssmtp. Is blocking mail-mta/postfix-2.2.2-r1?' The parenthesis caused me to consider this as a separate thought. It is not and is my fault for confusing myself; And aside, I'd love for the parenthesis to be removed. That interpretive linguistics analysis aside on to the point.

Looking at the statement mail-mta/ssmtp is blocking mail-mta/postfix. The simple thing to do is to say, I don't need ssmtp let me remove it. The portage command:

emerge --unmerge 'mail-mta/smtp'

In summary it is the first item listed that is the 'blocking' package, that is what you want to remove.

Then try again with 'emerge --update --deep --ask world'

Of course the removal of something needed is a bad idea, so be careful.

An introduction to Portage: link
A simple portage Wiki page: Portage and Ebuilds
The man page: Portage Man page
The "best-known practices" for working with Portage: HOWTO_Use_Portage_Correctly
keywords: gentoo remove blocked package, portage remove blocked package, gentoo blocks, portage blocks.

14 comments:

Laura said...

You made the Blogs of Note list! Way to go honey.

Anonymous said...

thanx a lot

u made my day

Zackery said...

Thanks for your post, quite worthwhile material.
natural mood stabilizers | hotel albuquerque nm | bloodborne pathogens training

Mile said...

Many students need math homework help. This will help to cope with any mathematical task.

Instant Help Support said...

Mistake 0x61011beb has all the earmarks of being a "trick all" blunder message showing physical issues. on-line assets supportively advocate finishing a plant reset of the printer, that did not resolve my issue. One issue I detected before the printer would supply the error message was the focal bar to a minimum of one facet of the massive white instrumentation turning for quite whereas. visit us to get more information about the hp printer carriage jam error or hp printer support assistant

Rabia Rao said...

Welcome to Thane escorts service call mee we have to provide all type of babes like a college girl and housewife just call me and book now all sex allow full safe place and genuine service just call me and book now only genuine person call me. Visit Our Partner Links:- https://www.modelinmumbai.in/thane-escorts.html

Printer Helpers said...

One day I was working on my project suddenly my machine won’t work. But don’t know why is my printer offline. Then, I get to know about Printer Helpers, they are highly experienced in this industry. They work hard to get the desired output. Their team gives me a genuine piece of advice & I come to know about various printer errors.

Technical Support Services said...

You do not have to try numerous steps to be on your Arris router setup page. The easiest way to handle the settings of your Arris account is to login to arris router. Once you are logged into your account, you are able to personalize your password and network name.

support printer help said...

thank you for sharing such useful information!!

printer support in usa

BP Technology India said...

you explore this topic in a very effective way I want to appreciate your work, thank you for sharing such useful information!!

Web Design in Raipur, Best Digital Marketing Company in Raipur

Best Digital Marketing Company in Raipur
Web Design in Raipur

jasminOlivia said...

After buying a new printer or introducing your live printer to a new system, you will want to follow some set of commands. Firstly you want to download the printer drivers from the website 123.hp/setup. This site is a one-stop solution for easy Printing functioning, and as per your unique printer model, you can install the application as well

Jack Daniels said...

I want a wireless HP printer for wireless printing favor. Wireless printing technology permits the users to print the files wirelessly simply. It makes users feel free and is the best way to get the pinout of any file easily. In the initial stage, I have opened 123.hp.com/setup 5055in my special chrome browser and have typed the model number of my wireless printer in the shown box of 123.hp.com.

Aegte Lifescience said...

It is often used as a dark spot remover for face owing to its formula of 20% Niacinamide and Broad Spectrum SPF 30.

AS Window said...

This material is ordinarily less expensive than aluminum, low support and thermally effective. Regardless of their power, uPVC windows and entryways are inclined to hanging and sashing because of their lightweight and furthermore on the grounds that they are fundamentally not quite so solid as aluminum windows. An excess of intensity might bring about upvc doors and windows manufacturers delhi the burst of their casings. We would say, expertly introduced, great uPVC windows (or uPVC entryways) can endure as many as 20 years without losing any of their protecting limit. This is twofold the assurance period and a significant measure of time for any home improvement item.