Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30706 - Invalid db entry errors after gnome 2.4 emerge fails
Summary: Invalid db entry errors after gnome 2.4 emerge fails
Status: RESOLVED DUPLICATE of bug 30613
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-08 16:40 UTC by dave
Modified: 2011-10-30 22:22 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 dave 2003-10-08 16:40:39 UTC
During an emerge on gnome2.4 I get this error:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 2149, in ?
      mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1356, in merge
      retval=portage.doebuild(y,"merge",myroot,edebug) 
  File "/usr/lib/python2.2/site-packages/portage.py", line 1821, in doebuild
	return
merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"]+"/build-info",myroot,myebuild=settings["EBUILD"])
    File "/usr/lib/python2.2/site-packages/portage.py", line 1940, in merge
        return mylink.merge(pkgloc,infloc,myroot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 5018, in merge
      return self.treewalk(mergeroot,myroot,inforoot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 4708, in treewalk
    unlockdir(mytmpdir_lock)
  File "/usr/lib/python2.2/site-packages/portage.py", line 5527, in unlockdir
    return unlockfile(mylock)
  File "/usr/lib/python2.2/site-packages/portage.py", line 5568, in unlockfile
    lockfilename,myfd,unlinkfile = mytuple
TypeError: unpack non-sequence

After receiving this error when I try to emerge anything else I get this error:

Calculating dependencies \!!! Invalid db entry:
/var/db/pkg/x11-themes/gnome-icon-theme-1.0.9.portage_lockfile
!!! Invalid db entry: /var/db/pkg/x11-themes/gnome-icon-theme-1.0.9.portage_lockfile
!!! Invalid db entry: /var/db/pkg/x11-themes/gnome-icon-theme-1.0.9.portage_lockfile
/!!! Invalid db entry: /var/db/pkg/app-dicts/aspell-en-0.51.0.portage_lockfile
\!!! Invalid db entry: /var/db/pkg/app-dicts/aspell-en-0.51.0.portage_lockfile
!!! Invalid db entry: /var/db/pkg/x11-themes/gnome-icon-theme-1.0.9.portage_lockfile
/

Not sure how to clean this up.  Thank you.

Reproducible: Always
Steps to Reproduce:
1.  emerge gnome2.4

Actual Results:  
gnome2 emerge failed with error code 
emerging anything else now has warning messages before they are merged

Expected Results:  
Installed gnome2.4

Gentoo Base System version 1.4.3.2
!!! Invalid db entry: /var/db/pkg/app-dicts/aspell-en-0.51.0.portage_lockfile
!!! Invalid db entry: /var/db/pkg/x11-themes/gnome-icon-theme-1.0.9.portage_lockfile
Portage 2.0.49-r9 (default-x86-1.4, gcc-3.2.2, glibc-2.2.5-r2,2.3.1-r3, 2.4.22-ac4)
=================================================================
System uname: 2.4.22-ac4 i686 AMD Athlon(tm) XP 3000+
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg kde gnome libg++
libwww mad mikmod mmx motif mpeg ncurses nls pdflib png quicktime spell truetype
xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts bonobo svga java
guile X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gtk qt opengl
mozilla gphoto2 cdr scanner"
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2003-10-08 16:58:18 UTC

*** This bug has been marked as a duplicate of 30613 ***