Hi; I went to install some s/w and it looked like there was a problem with openssl. So I decided to uninstall it (yum remove) and reinstall it. When I went to reinstall, I discovered I couldn't use yum. Then I discovered: [root at 13gems qmail-1.03]# yum install openssl -bash: /usr/bin/yum: No such file or directory [root at 13gems qmail-1.03]# man yum Floating point exception [root at 13gems qmail-1.03]# cd / [root at 13gems /]# mkdir yum mkdir: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory [root at 13gems /]# wget http://linux.duke.edu/projects/yum/download/2.0/yum-2.0.7.tar.gz -bash: /usr/bin/wget: No such file or directory [root at 13gems /]# ls /usr/bin/ ls: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory [root at 13gems /]# [root at 13gems /]# python -bash: python: command not found Please advise ASAP! Victor -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20091112/8bd71d41/attachment-0003.html>
Victor Subervi wrote: shutdown -fr now To force a FSCK while the machine will reboot... seems like a disk error...> Hi; > I went to install some s/w and it looked like there was a problem with > openssl. So I decided to uninstall it (yum remove) and reinstall it. > When I went to reinstall, I discovered I couldn't use yum. Then I > discovered: > > [root at 13gems qmail-1.03]# yum install openssl > -bash: /usr/bin/yum: No such file or directory > [root at 13gems qmail-1.03]# man yum > Floating point exception > [root at 13gems qmail-1.03]# cd / > [root at 13gems /]# mkdir yum > mkdir: error while loading shared libraries: libselinux.so.1: cannot > open shared object file: No such file or directory > [root at 13gems /]# wget > http://linux.duke.edu/projects/yum/download/2.0/yum-2.0.7.tar.gz > -bash: /usr/bin/wget: No such file or directory > [root at 13gems /]# ls /usr/bin/ > ls: error while loading shared libraries: libselinux.so.1: cannot open > shared object file: No such file or directory > [root at 13gems /]# > [root at 13gems /]# python > -bash: python: command not found > Please advise ASAP! > Victor > ------------------------------------------------------------------------ > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
On 11/12/2009 05:40 PM, Victor Subervi wrote:> [root at 13gems /]# python > -bash: python: command not found > Please advise ASAP!Reading whats on the screen and checking the list before you confirm : NOT optional. You need to get syslog's track for yum's operations - find out what was taken out, then get to http://mirror.centos.org/centos/ and get the basic rpms yourself ( if rpm works ) -- Karanbir Singh London, UK | http://www.karan.org/ | twitter.com/kbsingh ICQ: 2522219 | Yahoo IM: z00dax | Gtalk: z00dax GnuPG Key : http://www.karan.org/publickey.asc
> Hi; > I went to install some s/w and it looked like there was a problem with > openssl. So I decided to uninstall it (yum remove) and reinstall it. When > I went to reinstall, I discovered I couldn't use yum. Then I discovered:<snip> I believe yum uses ssl, and it is, of course, trying to get it all over the network. Time to walk in with a CD or DVD and do an rpm install from that, all of them. mark
On Thu, Nov 12, 2009 at 12:40 PM, Victor Subervi <victorsubervi at gmail.com> wrote:> Hi; > I went to install some s/w and it looked like there was a problem with > openssl. So I decided to uninstall it (yum remove) and reinstall it. When I > went to reinstall, I discovered I couldn't use yum. Then I discovered:Oh my. You do realize that a "yum erase" will gladly remove packages dependent on that package? On my system, "yum erase openssl" will remove 433 other packages. Easiest thing may be to grab the install media and manually install the yum package, then use yum to re-install the rest.
Great thing about lurking in lists, is that you learn stuff! I wanted to know how to remove every dreaded package that had been installed when an intern/idiot decided to install x on a remote server - now I know yum erase should do the trick!> Oh my. > You do realize that a "yum erase" will gladly remove packages > dependent on that package? On my system, "yum erase openssl" will > remove 433 other packages.
At Thu, 12 Nov 2009 18:05:53 -0000 CentOS mailing list <centos at centos.org> wrote:> > Great thing about lurking in lists, is that you learn stuff! I wanted to > know how to remove every dreaded package that had been installed when an > intern/idiot decided to install x on a remote server - now I know yum > erase should do the trick!But you of course should be *careful*. Erase the wrong thing and all hell breaks loose...> > > Oh my. > > You do realize that a "yum erase" will gladly remove packages > > dependent on that package? On my system, "yum erase openssl" will > > remove 433 other packages. > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >-- Robert Heller -- 978-544-6933 Deepwoods Software -- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows heller at deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/