Re: lost commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Just out of curiosity, how would one do that without any of the
> package management tools available? Is it with a separate instance of
> rpm/yum that is on the rescue disc? But aren't packages like yum and
> rpm not relocatable?
>
> Thanks for any clarifications.
>
>    

Actually you don't even have to boot your rescue disc, if the OS ist 
still booting.

Just navigate to the directory in the installation disc, where the rpm 
(not the src.rpms!!) are and run  the command rpm directly:

rpm -i yum.xxxxx.rpm

If rpm complains about missing packages, it's very likely, that these 
packages are also on the disc. Rerun the command with

rpm -i yum-xxx.rpm whateverismissing-xxx.rpm

The command "rpm" ist installed in /bin, as it's a very basic sysadmin 
tool. It's very unlikely, that rpm depends on yum and thus was hopefully 
not uninstalled for depency reasons.

If you don't have the installation disc, but a fast internet connection, 
you can also specify the rpm files by a URL of a fedora mirror:

rpm -i http://some.mirror.fedora.org/pub/bla/blub/yum-xxx.rpm 
http://some.mirror.fedora.org/pub/bla/blub/whateverismissing-xxx.rpm

greets Boris
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux