Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265034 - sys-apps/portage-2.1.6.11: resume list was lost after removal of package expected by emerge
Summary: sys-apps/portage-2.1.6.11: resume list was lost after removal of package expe...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 210077 268228
  Show dependency tree
 
Reported: 2009-04-05 23:46 UTC by Pacho Ramos
Modified: 2009-05-02 02:44 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 Pacho Ramos gentoo-dev 2009-04-05 23:46:56 UTC
I had two old ebuilds on my local portage overlay that failed to merge during "emerge -e world". After their failure, I removed them from the local overlay, then, I got the following behavior:
# emerge --resume
Calculating dependencies... done!
*** Resuming merge...
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 621) perl-core/version-0.76
>>> Emerging (2 of 621) dev-perl/DateManip-5.54
>>> Emerging (3 of 621) perl-core/ExtUtils-ParseXS-2.19
>>> Emerging (4 of 621) games-action/geki2-KXL-2.0.3-r2 from unknown repo
>>> Emerging (5 of 621) games-action/spacearyarya-kxl-1.0.2-r2 from unknown repo
>>> Emerging (6 of 621) x11-libs/qt-dbus-4.4.2
>>> Emerging (7 of 621) sys-apps/groff-1.20.1-r1
>>> Emerging (8 of 621) media-libs/t1lib-5.0.2-r1
>>> Emerging (9 of 621) x11-apps/xmessage-1.0.2
>>> Emerging (10 of 621) x11-themes/xcursor-themes-1.0.1
>>> Emerging (11 of 621) sci-astronomy/xephem-3.7.3
>>> Emerging (12 of 621) media-fonts/corefonts-1-r4
>>> Jobs: 0 of 621 complete, 20 running             Load avg: 1.50, 2.70, 5.44^C

Exiting on signal 2

belkin ~ # rm -rf /usr/local/portage/games-action/geki2-KXL/
belkin ~ # rm -rf /usr/local/portage/games-action/spacearyarya-kxl/
belkin ~ # emerge --resume
Calculating dependencies -
 * An expected package is not available: games-action/spacearyarya-kxl-1.0.2-r2
 *
 * The resume list contains one or more packages that are no longer
 * available. Please restart/continue the operation manually.
belkin ~ # emerge --resume
emerge: It seems we have nothing to resume...
belkin ~ # emerge --resume
emerge: It seems we have nothing to resume...
belkin ~ #

Having to run "emerge -e world" once again :-(

Also, where is stored resume list? Would be interesing being able to "edit" it manually. Thanks

Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-tuxonice-r8 i686)
=================================================================
System uname: Linux-2.6.28-tuxonice-r8-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-glibc2.0
Timestamp of tree: Sat, 04 Apr 2009 19:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo-euetib.upc.es/mirror/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa applet avahi bash-completion berkdb branding bzip2 cairo cdda cddb cdinstall cdr cleartype cli consolekit cracklib crypt cups daap dbus djvu dri dts dvd dvdr dvdread dvi eds emboss encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gif git glitz gnome gnome-keyring gpm gstreamer gtk hal iconv imagemagick isdnlog java jpeg jpeg2k kdeenablefinal kdehiddenvisibility kpathsea laptop latex libnotify lm_sensors lyx lzma mad midi mikmod mmx mmxext mono mp3 mpeg mudflap musicbrainz nautilus ncurses network network-cron networkmanager nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection reiserfs scanner sdl session spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs t1lib tcpd threads tiff truetype unicode usb v4l2 vcd vorbis webkit win32codecs x86 xattr xcb xinetd xml xmp xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2009-04-06 00:35:18 UTC
(In reply to comment #0)
> Having to run "emerge -e world" once again :-(
> 
> Also, where is stored resume list? Would be interesing being able to "edit" it
> manually. Thanks

It's stored in /var/cache/edb/mtimedb but it's not possible to recover the original list in this case since emerge it is destroyed by emerge. However, it would be possible to deduce which ones were most recently merged by looking at /var/db/pkg/*/*/COUNTER. With portage-2.2, it's also possible to use AgeSet as mentioned in bug 247106, comment #2.
Comment 2 Pacho Ramos gentoo-dev 2009-04-07 09:48:36 UTC
Thanks for the info. In my case I would need emerge to skip already merged packages and continue, but it's interesting to know that info anyway :-)
Comment 3 Zac Medico gentoo-dev 2009-04-10 19:24:49 UTC
In svn r13312 it's fixed to tolerate missing packages.
Comment 4 Zac Medico gentoo-dev 2009-04-11 04:26:41 UTC
This is fixed in 2.2_rc29.
Comment 5 Pacho Ramos gentoo-dev 2009-04-15 06:54:05 UTC
Thanks!
Comment 6 Zac Medico gentoo-dev 2009-05-02 02:44:36 UTC
This is fixed in 2.1.6.12.