Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29101 - cannot emerge/install package
Summary: cannot emerge/install package
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-19 05:07 UTC by Miroslav Šulc
Modified: 2003-09-25 12:59 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 Miroslav Šulc gentoo-dev 2003-09-19 05:07:04 UTC
I have tried to install blackdown-jdk with -k but the install failed due to full
disk. So I redesigned my LVM to have enough space on /opt. Then I installed the
package again. After that I tried to install db package but it failed with gcj
error so I thought my blackdown-jdk is not correctly installed and I uninstalled
it with -C. Now I cannot install again the blackdown-jdk. Here is what I get:

# emerge -kd blackdown-jdk
Calculating dependencies
Parent:    None
Depstring: dev-java/blackdown-jdk
Candidates: ['dev-java/blackdown-jdk']
ebuild: dev-java/blackdown-jdk-1.4.1
binpkg: dev-java/blackdown-jdk-1.4.1
\
Parent:    binary / dev-java/blackdown-jdk-1.4.1 merge
Depstring:  virtual/glibc >=dev-java/java-config-0.2.6 doc? (
=dev-java/java-sdk-docs-1.4.1* )
Candidates: []
Exiting... binary / dev-java/blackdown-jdk-1.4.1 merge
Exiting... None
 ...done!
>>> emerge (1 of 1) dev-java/blackdown-jdk-1.4.1 to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2073, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1296, in merge
    retval=portage.pkgmerge(mytbz2,x[1])
  File "/usr/lib/python2.2/site-packages/portage.py", line 4856, in pkgmerge
    os.makedirs(pkgloc)
  File "/usr/lib/python2.2/os.py", line 204, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists: '/var/tmp/portage-pkg//blackdown-jdk-1.4.1/bin/'

As the message says "File exists", I wanted to delete the file to satisfy the
emerge but even as root I get "Permission denied".

What should I do to successfully install blackdown-jdk?

Below is info from the machine:

# emerge info
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Celeron (Coppermine)
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://download.nautilus.startnet.cz/gentoo-mirror/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://gentoo.mirrors.pair.com/
http://gentoo.mirrors.pair.com/ ftp://ftp.uninett.no/pub/linux/Gentoo
http://212.219.247.17/sites/www.ibiblio.org/gentoo/
http://212.219.56.162/sites/www.ibiblio.org/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://194.83.57.15/sites/www.ibiblio.org/gentoo/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm arts avi crypt cups encode foomaticdb gif gpm gtk imlib java
jpeg kde gnome libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis
opengl pdflib png qt quicktime sdl slang spell svga truetype X xml2 xmms xv zlib
gdbm berkdb readline tcpd pam ssl perl python"
Comment 1 Miroslav Šulc gentoo-dev 2003-09-19 08:09:12 UTC
Problem solved: It was because raiserfs filesystem was corrupted. Repairing the filesystem solved the problem.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-09-25 12:59:10 UTC
filesystem corrupted