Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38639 - rm: cannot remove `/var/tmp/portage/foo': Read-only file system after emerging the new glibc
Summary: rm: cannot remove `/var/tmp/portage/foo': Read-only file system after emergin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-18 13:02 UTC by lil
Modified: 2004-03-05 14:26 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 lil 2004-01-18 13:02:21 UTC
this is what i get while trying to   

empereor root # rm -rf /usr/portage/distfiles/*
empereor root # rm -rf /var/tmp/portage/*
rm: cannot remove `/var/tmp/portage/erc-cvs-4.1': Read-only file system
rm: cannot remove `/var/tmp/portage/ethereal-0.10.0a': Read-only file system
rm: cannot remove `/var/tmp/portage/gaim-0.75-r5': Read-only file system
rm: cannot remove `/var/tmp/portage/glibc-2.3.3_pre20040117': Read-only file system
rm: cannot remove `/var/tmp/portage/libpcap-0.8.1': Read-only file system


also 

 
 net-im/gaim
    selected: 0.75-r4
   protected: 0.75-r5
     omitted: none
 
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
 
>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging net-im/gaim-0.75-r4...
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2391, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1540, in merge
    retval=unmerge("clean", [xsplit[0]])
  File "/usr/bin/emerge", line 1746, in unmerge
    retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,mysettings,unmerge _action not in ["clean","prune"])
  File "/usr/lib/portage/pym/portage.py", line 2256, in unmerge
    mylink.unmerge(trimworld=mytrimworld,cleanup=1)
  File "/usr/lib/portage/pym/portage.py", line 5112, in unmerge
    self.lockdb()
  File "/usr/lib/portage/pym/portage.py", line 4983, in lockdb
    self.lock_pkg = lockdir(self.dbpkgdir)
  File "/usr/lib/portage/pym/portage.py", line 31, in lockdir
    return lockfile(mydir,wantnewlockfile=1)
  File "/usr/lib/portage/pym/portage.py", line 60, in lockfile
    myfd = os.open(lockfilename, os.O_CREAT|os.O_WRONLY,0660)
OSError: [Errno 30] Read-only file system: '/var/db/pkg/net-im/gaim-0.75-r4.port age_lockfile'


i am geting this after upgrading glibc 

 # qpkg -I -v -nc glibc
sys-libs/glibc-2.3.3_pre20040117
sys-libs/glibc-2.3.3_pre20031222



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




 root # emerge info
Portage 2.0.50_pre16 (default-x86-1.4, gcc-3.3.2,
glibc-2.3.3_pre20040117-r0,2.3.3_pre20031222-r0, 2.6.1-gentoo-r1)
=================================================================
System uname: 2.6.1-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1300MHz
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apache2 apm avi berkdb cdr crypt cups emacs encode esd foomaticdb gdbm
gif gnome gpm gtk gtk2 imap imlib java jpeg libg++ libwww mad maildir mikmod
mod_php motif mozilla moznoirc mpeg ncurses nls nptl oggvorbis opengl oss pam
pdflib perl png python quicktime readline sasl sdl slang spell ssl svga tcltk
tcpd tetex truetype webapp-config x86 xml2 xv zlib"
Comment 1 lil 2004-01-18 13:30:22 UTC
not only that ... x wont work no more .... and when checking filesystem fcsk could not correct all errors :(
Comment 2 Alexander Gabert (RETIRED) gentoo-dev 2004-03-05 05:17:45 UTC
do you happen to use reiser fs?

what is the current status here?
Comment 3 lil 2004-03-05 14:26:46 UTC
i reinstalled , but whatever package i installed changed the permissions  thats why i wasnt able to do nothin , and it was ext3 :) 
thank u though