Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540398 - conflicts caused by packages that could be updated
Summary: conflicts caused by packages that could be updated
Status: RESOLVED DUPLICATE of bug 290818
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-17 17:46 UTC by Ryan Hill (RETIRED)
Modified: 2015-02-17 19:43 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 Ryan Hill (RETIRED) gentoo-dev 2015-02-17 17:46:31 UTC
I want to update perl to 5.20.2.

# emerge -av1u perl 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-lang/perl-5.20.1-r4:0/5.20::gentoo  USE="berkdb -debug -doc -gdbm -ithreads" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-lang/perl:0

  (dev-lang/perl-5.20.2:0/5.20::gentoo, ebuild scheduled for merge) conflicts with
    =dev-lang/perl-5.20.1* required by (virtual/perl-File-Spec-3.480.0:0/0::gentoo, installed)
    ^              ^^^^^^^
    =dev-lang/perl-5.20.1* required by (virtual/perl-Storable-2.490.0:0/0::gentoo, installed)
    ^              ^^^^^^^


There are updates available to both of these packages that solve the conflict.  Why can't portage check for that?  ie. in the event that a conflict is caused by an installed package, try updating that package too.

I can add -D to the above and it works, but it also pulls in a bunch of other packages I haven't updated yet.  I want to update perl.
Comment 1 Zac Medico gentoo-dev 2015-02-17 19:43:45 UTC

*** This bug has been marked as a duplicate of bug 290818 ***