Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73109 - Dataloss after emerge operation - firefox is suspect nr. one
Summary: Dataloss after emerge operation - firefox is suspect nr. one
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High blocker
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-01 23:17 UTC by Jens Ansorg
Modified: 2004-12-02 10:57 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 Jens Ansorg 2004-12-01 23:17:20 UTC
I emerged/unmerged a few packages and now my /opt is empty - apart from a firefox directory. Lots of data lost - since it was "just" /opt fortunately nothing critical

Lets try to figure out what happened:

I did the usual emerge -u world. One of the updated packages is firefox. System starts to emerge packages, stopps during the emerge of firefox-1.0 with an error.  I decide to use the firefox-bin instead.

So I do 

emerge -C mozilla-firefox (unmerges firefox-10_rc2)
emerge mozilla-firefox-bin (emerges firefox-1.0)

then I start the emerge world again, still lots of packages to update ...

emerge works for a while and then stops during configure of one package: it complains about not finding javac. What the hell is going on? I sure do have that? But a manual javac -v indeed returns an error (not found)

So I take a look in /opt and OMG: its empty!! ok, not quite, there is a lonesome firefox directory there - but that's it.

The only packages in the whole process which deal with /opt are the firefox ones so I suspect one of those to have cleaned out my /opt

Just wonder which one.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-12-02 00:09:28 UTC
reopen with the output from emerge --info please.
Comment 2 Jens Ansorg 2004-12-02 09:55:07 UTC
Gentoo Base System version 1.4.16
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-ck3 i686)
=================================================================
System uname: 2.6.9-ck3 i686 AMD Athlon(tm) XP 2500+
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CC="gcc"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CVS_RSH="ssh"
CXX="g++"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DESKTOP_SESSION="gnome"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GCCBITS=" 32"
GDK_USE_XFT="1"
GDMSESSION="gnome"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
GLIBC_SSP_CHECKED="1"
GNOME_DESKTOP_SESSION_ID="Default"
GNOME_KEYRING_SOCKET="/tmp/keyring-otwehh/socket"
GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb ncurses"
GTK_RC_FILES="/etc/gtk/gtkrc:/home/jens/.gtkrc-1.2-gnome2"
GUILE_LOAD_PATH="/usr/share/guile/1.6"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="lisaserver"
INFODIR="/usr/share/info"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4/info"
INPUTRC="/etc/inputrc"
JAVAC="/opt/sun-jdk-1.4.2.06/bin/javac"
JAVA_HOME="/opt/sun-jdk-1.4.2.06"
JDK_HOME="/opt/sun-jdk-1.4.2.06"
KDEDIR="/usr/kde/3.3"
KDEDIRS="/usr"
KDE_MALLOC="1"
LESS="-R"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="jens"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.mp3=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.ogg=00;36:"
MAKEOPTS="-j2"
MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4/man:/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4/man::/opt/sun-jdk-1.4.2.06/man:/usr/qt/3/doc/man:/opt/sun-jdk-1.4.2.06/man:/usr/qt/3/doc/man"
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
NOCOLOR="false"
PAGER="/usr/bin/less"
PATH="/usr/bin/wrappers:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4:/usr/X11R6/bin:/opt/sun-jdk-1.4.2.06/bin:/opt/sun-jdk-1.4.2.06/jre/bin:/opt/sun-jdk-1.4.2.06/jre/javaws:/usr/qt/3/bin:/usr/kde/3.3/sbin:/usr/kde/3.3/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos s390 sh sparc x86 x86-obsd x86-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="20212"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-gnome-current /usr/local/bmg-main /usr/local/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK="/usr/lib/wine:/usr/lib/valgrind"
PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]"
PWD="/home/jens"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SANE_CONFIG_DIR="/etc/sane.d"
SESSION_MANAGER="local/lisaserver:/tmp/.ICE-unix/19932"
SGML_CATALOG_FILES="/etc/sgml/sgml-docbook.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/sgml-ent.cat:/etc/sgml/sgml-docbook-3.0.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/sgml-docbook-4.0.cat:/etc/sgml/sgml-docbook-4.1.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/dsssl-docbook-stylesheets.cat"
SHLVL="1"
SSH_AGENT_PID="19954"
SSH_AUTH_SOCK="/tmp/ssh-ZWPxr19932/agent.19932"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
TERMCAP="xterm|X11 terminal emulator:kD=\E[3~:is=\E[!p\E[?3;4l\E[4l\E>:rs=\E[!p\E[?3;4l\E[4l\E>:AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:DO=\E[%dB:UP=\E[%dA:LE=\E[%dD:RI=\E[%dC:al=\E[L:am:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#120:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:ho=\E[H:im=\E[4h:ei=\E[4l:mi:ks=\E[?1h\E=:ke=\E[?1l\E>:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:kn#12:kH=\E[4~:@7=\E[4~:kh=\E[1~:@0=\E[1~:kI=\E[2~:*6=\E[4~:kP=\E[5~:kN=\E[6~:km:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:li#40:md=\E[1m:me=\E[m^O:mr=\E[7m:ms:nd=\E[C:eA=\E)0:as=^N:ae=^O:ml=\El:mu=\Em:sc=\E7:rc=\E8:sf=\n:so=\E[7m:se=\E[27m:sr=\EM:st=\EH:ti=\E7\E[?47h:te=\E[2J\E[?47l\E8:vi=\E[?25l:ve=\E[?25h:up=\E[A:us=\E[4m:ue=\E[24m:xn:ut:Co#8:op=\E[39;49m:AB=\E[4%dm:AF=\E[3%dm:pa#64:Sf=\E[3%dm:Sb=\E[4%dm:kb=\037:"
USE="X aalib acl adns alsa apache2 apm avi berkdb bitmap-fonts breakme cdr cfg crypt cups curl divx4linux dvd eds encode esd evo f77 fam flac foomaticdb fortran gcj gd gdbm gif gimpprint gnome gnome2 gnomedb gnutls gpm gstreamer gtk gtk2 gtkhtml guile hal imagemagick imap imlib java jpeg kerberos ldap libg++ libgda libwww mad mikmod mmx mono motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nntp nptl oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline samba scanner sdl slang snmp spell sqlite sse ssl svg svga tcpd theora tif tiff truetype unicode usb userlocales wmf x86 xml xml2 xmms xv xvid zlib"
USER="jens"
USERLAND="GNU"
USERNAME="jens"
USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS"
WINDOWID="37748745"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthmIsPIg"
XINITRC="/etc/X11/xinit/xinitrc"
XPSERVERLIST=""
_="/usr/bin/emerge"

Comment 3 Jens Ansorg 2004-12-02 10:57:06 UTC
Sorry, I'm soooo stupid!

Don't know what went wrong but apparently the /opt was not mounted when I executed the mentioned actions - After booting the machine again everything is there

Sorry - will check double next time :)