Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13811 - blocked virtuals are fetched twice
Summary: blocked virtuals are fetched twice
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2003-01-12 19:40 UTC by Mike Williams
Modified: 2011-10-30 22:37 UTC (History)
1 user (show)

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


Attachments
patch to fetch it only once (fetch-blocker-twice-fix.diff,468 bytes, patch)
2004-02-09 01:39 UTC, Marius Mauch (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Williams 2003-01-12 19:40:00 UTC
I'm at work, alone, sat on the end of an 8meg pipe (*grin*), and fancy downloading loads of stuff 
to try at home. 
Problem is I have exim installed here, so portage rightly warns me I can't *install* qmail 
because virtual/mta (exim) blocks it, but I'm not telling portage to *install* qmail, but mearly to 
fetch it. 
IMO it would be better to either ignore package blocking when only fetching, or warn and do it 
anyway. (perhaps a 5 second wait, like clean?)
Comment 1 Mike Williams 2003-09-09 14:41:14 UTC
Stable portage now does this! woo 
 
One minor oddity though, for example: 
redshat root # emerge -p exim 
 
These are the packages that I would merge, in order: 
 
Calculating dependencies ...done! 
[ebuild  N    ] dev-libs/libpcre-4.2-r1 
[blocks B     ] net-mail/qmail ("virtual/mta" from pkg net-mail/exim-4.14) 
[ebuild  N    ] net-mail/exim-4.14 
 
redshat root # emerge exim -f 
Calculating dependencies ...done! 
>>> emerge (1 of 3) dev-libs/libpcre-4.2-r1 to / 
>>> Previously fetched file: pcre-4.2.tar.bz2 MD5 ;-) 
>>> md5 src_uri ;-) pcre-4.2.tar.bz2 
>>> emerge (2 of 3) net-mail/exim-4.14 to / 
>>> Previously fetched file: exim-4.14.tar.gz MD5 ;-) 
>>> Previously fetched file: exiscan-4.14-26.tar.gz MD5 ;-) 
>>> md5 src_uri ;-) exim-4.14.tar.gz 
>>> md5 src_uri ;-) exiscan-4.14-26.tar.gz 
>>> emerge (3 of 3) net-mail/exim-4.14 to / 
>>> Previously fetched file: exim-4.14.tar.gz MD5 ;-) 
>>> Previously fetched file: exiscan-4.14-26.tar.gz MD5 ;-) 
>>> md5 src_uri ;-) exim-4.14.tar.gz 
>>> md5 src_uri ;-) exiscan-4.14-26.tar.gz 
 
It's downloading exim twice, obviously not a problem, but wierd none-the-less. 
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-02-09 01:39:31 UTC
Created attachment 25241 [details, diff]
patch to fetch it only once
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2004-10-22 08:47:30 UTC
Bug has been fixed and released in stable portages on or before 2.0.51-r2