* General RPM question
@ 1999-12-19 18:11 Michael Rich
1999-12-19 19:49 ` Chris Kloiber
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Michael Rich @ 1999-12-19 18:11 UTC (permalink / raw)
To: axp-list
I have a sort of general RPM question that I was wondering about.
What is usually the best method to do updates per say? For instance, the
other day I was compiling FreeAMP, and it said I needed a newer version of
GTK, so I slid on over to RH website and pulled down a an updated RPM pack.
I then proceeded to try to install them with a command like:
rpm -U XXXXXX.rpm (don't remember the file name)
and it basically told me that there were dependencies on another package, so
I couldn't upgrade. When I downloaded and tried to upgrade that other, it
basically told me it was dependant on that original one I was trying to
upgrade (circular references it appears).
Now what is the sort of accepted way to do updates like this? I ended up
finding a switch to ignore dependencies, but that crap could come back to
haunt me one of these days since they are usually there to keep me from
doing something stupid.
Any suggestions/tips that could help an aspiring (hehe) Linux newbie?
Michael Rich
http://alphax86dev.cjb.net
http://www.cdx.sk/userwebs/zdrpg
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: General RPM question
1999-12-19 18:11 General RPM question Michael Rich
@ 1999-12-19 19:49 ` Chris Kloiber
1999-12-19 20:01 ` Charles E Taylor IV
1999-12-19 20:41 ` michael
2 siblings, 0 replies; 4+ messages in thread
From: Chris Kloiber @ 1999-12-19 19:49 UTC (permalink / raw)
To: axp-list
Michael Rich wrote:
>
> I have a sort of general RPM question that I was wondering about.
>
> What is usually the best method to do updates per say? For instance, the
> other day I was compiling FreeAMP, and it said I needed a newer version of
> GTK, so I slid on over to RH website and pulled down a an updated RPM pack.
> I then proceeded to try to install them with a command like:
>
> rpm -U XXXXXX.rpm (don't remember the file name)
>
> and it basically told me that there were dependencies on another package, so
> I couldn't upgrade. When I downloaded and tried to upgrade that other, it
> basically told me it was dependant on that original one I was trying to
> upgrade (circular references it appears).
>
> Now what is the sort of accepted way to do updates like this? I ended up
> finding a switch to ignore dependencies, but that crap could come back to
> haunt me one of these days since they are usually there to keep me from
> doing something stupid.
>
> Any suggestions/tips that could help an aspiring (hehe) Linux newbie?
>
> Michael Rich
> http://alphax86dev.cjb.net
> http://www.cdx.sk/userwebs/zdrpg
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
If two packages depend upon each other like that, you can update both at
once.
Put both rpms in an otherwise blank directory, and issue the command:
rpm -Uvh *.rpm --nodeps
or maybe even:
rpm -Uvh *.rpm --force
One or the other will work. Since you are talking about the GTK
libraries in particular, I would suggest you do this without X windows
running (say: run level 3, not having used startx) so that none of the
GTK libraries are in use. BTW- Don't ever try to update glibc on a
running system, or you won't have a running system anymore (I found out
the hard way :)
Chris Kloiber
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: General RPM question
1999-12-19 18:11 General RPM question Michael Rich
1999-12-19 19:49 ` Chris Kloiber
@ 1999-12-19 20:01 ` Charles E Taylor IV
1999-12-19 20:41 ` michael
2 siblings, 0 replies; 4+ messages in thread
From: Charles E Taylor IV @ 1999-12-19 20:01 UTC (permalink / raw)
To: axp-list
On 19-Dec-99 Michael Rich wrote:
> and it basically told me that there were dependencies on another package, so
> I couldn't upgrade. When I downloaded and tried to upgrade that other, it
> basically told me it was dependant on that original one I was trying to
> upgrade (circular references it appears).
Sounds like you had gtk-devel and gtk installed and tried to only upgrade gtk.
If that's the case, you can simply download and upgrade both packages at the
same time - something like this:
rpm -Uvh gtk-blahblah.alpha.rpm gtk-devel-blahblah.alpha.rpm
In fact, you can use windcards and install a directory full of updates with one
command this way.
If you've downloaded an entire directory of updates, say redhat's errata, the
preferred way is:
rpm -Fvh *.rpm
... while you're in the directory containing the updated packages.
Using the F will only update the packages you have installed on your system,
and will ignore the stuff you don't have. Say redhat errata contains an ftp
server update and you don't have an ftp server installed - then this package
will be ignored.
---
--------------------------------------------------------
E-Mail: Charles E Taylor IV <charlet@hubcap.clemson.edu>
<charlet@innova.net>
Date: 19-Dec-99
Time: 14:53:24
--------------------------------------------------------
Visit me on the web!
http://orangesherbert.ces.clemson.edu
--------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: General RPM question
1999-12-19 18:11 General RPM question Michael Rich
1999-12-19 19:49 ` Chris Kloiber
1999-12-19 20:01 ` Charles E Taylor IV
@ 1999-12-19 20:41 ` michael
2 siblings, 0 replies; 4+ messages in thread
From: michael @ 1999-12-19 20:41 UTC (permalink / raw)
To: axp-list
Do them both together
rpm -U 1st.rpm 2nd.rpm
On Sun, 19 Dec 1999, Michael Rich wrote:
> I have a sort of general RPM question that I was wondering about.
>
> What is usually the best method to do updates per say? For instance, the
> other day I was compiling FreeAMP, and it said I needed a newer version of
> GTK, so I slid on over to RH website and pulled down a an updated RPM pack.
> I then proceeded to try to install them with a command like:
>
> rpm -U XXXXXX.rpm (don't remember the file name)
>
> and it basically told me that there were dependencies on another package, so
> I couldn't upgrade. When I downloaded and tried to upgrade that other, it
> basically told me it was dependant on that original one I was trying to
> upgrade (circular references it appears).
>
> Now what is the sort of accepted way to do updates like this? I ended up
> finding a switch to ignore dependencies, but that crap could come back to
> haunt me one of these days since they are usually there to keep me from
> doing something stupid.
>
> Any suggestions/tips that could help an aspiring (hehe) Linux newbie?
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-12-19 20:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-19 18:11 General RPM question Michael Rich
1999-12-19 19:49 ` Chris Kloiber
1999-12-19 20:01 ` Charles E Taylor IV
1999-12-19 20:41 ` michael
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox