Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121300 - Portage does not upgrade all packages
Summary: Portage does not upgrade all packages
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-02 06:55 UTC by Arno Hahma
Modified: 2006-02-02 10:03 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 Arno Hahma 2006-02-02 06:55:12 UTC
Portage does not upgrade all packages. I ran into this with samba. Portage claims the last
version is 3.0.14a-r2. When I look at /usr/portage/net-fs/samba, there are a plethora of newer versions available:

ls /usr/portage/net-fs/samba/
ChangeLog  metadata.xml             samba-3.0.20-r1.ebuild  samba-3.0.21a.ebuild
Manifest   samba-3.0.14a-r2.ebuild  samba-3.0.20a.ebuild    samba-3.0.21b.ebuild
files      samba-3.0.14a-r3.ebuild  samba-3.0.20b.ebuild


Now, WHY does not portage pick samba-3.0.21b, but insists, 3.0.14 is the latest:


# emerge -s samba 
Searching...   
[ Results for search key : samba ]
[ Applications found : 4 ]
 
*  net-fs/samba
      Latest version available: 3.0.14a-r2
      Latest version installed: 3.0.14a-r2


Portage information:


Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.11-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7 x86_64 AMD Opteron(tm) Processor 244
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=opteron -m64"
CHOST="x86_64-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.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=opteron -m64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X X509 aalib acl alsa arts audiofile avi berkdb bitmap-fonts bzip2 crypt cscope cups curl directfb dts dvd eds emboss encode esd expat fam ffmpeg flac foomaticdb fortran gdbm ggi gif gmp gnome gpm gstreamer gtk gtk2 guile imlib ipv6 jack java jpeg kde kerberos lcms ldap libcaca lzw lzw-tiff mad matroska mikmod mng motif mp3 mpeg mysql nas ncurses nls nptl ogg opengl pam pcre pdflib perl png python qt quicktime readline ruby samba sdl slang spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2006-02-02 06:59:14 UTC
Because 3.0.14a-r2 is the latest *stable* version. Please go back and read the handbook again...specifically the parts about ACCEPT_KEYWORDS, unmasking ebuilds, etc.
Comment 3 solar (RETIRED) gentoo-dev 2006-02-02 10:03:50 UTC
Arno, 
I find this util quite handy. http://dev.gentoo.org/~robbat2/earch-0.9

solar@simple python $ earch samba
samba-3.0.14a-r2[0]: alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86
samba-3.0.14a-r3[0]: ~sh
samba-3.0.20-r1[0]:
samba-3.0.20a[0]:
samba-3.0.20b[0]: ~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86