LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can Red Hat Package Upgrades be done from Install CD? (https://www.linuxquestions.org/questions/linux-software-2/can-red-hat-package-upgrades-be-done-from-install-cd-114916/)

LinuxBlackBox 11-11-2003 03:19 PM

Can Red Hat Package Upgrades be done from Install CD?
 
My computer is currently not working because I have corrupted some of the core OS files (ooops, hehe). I have tried a few ways to get these files back into the system, but with no sucess. I know that these files are on my Red Hat cd, but when I run the installer, it does not mention upgrading the system, only installing it fresh. If I was to do an install, without formatting the harddrive, and only selecting the minimal amount of packages required for the core OS, would I still keep my old files and programs? I would like to save my home directory, and preferrably not have to reinstall all of my programs that I have added over the past year. How can I do this?

Thank you for any help you may offer,
LinuxBlackBox

mossy 11-11-2003 03:46 PM

Random info that may help you/save time.

[man rpm]
rpm -V [verify]
rpm --test [will check for dependancies without actually installing]

GNOME RPM ~ in terminal run: gnorpm
you can manage your rpm packages here. You can install, uninstall, verify, packages - even from the CR-ROM etc. If you want to install a package you've downloaded, click Add.
Also check out: Find Packages [click on Operations > Find Packages where you can then query, verify or uninstall packages.

Hope this was helpful.

LinuxBlackBox 11-12-2003 06:30 AM

I did a man rpm, and found some useful commands. Now I am running
'rpm -i --nodeps --force --root /mnt/sysimage glibc-2.3.2-72.i686.rpm'

And I get the following error message, wich I do not understand in the lest:

"rpm: rpmio_international.h:281: fdGetFp: Assertion 'fd && fd->magic == 0x04463138' failed.
Aborted"

I ran gnorpm, but since gnome isnt installed (I am running from the rescue disk) it returned a 'command not found'.

Thank you for those tips, and I ask for anyone else to give any suggestions. My computer has been non-functional for over a week because of this, and I feel sure it must be something very simple.


All times are GMT -5. The time now is 05:30 PM.