Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104465 - No such file or directory error during removal of /var/db/pkg entry
Summary: No such file or directory error during removal of /var/db/pkg entry
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 03:24 UTC by Martin Mokrejš
Modified: 2007-01-11 11:06 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 Martin Mokrejš 2005-09-01 03:24:46 UTC
I just updated my installation and hit this problem:

[cut]

>>> x11-libs/pango-1.8.2 merged.

 x11-libs/pango
    selected: 1.8.1
   protected: 1.8.2
     omitted: none

[cut]

--- !targe sym /usr/lib/libpangoft2-1.0.so
--- !targe sym /usr/lib/libpango-1.0.so.0
--- !targe sym /usr/lib/libpango-1.0.so
 * Updating scrollkeeper database ...
 * Updating shared mime info database ...
***
* Updating MIME database in /usr/share/mime...
***
!!! Unable to remove db entry for this package.
!!! It is possible that a directory is in this one. Portage will still
!!! register this package as installed as long as this directory exists.
!!! You may delete this directory with 'rm -Rf /var/db/pkg/x11-libs/pango-1.8.1'
!!! [Errno 2] No such file or directory: '/var/db/pkg/x11-libs/pango-1.8.1/USE'

# ls -la /var/db/pkg/x11-libs/pango-1.8.1
ls: /var/db/pkg/x11-libs/pango-1.8.1: No such file or directory
# ls -la /var/db/pkg/x11-libs/pango-1.8.2/
total 172
drwxr-xr-x   2 root root  4096 Sep  1 12:06 .
drwxr-xr-x  17 root root  4096 Sep  1 12:06 ..
-rw-r--r--   1 root root     1 Sep  1 12:06 ASFLAGS
-rw-r--r--   1 root root     9 Sep  1 12:06 CATEGORY
-rw-r--r--   1 root root    18 Sep  1 12:06 CBUILD
-rw-r--r--   1 root root     1 Sep  1 12:06 CC
-rw-r--r--   1 root root     4 Sep  1 12:06 CDEPEND
-rw-r--r--   1 root root    66 Sep  1 12:06 CFLAGS
-rw-r--r--   1 root root    18 Sep  1 12:06 CHOST
-rw-r--r--   1 root root 10708 Sep  1 12:06 CONTENTS
-rw-r--r--   1 root root     4 Sep  1 12:06 COUNTER
-rw-r--r--   1 root root     1 Sep  1 12:06 CTARGET
-rw-r--r--   1 root root     1 Sep  1 12:06 CXX
-rw-r--r--   1 root root    21 Sep  1 12:06 CXXFLAGS
-rw-r--r--   1 root root   205 Sep  1 12:06 DEPEND
-rw-r--r--   1 root root     1 Sep  1 12:06 EXTRA_ECONF
-rw-r--r--   1 root root     1 Sep  1 12:06 EXTRA_EINSTALL
-rw-r--r--   1 root root     1 Sep  1 12:06 EXTRA_MAKE
-rw-r--r--   1 root root    44 Sep  1 12:06 FEATURES
-rw-r--r--   1 root root    56 Sep  1 12:06 INHERITED
-rw-r--r--   1 root root    24 Sep  1 12:06 IUSE
-rw-r--r--   1 root root     1 Sep  1 12:06 LDFLAGS
-rw-r--r--   1 root root     1 Sep  1 12:06 LIBCFLAGS
-rw-r--r--   1 root root     1 Sep  1 12:06 LIBCXXFLAGS
-rw-r--r--   1 root root    11 Sep  1 12:06 LICENSE
-rw-r--r--   1 root root     4 Sep  1 12:06 PDEPEND
-rw-r--r--   1 root root    12 Sep  1 12:06 PF
-rw-r--r--   1 root root     1 Sep  1 12:06 PKGUSE
-rw-r--r--   1 root root     1 Sep  1 12:06 PROVIDE
-rw-r--r--   1 root root   105 Sep  1 12:06 RDEPEND
-rw-r--r--   1 root root     1 Sep  1 12:06 RESTRICT
-rw-r--r--   1 root root     2 Sep  1 12:06 SLOT
-rw-r--r--   1 root root   991 Sep  1 12:06 USE
-rw-r--r--   1 root root 28549 Sep  1 12:06 environment.bz2
-rw-r--r--   1 root root  1849 Sep  1 12:06 pango-1.8.2.ebuild
#
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-09-01 14:35:53 UTC
Martin: For some reason /var/db/pkg/x11-libs/pango-1.8.1/USE is lost, so Portage
doesn't continue. Does /var/db/pkg/x11-libs/pango-1.8.1/CONTENTS exist?

Portage devs: I wonder about the USE error message. Shouldn't the existance of
CONTENTS suffice?!
Comment 2 Martin Mokrejš 2005-09-01 15:16:28 UTC
Hi Carsten,
 the whole directory did not exist. Unfrtunately I did not include the whole
emerge output, but I had a look for the directory in emerge output to see where
it deleted the contents ... it simply was not in the output. Also, after the
emerge died I looked for the directory as I said and it was gone. I have no clue
what happened. I hope someone else will hit the same problem.
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-10-06 05:43:17 UTC
Running two emerge instances in parallel perhaps? 
Comment 4 Martin Mokrejš 2005-11-10 01:18:00 UTC
No, definitely I had only one instance. But, I aggree that this report is not
much helpful to track down a problem. sorry. :(
Comment 5 Zac Medico gentoo-dev 2006-02-10 23:39:24 UTC
Please reopen if you get more info.
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 11:06:39 UTC
Closing due to old age