RE: <SOLVED> Problems when adding and removing packages using Red hat-config-pa ckages

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

 



Okay, I finally managed to get this sorted out. I'm posting my solution just
in case anyone else has this sort of problem.

A quick summary of what had happened:

I was removing packages via an X terminal screen (using XThinPro via a
Solaris 9 box) using the redhat-config-packages screen, when I somehow
managed to remove Gnome AND gdm. I don't know how it happened, but what I
should have done was checked all the packages that were going to get removed
instead of blindly accepting that I knew what was going on!

Anyway, after this, I couldn't log directly onto the machine as anyone, not
even root. I didn't have an XDMCP connection, but I could rlogin and telnet
to the machine as anyone. Clearly something had gone very wrong.

I tried to replace the Gnome installation, but redhat-config-packages wasn't
recognising the CD in the drive as being CD#1!!! I tried numerous work
arounds until I decided to reinstall, via rpm, my Gnome installation.

I looked through the list of Gnome programs and looked through the Red Hat
disks (in directory /RedHat/RPMS/) for matching rpm packages. I then
laboriously copied (via nfs shared disks) the rpms to a mounted disk and rpm
-i the packages. Any dependencies that were highlighted were copied (after I
found the package on the CD) and installed. It took a while, but I now have
a working console login and X terminal access.

The moral of this story is, if using redhat-config-packages (or add/remove
packages from the menu) examine everything that is listed, don't just assume
that the 35 packages that you selected for deletion will be the only ones
you are deleting!

Thanks for everyone's help.

Andrew

P.S. The original email and a reply is attached for more info. Sorry about
the company signature, I can't do anything about it.

-----Original Message-----
From: Pete Nesbitt [mailto:pete@xxxxxxxxx]
Sent: Tuesday, November 25, 2003 3:07 AM
To: redhat-list@xxxxxxxxxx
Subject: Re: Problems when adding and removing packages using
Redhat-config-pa ckages


On November 24, 2003 03:53 am, Cannon, Andrew wrote:
> Hi All,
>
> Yet another problem...
>
> I'm using redhat-config-packages via an XThinPro connection (similar to
> Exceed) to remove packages from our cluster master node (I need the disk
> space). I haven't removed Gnone at all, yet it has managed to disappear
> from the list of installed packages. When I try and reinstall it, it asks
> for the Psyche Disk #1. Okay I thought, I'll just go and log on to the
> machine and insert the cd. I now can't log on to the actual machine! Not
as
> root or anyone else. I don't want to reboot the machine, is there anything
> I can do to get all the packages back?
>
> I've tried rpm from the cd, but when I do rpm -q <package name.rpm> it
says
> that the package is not installed, yet when I rpm -i <package name.rpm> it
> says that the package is installed. Have I hosed my system, or is there a
> work around available?
>
> Andrew
>

Andrew,
when you query installed packages just use the base name, or if unsure, pipe

to grep.

for package.1386.rpm  try: 
rpm -q package
or
rpm -qa|grep -i pack  (the -i is "case insensitive")

-- 
Pete Nesbitt, rhce


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


NNC's UK Operating Companies : NNC Holdings Limited (no. 3725076), NNC Limited (no. 1120437), National Nuclear Corporation Limited (no. 2290928), STATS-NNC Limited (no. 4339062) and Technica-NNC Limited (no. 235856).  The registered office of each company is at Booths Hall, Chelford Road, Knutsford, Cheshire WA16 8QZ except for Technica-NNC Limited whose registered office is at 6 Union Row, Aberdeen AB10 1DQ.  NNC's head office and principal address is Booths Hall and the switchboard number is 01565 633800.  The NNC website is www.nnc.co.uk

This email and any files transmitted with it have been sent to you by the relevant UK operating company and are confidential and intended for the use of the individual or entity to whom they are addressed.  If you have received this e-mail in error please notify the NNC system manager by e-mail at eadm@xxxxxxxxxx


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux