View previous topic :: View next topic |
Author |
Message |
tebers Tux's lil' helper
Joined: 24 Apr 2002 Posts: 115 Location: Germany, Kirchheim near Munich
|
Posted: Thu Sep 12, 2002 11:03 am Post subject: Help needed. I accidently unmerge glibc . |
|
|
On a remote server i unmerge all glibc and have now a connection still to the server open and i like to install remotly somehow glibc again, but all commands are not working.
Besides that i have a curecnt glibc tarball in /usr/portage/packages/ALL
Any hints or pathes to some tools for getting the system up again.
btw. The server is in switzerland while i am in Germany
Thorsten |
|
Back to top |
|
|
meyerm Veteran
Joined: 27 Jun 2002 Posts: 1311 Location: Munich / Germany
|
Posted: Thu Sep 12, 2002 12:47 pm Post subject: |
|
|
Hi Thorsten,
well, that's not funny. You almost don't have any more chance to get a local program to work if it is not linked statically. But if you have sshd or similar already running in the background, you could try to scp the needed files onto your box.
HTH,
Marcel |
|
Back to top |
|
|
tebers Tux's lil' helper
Joined: 24 Apr 2002 Posts: 115 Location: Germany, Kirchheim near Munich
|
Posted: Thu Sep 12, 2002 12:52 pm Post subject: |
|
|
well the question is what all files do i have to get .
and if i could get a statical liked tar for using the tarball.
So far now i am on the remote via ssl. but everything i enter for a command is unknown
Code: | bash: /usr/bin/scp: No such file or directory
|
and a new remote login fails. no acces anymore.
well i have an emergency plan. I called another kolleague in the other office for creating a boot cd and do this. which should work.
Code: | mkdir /mnt/gentoo
mount /dev/hda3 /mnt/gentoo
cd /mnt/gentoo
tar -xvjpf /mnt/gentoo/usr/portage/packages/All/glibc-2.2.5-r6.tbz2 |
thorsten
ps: No way with scp. i have to wait for my kolleague |
|
Back to top |
|
|
meyerm Veteran
Joined: 27 Jun 2002 Posts: 1311 Location: Munich / Germany
|
Posted: Thu Sep 12, 2002 1:40 pm Post subject: |
|
|
I meant you should go onto a remote system and call there "scp glibc-file myserver:/lib". This could work, as long as you started sshd as daemon and not over inetd.
But if you have someone there who could help, it is always the best solution... |
|
Back to top |
|
|
tebers Tux's lil' helper
Joined: 24 Apr 2002 Posts: 115 Location: Germany, Kirchheim near Munich
|
Posted: Fri Sep 13, 2002 7:12 am Post subject: |
|
|
all solved. the above code worked with the help of a person on site.
Thorsten |
|
Back to top |
|
|
|