On Mon, May 2, 2011 at 9:54 AM, Kevin O'Gorman <kogor...@gmail.com> wrote:
> > > On Mon, May 2, 2011 at 9:05 AM, Davide Carnovale < > francesco.davide.carnov...@gmail.com> wrote: > >> >> 2011/5/2 Helmut Jarausch <jarau...@igpm.rwth-aachen.de> >> >>> On 05/02/2011 05:38:03 PM, Davide Carnovale wrote: >>> > Hi all! >>> > i was going through a world update today and during --depclean emerge >>> > throw >>> > an error complaining about possible corrupted binaries or hw failure. >>> > since then it has stopped working, no matter what i try to emerge, >>> > the >>> > command simply return to the shell without any kind of error or any >>> > other >>> > output at all. >>> > i fired and usb stick with the gentoo 11 live dvd and i copied over >>> > both >>> > bash and emerge binaries to my machine, in case they were corrupted >>> > (bash >>> > was given as the most likely) but nothing changed. >>> > now i simply have no clue on what's wrong and how can i fix it, apart >>> > from a >>> > full reinstall, which i'd like to avoid. >>> > >>> > can anyone point me somewhere to solve this problem? >>> > >>> >>> emerge needs Python. Have you tried to invoke Python, just by >>> >>> python >>> import portage >>> quit() >>> >>> Helmut. >>> >>> @alan, no error are printed, where and what should i look for in the >> logs? >> >> @helmut python just returns to the console, without error or effect of any >> sort, does it means python has get unmerged and that's why emerge doesn't >> work anymore? >> >> > I have the same problem. I just did a --depclean, and find that 'vim' > cannot run: > > treat log # vim > vim: error while loading shared libraries: libpython2.6.so.1.0: cannot open > shared object file: No such file or directory > treat log # > > So I have to fall back on pico, which I only barely know how to use. > > I have quite a collection of binary packages (everything emerged in the > last few years), but even untarring them fails (just wedges with no message, > and even strace(1) is not helping me find this.) > > I can unpack on a different machine, but will that even help? > > BTW, it's not that I don't have python, it's just that version 2.6.6 got > unloaded somehow: > [I] dev-lang/python > Available versions: > (2.4) 2.4.6{tbz2} > (2.5) 2.5.4-r4{tbz2} > (2.6) 2.6.5-r3{tbz2} 2.6.6-r1{tbz2} 2.6.6-r2{tbz2} > (2.7) 2.7.1-r1{tbz2} > (3.1) 3.1.2-r4{tbz2} 3.1.3-r1{tbz2} > (3.2) [M]~3.2 > {-berkdb bootstrap build +cxx doc elibc_uclibc examples gdbm ipv6 > +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml} > Installed versions: <reformatted for clarity> > 2.4.6(2.4){tbz2}(11:05:11 PM 02/19/2011)(cxx gdbm ipv6 ncurses > readline ssl threads tk wide-unicode xml -berkdb -bootstrap -build -doc > -elibc_uclibc -examples -wininst) > 2.5.4-r4(2.5){tbz2}(11:16:07 PM 02/19/2011)(gdbm ipv6 ncurses > readline ssl threads tk wide-unicode xml -berkdb -build -doc -elibc_uclibc > -examples -sqlite -wininst) > 2.7.1-r1(2.7){tbz2}(06:11:36 PM 04/21/2011)(gdbm ipv6 ncurses > readline ssl threads tk wide-unicode xml -berkdb -build -doc -elibc_uclibc > -examples -sqlite -wininst) > 3.1.3-r1(3.1){tbz2}(02:31:33 PM 02/26/2011)(gdbm ipv6 ncurses > readline ssl threads tk wide-unicode xml -build -doc -elibc_uclibc -examples > -sqlite -wininst) > Homepage: http://www.python.org/ > > I'm right now trying to see if "eselect python set 3" will let emerge, vim > and tar run again. 3 is version 2.7. > > -- > Kevin O'Gorman, PhD > > ANSWER: yes it did. At least emerge and vim are working again. I'm also doing all of my usual post-emerge cleanups just in case: #!/bin/bash echo ' !!! Running dispatch-conf' dispatch-conf echo ' !!! Running revdep-rebuild --ignore' revdep-rebuild --ignore echo ' !!! Running lafilefixer --justfixit' lafilefixer --justfixit | fgrep -v 'skipping update' echo ' !!! Running perl-cleaner all' perl-cleaner all | fgrep -v 'Skipping directory' I'm hoping you also have an extra copy of python around, so you can do the same thing. -- Kevin O'Gorman, PhD