Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30953 - emerge options -k and -f together cause binary packages to be installed! (fetch is skipped?)
Summary: emerge options -k and -f together cause binary packages to be installed! (fet...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Highest major
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-12 00:32 UTC by Robin Johnson
Modified: 2011-10-30 22:22 UTC (History)
0 users

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


Attachments
testcase input (scriptinput.gz,781 bytes, application/octet-stream)
2003-10-12 00:33 UTC, Robin Johnson
Details
testcase output (typescript.gz,24.02 KB, application/octet-stream)
2003-10-12 00:33 UTC, Robin Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-12 00:32:26 UTC
Basically, when options -k and -f are passed together and the tbz2 binary package exists, portage installs the package when it shouldn't! Even weird is if -p is specified as well, it STILL installs.

For the attachments:
scriptinput.gz is the testcase.
typescript.gz is the capture file from running 'script' with the testcase.
(use zcat typescript.gz to see the output)

Portage 2.0.49-r12 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.22-pre10-ac1)
=================================================================
System uname: 2.4.22-pre10-ac1 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.3.10p1
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control /var/qmail/alias /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/gentoo-distfiles"
FEATURES="buildpkg ccache digest sandbox cvs autoaddcvs"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.seren.com/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/gentoo-packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/gentoo-cvs/gentoo-x86"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 -3dfx X -Xaw3d -afs alsa arts -atlas berkdb -bonobo -canna -cjk -dga -dnd -dvb -emacs esd -evms2 -evo -freewnn -gb gnome -gphoto2 gtk gtk2 gtkhtml -guile -icc -icc-pgo -informix jack -joystick kde -kerberos -ladcca -lcms -leim -libgda -matrox -mbox motif mozilla mpi -mule nas -opengl oss qt -quicktime -ruby sdl -voodoo3 wxwindows -xface -xinerama xmms xv -zeo 3dnow aalib acl acpi amd apache2 apm avi bots cdr crypt cups curl directfb doc dvd encode ethereal expat fbcon firebird flash foomaticdb freetds gd gdbm ggi gif ginac gmtfull gmthigh gmtsuppl gmttria gpm gps imap imlib innodb ipalias ipv6 java jikes jpeg junit ldap libg++ libwww lirc mad maildir mcal md5sum mikmod mmx mpeg mysql ncurses nls -nptl oav -odbc offensive oggvorbis ospfapi pam pcap pda pdflib perl pic plotutils png pnp -postgres ppds python qhull readline samba sasl scanner slang slp snmp socks5 spell sse ssl svga tcltk tcpd tetex tiff truetype type1 ungif usagi usb v4l vscan wmf xml xml2 zlib clearpasswd"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-12 00:33:14 UTC
Created attachment 19124 [details]
testcase input
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-12 00:33:46 UTC
Created attachment 19125 [details]
testcase output
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2003-10-13 00:22:42 UTC
Should be temporarily fixed to do nothing in -r13.
Will probably make it download binaries at some point.