Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224487 - Add more about resolution of blockers in man page
Summary: Add more about resolution of blockers in man page
Status: CONFIRMED
Alias: None
Product: Documentation
Classification: Unclassified
Component: [OLD] Portage Documentation (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-01 14:51 UTC by ivo welch
Modified: 2010-01-08 21:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivo welch 2008-06-01 14:51:09 UTC
Suggestion:

    [blocks B ] app-text/dos2unix (from pkg app-text/hd2u-0.8.0)
              Dos2unix is Blocking hd2u from being emerged.  Blockers are defined when two packages will clobber each oth-
              ers files, or otherwise cause some form of breakage in your system.  However, blockers usually do  not  need
              to be simultaneously emerged because they usually provide the same functionality.

The most common way to resolve blockers is to emerge -u the offending package first, here app-text/dos2unix, and then try again.  If this does not succed, you may have to investigate your dependency tree, which is done with the -t option.


Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2008-06-01 16:09:16 UTC
(In reply to comment #0)
> The most common way to resolve blockers is to emerge -u the offending package
> first, here app-text/dos2unix, and then try again.

You mean emerge -C (equivalent to --unmerge). However, nowadays it's better to use `emerge -pv --depclean app-text/dos2unix` since that will check for reverse dependencies. It's also worth noting that nowadays "the most common way to resolver blockers", especially with >=portage-2.1.5, is to allow emerge to resolve them for you automatically:

http://planet.gentoo.org/developers/zmedico/2008/05/09/blocking_package_file_collisions

With automatic blocker resolution like this, it should be relatively rare for a user to encounter a blocker that requires any manual intervention.
Comment 2 Kundai Midzi 2010-01-05 05:11:02 UTC
I'm confused. I thought that in the example given (from emerge manpage), it is actually app-text/hd2u-0.8.0 that is blocking app-text/dos2unix? Is this a bug in the documentation, or am I misinterpreting the output?



Comment 3 Zac Medico gentoo-dev 2010-01-08 21:45:55 UTC
(In reply to comment #2)
> I'm confused. I thought that in the example given (from emerge manpage), it is
> actually app-text/hd2u-0.8.0 that is blocking app-text/dos2unix?

That's right.

> Is this a bug in the documentation, or am I misinterpreting the output?

Neither.