Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194083 - portage-2.1.3.10 - emerge -C fails if there is a separate /usr partition
Summary: portage-2.1.3.10 - emerge -C fails if there is a separate /usr partition
Status: VERIFIED DUPLICATE of bug 194081
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 194085 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-28 12:39 UTC by Juergen Rose
Modified: 2007-09-28 12:47 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 Juergen Rose 2007-09-28 12:39:29 UTC
I tried at about 9 PCs to delete old linux sources with
   
    emerge -C vanilla-sources-2.6.23_rc3

then I tried to delete packages remove from the portage tree with:

    emerge -C net-print/hpijs app-emacs/eieio media-plugins/gst-plugins-dvdnav app-emacs/speedbar


At 8 PCs the command failed with something like:

  File "/usr/lib64/portage/pym/portage.py", line 7390, in unmerge
    self._unmerge_pkgfiles(pkgfiles, others_in_slot)
  File "/usr/lib64/portage/pym/portage.py", line 7632, in _unmerge_pkgfiles
    os.rmdir(obj)
OSError: [Errno 16] Device or resource busy: '/usr'

I checked the filesystem but the error did not disappear.  At one PC 'emerge -C' has no difficulties. The only difference I found between these two classes of PCs is:
   At the PC where 'emerge -C' is working there is no seperate /usr partition.
At all other PCs, where 'emerge -C' is not working,  there is a seperate /usr partition. 
At all PCs there is portage-2.1.3.10 installed.

    Regards Juergen

Reproducible: Always




root@grizzly:/usr/lib/portage(48)# emerge --info
Portage 2.1.3.10 (default-linux/amd64/2007.0, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Fri, 28 Sep 2007 11:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8"
CHOST="x86_64-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-ac
tive/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp.fi.muni.c
z/pub/linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de
/pub/linux/gentoo ftp://ftp.easynet.nl/mirror/gentoo/ "
LINGUAS="de fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 -
-exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/local/portage /usr/local/portage/xeffects/trunk /usr/local/portage/xeffects/experimental /us
r/local/sci"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac acl acpi aiglx alsa amd64 amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-completion b
eagle berkdb bitmap-fonts blas bluetooth bonobo boo bzip2 cairo cdda cddb cdio cdparanoia cdr cgi chm cli corba cracklib crypt cups curl daap dbus d
evice-mapper dga divx dlloader dmi dri dv dvb dvd dvdr dvi dxr3 dynagraph effects elf emacs emboss encode epiphany esd evo evolution examples exif e
xpat fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx galago gdal gdbm geos gif gimp gimpprint ginac glade glitz gml gmp gnome gnu
plot gnutls gphoto2 gpm graphviz grass gs gsl gsm gstreamer gtk guile hal hardened hddtemp hdf hdf5 hlapi iconv icq id3 imagemagick innodb ipv6 isdn
log ithreads jabber java jbig john jp2 jpeg jpeg2k kexi ladspa lame lapack latex lcms ldap libgda libsamplerate lirc lm_sensors lua lzo lzw mad math
 matroska midi mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4live mpeg mpeg2 mplayer mudflap musicbrainz mysql mysqli na
utilus ncurses neXt netcdf network nfs nls nntp nptl nptlonly ntfs numarray numeric ocaml octave odbc ogdi ogg ole opengl openmp pae pam pcre pdf pe
rl plotutils png posix postgres pppd preview-latex proj python qhull quicktime readline reflection reiserfs rhythmbox rle rrdcgi rrdtool samba sdl s
ession slang slp sndfile snmp sox speex spell spl sqlite sse sse2 ssl subtitles svg t1lib tcltk tcpd tetex theora threads thunderbird tidy tiff tk t
ruetype truetype-fonts type1-fonts unicode userlocales utempter v4l2 vorbis wmf xattr xemacs xext xine xml xmlreader xmlrpc xorg xpm xv xvid xvmc zl
ib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x
0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec95
8 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" DVB_CARDS="tda10046 saa7134" ELIBC="glibc" INPUT_DEVICES="ke
yboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" LIRC_DEVICES="haupp
auge_dvb" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-28 12:44:08 UTC

*** This bug has been marked as a duplicate of bug 194081 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-28 12:46:30 UTC
*** Bug 194085 has been marked as a duplicate of this bug. ***