Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83948 - "emerge -pvuD --usepkg mplayer" offers different packages than "emerge -pvuD mplayer"
Summary: "emerge -pvuD --usepkg mplayer" offers different packages than "emerge -pvuD ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 83961 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-03 06:22 UTC by csights
Modified: 2005-03-03 12:26 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 csights 2005-03-03 06:22:08 UTC
"emerge -pvuD --usepkg mplayer" offers different packages than "emerge -pvuD mplayer"

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
---------------- emerge with --usepkg

emerge -pvuD --usepkg mplayer

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[binary     U ] sys-kernel/linux-headers-2.4.22-r1 [2.4.21-r1] -build 

Total size of downloads: 0 kB
-------------------------------------------------------

-------  emerge with no usepkg ---------
emerge -pvuD mplayer

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] sys-kernel/linux-headers-2.4.22-r1 [2.4.21-r1] -build 0 kB 
[ebuild  N    ] media-libs/libdvdcss-1.2.8  -doc -static 204 kB 
[ebuild  N    ] media-libs/libdvdread-0.9.4  250 kB 

Total size of downloads: 455 kB
-------------------------------------------------------

Expected Results:  
The package list should remain the same whether usepkg is specified or not.

emerge info  
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.4.24-om2 i686)
=================================================================
System uname: 2.4.24-om2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 14 2005, 20:17:21)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS=" -march=athlon -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=" -march=athlon -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/
http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/
http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j1"
PKGDIR="/mnt/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow X apm avi berkdb bitmap-fonts cdr crypt cups dvdr emboss fam
font-server gdbm gif gtk2 imagemagick jpeg libg++ mmx motif mpeg nls oggvorbis
opengl pam png python quicktime readline real ssl tetex tiff truetype
truetype-fonts type1-fonts xprint xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-03 08:15:34 UTC
*** Bug 83961 has been marked as a duplicate of this bug. ***
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2005-03-03 12:07:55 UTC
Try using --tree.

This is not a bug, it's a feature.

Try adding --newuse to your flags.
Comment 3 csights 2005-03-03 12:26:45 UTC
I have updated the packages and would have to uninstall in order to see what --newuse and --tree would do.  What should I look for next time?

I don't see any * on the USE flags for the packages being emerged.  How would --newuse change anything?
 
Maybe you confusing -K (usepkgonly) with -k (usepkg)?  From the emerge man page: "--usepkg (-k) Tells emerge to use binary packages (from $PKGDIR) if they are available, ..."  This leads to an expectation that emerge will download source if the binary packages aren't available.
E.g.
________________________________________
emerge -pvuD --usepkg mplayer

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[binary     U ] sys-kernel/linux-headers-2.4.22-r1 [2.4.21-r1] -build 0 kB 
[ebuild  N    ] media-libs/libdvdcss-1.2.8  -doc -static 204 kB 
[ebuild  N    ] media-libs/libdvdread-0.9.4  250 kB 
___________________________________________________________________________

    rather than what actually happens:
___________________________________
emerge -pvuD --usepkg mplayer

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[binary     U ] sys-kernel/linux-headers-2.4.22-r1 [2.4.21-r1] -build 
___________________________________________________________________________

    This is the result I expect from -K (usepkgonly)