Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 157072

Summary: virtual/perl-Test-Simple not updated during emerge -uDN world
Product: Gentoo Linux Reporter: Fab <netbox253>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED NEEDINFO    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Fab 2006-12-04 04:22:54 UTC
Hi,

Maybe a portage problem (2.1.2_rc2-r4)?

I wanted to do an emerge --decplean after an emerge -uDN world, I've got an error : required package not installed.

If I run an emerge -pvuDN world, It tells me 0 packages to emerge, but if I run an emerge -pv perl-Test-Simple, it wants to be updated.

Look at the following :

-------------
# emerge --depclean --ask

[snip]

Calculating dependencies               ... done!              

Dependencies could not be completely resolved due to
the following required packages not being installed:

~perl-core/Test-Simple-0.64 required by virtual/perl-Test-Simple-0.64 dev-perl/Locale-gettext-1.05



# emerge -pvuDN world

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

Calculating world dependencies                         ... done!   

Total: 0 packages, Size of downloads: 0 kB



# emerge -pv perl-Test-Simple

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

Calculating dependencies  ... done!
[ebuild   R   ] perl-core/Test-Simple-0.65  0 kB 
[ebuild     U ] virtual/perl-Test-Simple-0.65 [0.64] 0 kB 

Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 0 kB
Comment 1 Fab 2006-12-04 04:27:45 UTC
Created attachment 103317 [details]
emerge --info
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-12-04 05:05:09 UTC
Unless something you have installed RDEPENDs on virtual/perl-Test-Simple or unless you have it in world, it won't get upgraded because there's no reason to.

You can check with something like `grep virtual/perl-Test-Simple /var/db/pkg/*/*/?DEPEND`; also try `emerge -pvuDN --with-bdeps=y world`
Comment 3 Fab 2006-12-04 05:14:05 UTC
Ok, you're right :

# emerge -pvuDN --with-bdeps=y world

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

Calculating world dependencies              ... done!                         
[ebuild     U ] app-arch/cabextract-1.2 [1.1] 190 kB 
[ebuild     U ] virtual/perl-Test-Simple-0.65 [0.64] 0 kB 
[ebuild     U ] app-admin/eselect-oodict-20061117 [20060806] 4 kB 

Total: 3 packages (3 upgrades), Size of downloads: 194 kB


Thanks.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-04 05:31:05 UTC
Thanks for reporting back. Note that you can stick it into EMERGE_DEFAULT_OPTS in make.conf if you prefer this behaviour... 

EMERGE_DEFAULT_OPTS="--with-bdeps=y"