[huskerlug] Re: Up2date updates
- From: Steve <steve@xxxxxxxxxxxxx>
- To: huskerlug@xxxxxxxxxxxxx
- Date: Wed, 24 Sep 2003 20:50:06 -0500
> rpm -Uvh up2date-3.1.23.2-1.i386.rpm
> error: Failed dependencies:
> up2date = 3.1.23 is needed by (installed) up2date-gnome-3.1.23-1
It's just telling you that up2date-gnome is indeed installed, and that it
requires the current verision of the up2date package that you have installed
in order to work.
> I then tried rpm -i instead of the whole -Uvh but that just generates
> more errors.
Yes, since it's already installed it probably complained about a lot of
conflicting files.
> I hope that adidn't make things worse for myself.
Nope, it should have failed to install unless you forced it to install. Just
for future reference, I would recommend always trying your RPM operations
with the "--test" option first, just to see what error message may crop up.
> I have both the files downloaded so how do I tell the one package where
> its brother is?
> Or if I am going about this all wrong, what should I do?
You're on the right track. Just specify both packages on the command line to
rpm:
rpm -Uvh up2date-3.1.23.2-1.i386.rpm up2date-gnome.3.1.23.2-1.i386.rpm --test
If that doesn't give you any complaints, remove the "--test" and do it for
real.
Another way to update packages using RPM (especially if there are a lot of
them to update), is to put them all in a directory by themselves, change to
that directory, and type:
rpm -Uvh *.rpm
It saves on the typing ;-)
One thing to remember about "-U" is that it really means "upgrade package, or
install it if it doesn't exist". The "-F" option is what I would consider
the real upgrade option. It will only try to upgrade packages that are
already installed.
Why is this useful? RPM is ftp/http aware. You can do:
rpm -Fvh ftp://some.redhat.mirror.site/<redhat version>/en/os/i386/*.rpm
There was a problem with using wild cards in one of the RPM versions, and I
don't know if it was ever fixed. Maybe they disabled this feature
intentionally so you couldn't use it instead of RHN ;-)
Hope this helps!
--
Steve Bremer
RHCE,CCNA
--
Real Men don't make backups. They upload it via ftp and let the world
mirror it. -- Linus Torvalds
--
GnuPG Key fingerprint = 7F06 4D73 7963 BE96 5189 953A E285 CB2C BA03 2746
Available on key servers.
----
Husker Linux Users Group mailing list
To unsubscribe, send a message to huskerlug-request@xxxxxxxxxxxxx
with a subject of UNSUBSCRIBE
- Follow-Ups:
- [huskerlug] Re: Up2date updates
- From: Martin Wolff
- References:
- [huskerlug] Up2date updates
- From: Martin Wolff
- [huskerlug] Re: Up2date updates
- From: Steve
- [huskerlug] Re: Up2date updates
- From: Martin Wolff
Other related posts:
- » [huskerlug] Up2date updates
- » [huskerlug] Re: Up2date updates
- » [huskerlug] Re: Up2date updates
- » [huskerlug] Re: Up2date updates
- » [huskerlug] Re: Up2date updates
- » [huskerlug] Re: Up2date updates
- » [huskerlug] Re: Up2date updates
- » [huskerlug] Re: Up2date updates
- » [huskerlug] Re: Up2date updates
- » [huskerlug] Re: Up2date updates
- » [huskerlug] Re: Up2date updates
- [huskerlug] Re: Up2date updates
- From: Martin Wolff
- [huskerlug] Up2date updates
- From: Martin Wolff
- [huskerlug] Re: Up2date updates
- From: Steve
- [huskerlug] Re: Up2date updates
- From: Martin Wolff