TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:193] an interesting problem



Quoting Nishikant Kapoor (H) (nkapoor@c3ipros.com):
> I guess, I should have used the -Update flag instead of unistall&install,
> right ?
> 

rpm -Uhv is what I use.


> Nishi
> 
> Bob Tanner wrote:
> 
> > Quoting Nishikant Kapoor (H) (nkapoor@c3ipros.com):
> > > Hi all
> > >
> > > Here is an interesting situation.
> > >
> > > In an attempt to update my 'rpm' package from 2.3.11 to 2.4.12,
> > > I used 'rpm -ev rpm' to remove it, It gave me a couple of warnings
> > >
> > > cannot remove /usr/src/redhat/SPECS - directory not empty
> > > cannot remove /usr/src/redhat/SOURCES - directory not empty
> > > cannot remove /usr/src/redhat - directory not empty
> > >
> > > but apparently removed the package.
> > >
> > > And now comes the tricky part. I want to install the new rpm package
> > > using
> > > 'rpm -iv rpm-2.4.12-1.i386.rpm ' but oh, oh! I don't have the rpm
> > > package
> > > installed on my system. Catch 22, I guess.
> > >
> > > I can install it from the .gz but I'm hoping there is a workaround for
> > > it.
> >
> > Install the tar.gz
> >
> > >
> > > Another question, Have I lost my rpm database too ? If so, can it be
> > > rebuilt?
> >
> > /var/lib/rpm db should still be there.
> >
> > After install rpm --rebuilddb
> >
> > >
> > > Thanks
> > > Nishi
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
> > > For additional commands, e-mail: tclug-list-help@listserv.real-time.com
> > > Try our website: http://tclug.real-time.com
> >
> > --
> > Bob Tanner <tanner@real-time.com>       | Phone : (612)943-8700
> > http://www.real-time.com                | Fax   : (612)943-8500
> > Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
> > For additional commands, e-mail: tclug-list-help@listserv.real-time.com
> > Try our website: http://tclug.real-time.com
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
> For additional commands, e-mail: tclug-list-help@listserv.real-time.com
> Try our website: http://tclug.real-time.com

-- 
Bob Tanner <tanner@real-time.com>       | Phone : (612)943-8700
http://www.real-time.com                | Fax   : (612)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9