Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49090 - "emerge -UDfp world" doesn't show all files to be downloaded
Summary: "emerge -UDfp world" doesn't show all files to be downloaded
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
Depends on:
Reported: 2004-04-26 18:26 UTC by norbert kamenicky
Modified: 2004-04-28 16:05 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description norbert kamenicky 2004-04-26 18:26:48 UTC
I had to update/upgrade some gentoo box which wasn't on internet ASAP.
Therefore I copied /usr/portage tree from my PC and run "emerge -UDfp world"
to get the list of files to copy too. I copied them and run "emerge -UDf world"
to be sure nothing was forgotten ... emerge started to download plenty of files
which were not listed if with --pretend flag.

Reproducible: Always
Steps to Reproduce:
1. emerge -UDfp world >/dev/null 2>list1.tmp
2. sed 's#^.*/##' list1.tmp|sort|uniq >list1
3. copy all files from list1 to /usr/portage distfiles
4. emerge -UDf world

Actual Results:  
emerge from step 4. downloads files, which were not listed in step 1.

Expected Results:  
emerge from step 4. should say all af files were previously fetched

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo)
System uname: 2.4.25-gentoo i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.4.9
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
CFLAGS="-march=pentium4 -O2 -mfpmath=sse -msse2 -mmmx -pipe"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail
/var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -mfpmath=sse -msse2 -mmmx -pipe"
FEATURES="autoaddcvs ccache sandbox"
USE="X Xaw3d aalib acl acpi alsa apache2 arts avi bonobo cdr crypt cups dga
directfb doc dvd encode esd ethereal evo fbcon flash foomaticdb freetds gd gdbm
ggi gif gpm gps gtk gtk2 gtkhtml guile icc-pgo imap imlib innodb java jikes jpeg
junit kde ladcca lcms libwww linguas_sk lirc mad maildir mikmod mmx motif
mozilla mpeg mpi mule mysql nas ncurses nls oav odbc oggvorbis opengl oss pam
pcmcia pdflib perl plotutils png pnp python qt quicktime readline sasl scanner
sdl slang slp snmp socks5 spell sse ssl svga tcltk tcpd tiff truetype trusted
usb video_cards_radeon wavelan wmf x86 xface xml xml2 xmms xv zeo zlib"
Comment 1 Chris White (RETIRED) gentoo-dev 2004-04-26 23:44:45 UTC
I tried the required steps as you showed above.  The exact same portage version was used as well.  One thing I will mention, as developers have cautioned against using the -U flag, I used `emerge -uDfp world` and `emerge -uDf world` instead.

Following the procedure:

1) I got the list of files that would be downloaded by the -f argument.  

2) After the list was compiled, I changed the /usr/portage/distfiles directory

3) I manually downloaded all the files in the list into /usr/portage distfiles

4) I did `emerge -uDf world` and for all the files that I downloaded I recieved:

>>> python-fchksum-1.7.1.tar.gz MD5 ;-)
>>> md5 src_uri ;-) python-fchksum-1.7.1.tar.gz
>>> emerge (2 of 7) app-text/sgml-common-0.6.3-r4 to /
>>> Previously fetched file: sgml-common-0.6.3.tgz MD5 ;-)
>>> md5 src_uri ;-) sgml-common-0.6.3.tgz
>>> emerge (3 of 7) net-mail/mailwrapper-0.1 to /
>>> Previously fetched file: mailwrapper-0.1.tbz2 MD5 ;-)
>>> md5 src_uri ;-) mailwrapper-0.1.tbz2
>>> emerge (4 of 7) net-mail/ssmtp-2.60.7 to /
>>> Previously fetched file: ssmtp_2.60.7.tar.gz MD5 ;-)
>>> md5 src_uri ;-) ssmtp_2.60.7.tar.gz
>>> emerge (5 of 7) net-misc/curl-7.11.0 to /
>>> Previously fetched file: curl-7.11.0.tar.bz2 MD5 ;-)
>>> md5 src_uri ;-) curl-7.11.0.tar.bz2
>>> emerge (6 of 7) media-libs/libmikmod-3.1.11 to /
>>> Previously fetched file: libmikmod-3.1.11.tar.gz MD5 ;-)
>>> md5 src_uri ;-) libmikmod-3.1.11.tar.gz
>>> emerge (7 of 7) app-text/texi2html-1.64-r1 to /
>>> Previously fetched file: texi2html-1.64.tar.gz MD5 ;-)
>>> md5 src_uri ;-) texi2html-1.64.tar.gz

only issue being python-fchksum-1.7.1.tar.gz which I forgot to download but was still on the list.

As is such, I am unable to verify this as a valid bug.  
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2004-04-28 16:05:51 UTC
Duplicate it somehow, produce the data, and reopen the bug.