View previous topic :: View next topic |
Author |
Message |
rdx n00b
Joined: 05 Sep 2002 Posts: 54 Location: Switzerland
|
Posted: Thu Nov 28, 2002 9:16 am Post subject: Portage is UNmerging entire system.. ! |
|
|
hi guys..
i really have a WEIRD situation here.. i had a 1.2 set up, worked real fine.. then we tried to move the system inside the partition layout, copied the files, but after that action the system was unable to boot up..
ok, we thought that we're smart and re-animated the machine with an stage3 bzip from _1.4_ ! so i expanded the tar.bz2, copied my old /etc and the machine booted fine... man was i happy!
BUT: then i made an emerge sync, updated my portage tree..
the problem now is that everytime i merge something, portage wants to remove _all_outdated_packages (as normal), but the problem is that that are _all_ necessary base-packages..
see:
Code: |
>>> Regenerating /etc/ld.so.cache...
>>> sys-devel/gcc-compat-1.4 merged.
>>> Recording sys-devel/gcc-compat in "world" favorites file...
>>> Auto-cleaning packages ...
sys-apps/cronbase
selected: 0.2.1
protected: 0.2.1-r1
omitted: none
sys-devel/perl
selected: 5.6.1-r6
protected: 5.6.1-r7
omitted: none
sys-devel/make
selected: 3.79.1-r4
protected: 3.80
omitted: none
sys-libs/pam
selected: 0.75-r7
protected: 0.75-r10
omitted: none
sys-apps/gawk
selected: 3.1.1
protected: 3.1.1-r1
omitted: none
sys-apps/tar
selected: 1.13.25-r2
protected: 1.13.25-r3
omitted: none
sys-libs/pwdb
selected: 0.61-r3
protected: 0.61-r4
omitted: none
sys-apps/groff
selected: 1.17.2-r2
protected: 1.17.2-r3
omitted: none
sys-apps/fileutils
selected: 4.1.8-r2
protected: 4.1.11
omitted: none
sys-apps/debianutils
selected: 1.16
protected: 1.16.3
omitted: none
sys-apps/hdparm
selected: 5.2-r2
protected: 5.2-r3
omitted: none
sys-apps/textutils
selected: 2.0.21
protected: 2.1
omitted: none
sys-apps/procps
selected: 2.0.7-r6
protected: 2.0.10-r1
omitted: none
sys-apps/e2fsprogs
selected: 1.27
protected: 1.29-r1
omitted: none
net-misc/openssh
selected: 3.4_p1-r3
protected: 3.5_p1
omitted: none
sys-devel/libtool
selected: 1.4.1-r9
protected: 1.4.1-r10
omitted: none
sys-apps/sed
selected: 3.02.80-r4
protected: 4.0.1
omitted: none
dev-libs/glib
selected: 1.2.10-r4
protected: 1.2.10-r5 2.0.6-r1
omitted: none
sys-libs/glibc
selected: 2.2.5-r6
protected: 2.2.5-r7
omitted: none
sys-apps/sh-utils
selected: 2.0.11-r5
protected: 2.0.15
omitted: none
app-editors/nano
selected: 1.0.8-r1
protected: 1.0.9
omitted: none
sys-apps/less
selected: 376
protected: 378
omitted: none
sys-apps/baselayout
selected: 1.8.3
protected: 1.8.4.2
omitted: none
sys-libs/readline
selected: 4.2a
protected: 4.1-r5
omitted: none
sys-devel/flex
selected: 2.5.4a-r4
protected: 2.5.4a-r5
omitted: none
sys-apps/file
selected: 3.37
protected: 3.39
omitted: none
sys-apps/portage
selected: 2.0.36
protected: 2.0.43
omitted: none
sys-apps/pam-login
selected: 3.6-r2
protected: 3.7
omitted: none
sys-apps/diffutils
selected: 2.7.7
protected: 2.8.4-r1
omitted: none
sys-devel/gettext
selected: 0.11.1
protected: 0.11.5
omitted: none
dev-lang/python
selected: 2.2.1-r4
protected: 2.2.1-r5
omitted: none
sys-libs/ncurses
selected: 5.2.20020511-r2
protected: 5.2-r7
omitted: none
sys-devel/binutils
selected: 2.13.90.0.4
protected: 2.11.92.0.12.3-r2
omitted: none
sys-devel/bc
selected: 1.06-r3
protected: 1.06-r4
omitted: none
sys-apps/sharutils
selected: 4.2.1-r5
protected: 4.2.1-r6
omitted: none
>>> Packages in red are slated for removal.
>>> Packages in green will not be removed.
>>> Waiting 5 seconds before starting unmerge.
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 Killed
root@stingray dn # |
DAMN! and it happened 3 times that i didn't see it, all the stuff got deleted.. i had nothing... no init, no mount, not even a shutdown bin.. all went away ;(..
so what can i do now to get my sys ok? i know that i have a weird mixture of 1.4 and old 1.2 bins..
i tried to make an emerge -e world, but:
Code: | >>> emerge sys-apps/groff-1.17.2-r3 to /
>>> md5 ;-) groff-1.17.2.tar.gz
>>> Unpacking source...
>>> Unpacking groff-1.17.2.tar.gz
patching file doc/Makefile
patching file doc/groff.texinfo
patching file src/preproc/pic/pic.y
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for i686-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking that C++ compiler can compile simple program... no
configure: error: a working C++ compiler is required
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 7, Exitcode 1
!!! (no error message) |
you guys see, i need help..
thanks!
rdx |
|
Back to top |
|
|
lanark Apprentice
Joined: 13 Sep 2002 Posts: 175 Location: Buenos Aires
|
Posted: Thu Nov 28, 2002 3:34 pm Post subject: Re: Portage is UNmerging entire system.. ! |
|
|
rdx wrote: | we tried to move the system inside the partition layout, copied the files, but after that action the system was unable to boot up. |
One thing is for sure... simply copying files from one partition to another DON'T WORK, man!!!
You must use some partition cloning program, as parted or partimage...
As for where do you go from where you are... ohhhhh what a real mess!!! I would install all fresh again from zero.... _________________ ·-=: lanark :=-· |
|
Back to top |
|
|
darktux Veteran
Joined: 16 Nov 2002 Posts: 1086 Location: Coimbra, Portugal
|
Posted: Sat Nov 30, 2002 12:46 am Post subject: |
|
|
rdx:
Perhaps now you should use the livecd to bootstrap your system in order to get the gcc compiler installed... _________________ Lego my ego, and I'll lego your knowledge
www.tuxslare.org - My reborn website |
|
Back to top |
|
|
IWBCMAN Guru
Joined: 25 Jun 2002 Posts: 474
|
Posted: Sat Nov 30, 2002 1:22 am Post subject: |
|
|
you may simply want to downlaoad the 1.2 version again, burn the iso and untar a stage3 tarball over-top of your existing system-this will give you a) a working c/c++ compiler b) continuity with your existing install c) a chance to consider doing an upgrade to 1.4, according to the steps decribed in these forums-simnply untarring a stage3 tarball from a 1.4 cd will not upgrade your sytem -it will give you a sytem with a lot of broken applications searchig for libraries which are no longer present, having been overwritten. |
|
Back to top |
|
|
_SkeLeToN_ Guru
Joined: 12 Sep 2002 Posts: 506 Location: Montreal,Canada
|
Posted: Sat Nov 30, 2002 2:46 am Post subject: |
|
|
There is no problem here ... emerge will remove the selected one and you will still have the protect one which is the most up-to-date ...
This option is in make.conf
Quote: |
# AUTOCLEAN enables portage to automatically clean out older or overlapping
# packages from the system after every successful merge. This is the
# same as running 'emerge -c' after every merge. Set with: "yes" or "no".
AUTOCLEAN="yes"
|
|
|
Back to top |
|
|
zhenlin Veteran
Joined: 09 Nov 2002 Posts: 1361
|
|
Back to top |
|
|
|