Gentoo Forums
Gentoo Forums
Quick Search: in
recover a bad emerge --update --newuse --deep world[SOLVED]
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
jserink
Guru
Guru


Joined: 30 Jan 2004
Posts: 301

PostPosted: Mon Nov 20, 2006 11:53 am    Post subject: recover a bad emerge --update --newuse --deep world[SOLVED] Reply with quote

Hi All:

Ok, it completed ~120 out of 212 files when it stopped on this error:
Calculating world dependencies... done!

>>> Emerging (1 of 79) dev-util/intltool-0.35.0 to /
* intltool-0.35.0.tar.bz2 MD5 ;-) ...
* [ ok ]
* intltool-0.35.0.tar.bz2 RMD160 ;-) ...
* [ ok ]
* intltool-0.35.0.tar.bz2 SHA1 ;-) ...
* [ ok ]
* intltool-0.35.0.tar.bz2 SHA256 ;-) ...
* [ ok ]
* intltool-0.35.0.tar.bz2 size ;-) ...
* [ ok ]
* checking ebuild checksums ;-) ...
* [ ok ]
* checking auxfile checksums ;-) ...
* [ ok ]
* checking miscfile checksums ;-) ...
* [ ok ]
* checking intltool-0.35.0.tar.bz2 ;-) ...
* [ ok ]
>>> Unpacking source...
>>> Unpacking intltool-0.35.0.tar.bz2 to
>>> /var/tmp/portage/dev-util/intltool-0.35.0/work
>>> Source unpacked.
>>> Compiling source in
>>> /var/tmp/portage/dev-util/intltool-0.35.0/work/intltool-0.35.0
>>> ...
./configure --prefix=/usr --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
--build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module
is required for intltool

!!! Please attach the following file when filing a report to
bugs.gentoo.org:
!!!
/var/tmp/portage/dev-util/intltool-0.35.0/work/intltool-0.35.0/config.log

!!! ERROR: dev-util/intltool-0.35.0 failed.
Call stack:
ebuild.sh, line 1568: Called dyn_compile
ebuild.sh, line 937: Called src_compile
ebuild.sh, line 605: Called econf
ebuild.sh, line 540: Called die
!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Actually, I tried to fix this error my manually emering the intltool ebuild but got the same error.
Problem is, the machine was rebooted before I could fix this, now when the machine boots there
is of course buckets of errors on the bootup screen and I can't login. The password prompt never comes
up, just says failed after I enter root. After cntrl-alt-del I get to run level 6 and it says to
enter the root PW for maintenance which I do...problem is, the entire file system is mounted as read only
so I can't even try to fix the problem.

I have some bootable live and installation CDs/DVD's here and I'd rather NOT have to retinstall....
Any pointers on how to fix the install on my HDD to avoid a reinstall?

Cheers,
John[/glep]


Last edited by jserink on Tue Nov 21, 2006 9:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
jeanfrancis
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1453
Location: Québec, Canada

PostPosted: Mon Nov 20, 2006 12:26 pm    Post subject: Reply with quote

Hi!

How did you install Gentoo the first time? If you installed manually, that will help as you already done the things you need to do ;)

You can boot up your installation CDs, then follow some parts of that handbook:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1

Note that this is the x86 handbook. Use the one of your architecture.

First, mount you drives: - 4.e. Mounting
Then, chroot: - 6.a. Chrooting

Once done, it will be like if you had boot your system normally, i.e. you can restart your emerge -uND world. You will surely get back the xml-parser error. You will surely resolve this problem with emerge XML-Parser.

Good luck!
Back to top
View user's profile Send private message
PaulBredbury
Veteran
Veteran


Joined: 14 Jul 2005
Posts: 5931

PostPosted: Mon Nov 20, 2006 12:27 pm    Post subject: Reply with quote

Well, emerge -s xml | grep perl shows the answer.

To do that, boot from the LiveCD and chroot into your installation, then run emerge.

It sounds like the missing dependency could be worth reporting on bugzilla.
Back to top
View user's profile Send private message
cyrillic
Veteran
Veteran


Joined: 18 Feb 2003
Posts: 7086
Location: Groton, Massachusetts USA

PostPosted: Mon Nov 20, 2006 12:56 pm    Post subject: Re: How recover a botched emerge --update --newuse --deep wo Reply with quote

jserink wrote:
Problem is, the machine was rebooted before I could fix this, now when the machine boots there
is of course buckets of errors on the bootup screen and I can't login.

What you should have done is run etc-update before rebooting, because the ~120 packages that you did install so far will need their config files updated.

It should be easy enough to recover from this by booting with a LiveCD, mounting your partitions, chrooting into your system, and running etc-update.
Back to top
View user's profile Send private message
jserink
Guru
Guru


Joined: 30 Jan 2004
Posts: 301

PostPosted: Tue Nov 21, 2006 2:47 am    Post subject: Botched emerge --update --newuse --deep worldSOLVED Reply with quote

many thanx for the help everyone.
Folowed Gurus instructions and CHrooted over the original partition.

To told the error on the intltool emerge I had to:
Emerge the following:
XML-LibXML,(again)
XML-LibXML-Common,
XML-LibXML-Iterator,
XML-Parser(again),

Then it worked.
Note, the again items were already on my system.

Have continued the emerge --update --newuse --deep world now and when its done, will run etc-update.

Looks like I'm in business.

thanx for the help all......
John

PS. You will NEVER get this kind of support from Microsoft or Cisco...NEVER!
Back to top
View user's profile Send private message
jeanfrancis
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1453
Location: Québec, Canada

PostPosted: Tue Nov 21, 2006 12:43 pm    Post subject: Reply with quote

Hehehe :)

As you can see, the Gentoo community (Linux in general), is very helpful ;)

Just a note, you added SOLVED to your last post, but you need to modify your first message and modify the subject :)
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1083
Location: indiana

PostPosted: Sat Jan 13, 2007 10:29 pm    Post subject: Re: recover a bad emerge --update --newuse --deep world[SOLV Reply with quote

jserink wrote:

checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module
is required for intltool


for me a simple emerge perl did the trick
_________________
PC1 : AMD64x2-5200+-1gb-380gb-Geforce 7050-2.6.28-gentoo-r5

PC2 : Pentium4 2ghz-768mb-200gb-geforce4ti-2.6.24-gentoo-r3

PC3 : Pentium3-M 933-512mb-20gb-s3savage-2.6.24-gentoo-r3
Back to top
View user's profile Send private message
ross_MoHaX
n00b
n00b


Joined: 13 Feb 2005
Posts: 42

PostPosted: Sun Jan 14, 2007 8:32 am    Post subject: Re: recover a bad emerge --update --newuse --deep world[SOLV Reply with quote

jserink wrote:
problem is, the entire file system is mounted as read only
so I can't even try to fix the problem.


actually solution was much easier. All you need is to remount your root partition in rw mode, you can achieve it this way:
Code:
mount /dev/hda2 / -o remount

where you should change /dev/hda2 to your actual root partition and no LiveCD needed.

Also very helpfull is to use genkernel. You can have two boot entries in grub.conf - one for genkernel with initrd, and else for genkernel image without initrd argument (you should compile everything you need to boot in kernel not as modules)

This is very helpfull, because if something goes wrong you can safely boot genkernel initrd image where you can find many helpfull tools (busybox, raidtools, lvm2 tools) which could help you to solve almost any problem with your system.
Back to top
View user's profile Send private message
cokehabit
Veteran
Veteran


Joined: 22 Apr 2004
Posts: 3202
Location: 'Til we have built Jerusalem In England's green and pleasant land

PostPosted: Tue Feb 20, 2007 8:06 pm    Post subject: Reply with quote

this works better than that
Code:
emerge perl libxml-perl XML-Parser

_________________
pkgcore, the newest and best portage replacement
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum