RE: SV: [expert] RPM Updates

2001-01-19 Thread Ron Heron

Actually, this whole thread is a joke.  But, no, I am entirely too lazy to
put all the rpms on one command line :) 

Also, for those so concerned that I won't know what the dependancies are,
(I thought for sure that the "by golly" would have shown I was kidding)
try this on any installed package: 

#rpm -Uhv --test whatever.rpm.  

For the recent KDE2.1, this is what I get:

egcs >= 1.1.2-40mdk is needed by kdevelop-2.1-0.20010115.1mdk
libg++.so.2.7.2 is needed by kdevelop-2.1-0.20010115.1mdk
libstdc++.so.2.7.2 is needed by kdevelop-2.1-0.20010115.1mdk

Not bad, eh?  I can live without kdevelop until monday :)

Ron





--- "D. Stark - eSN" <[EMAIL PROTECTED]> wrote:
> Ron said:
> "...you do a rpm -Uhv *.rpm in the directory you have all your recently
> downloaded
> packages.  Well, you are going to fail dependancies on packages that you
> will eventully install anyway, further down the list. "
> 
> Um, isnt that why you can put multiple rpms on ONE COMMAND LINE?
> 
> Or were you just joking and I missed it? Its been One of Those Days.
> 
> Derek Stark
> IT / Linux Admin
> eSupportNow
> xt 8952
> 
> 
> 


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/




RE: SV: [expert] RPM Updates

2001-01-19 Thread D. Stark - eSN

Ron said:
"...you do a rpm -Uhv *.rpm in the directory you have all your recently
downloaded
packages.  Well, you are going to fail dependancies on packages that you
will eventully install anyway, further down the list. "

Um, isnt that why you can put multiple rpms on ONE COMMAND LINE?

Or were you just joking and I missed it? Its been One of Those Days.

Derek Stark
IT / Linux Admin
eSupportNow
xt 8952






Re: SV: [expert] RPM Updates

2001-01-19 Thread Ron Heron

Uh, no, I know what dependancies are unresolved.  This is very simple.  If
you want to force an install, like I believe the guy was trying to do, you
can do the method below - BUT WHEN YOU ALREADY KNOW WHAT THE DEPS ARE!! 
Also, If you think about it, if you try to install, say XFree.  You do a
rpm -Uhv *.rpm in the directory you have all your recently downloaded
packages.  Well, you are going to fail dependancies on packages that you
will eventully install anyway, further down the list.  So, once you check
all the deps, and are sure you have all the packages, you can force them
(remember, beta and cooker apps often do not go in without complaints). 
In fact, the SuSE update site often instructs the user to force packages. 
When testing beta, it is just sometimes necessary.  As for not reporting
problems to developers, thanks for the suggestion, but I'll let the
developers tell me that - which none have yet!
--- Zeljko Vukman <[EMAIL PROTECTED]> wrote:
> Yes, you're doing wrong. It will work every time, but God knows
> how many unresolved dependencies you get as a result of doing this.
> If you experience that your fresh installed apps don't work as they
> should
> don't send bug reports to developers.
> 
> -Oprindelig meddelelse-
> Fra: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]På vegne af Ron Heron
> Sendt: 19. januar 2001 00:19
> Til: [EMAIL PROTECTED]
> Emne: Re: [expert] RPM Updates
> 
> 
> I may be doing it wrong, but by golly it has worked everytime!
> 
> #rpm -Uhv --force --nodeps *rpm
> 
> Ron
> 
> 
> 


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/




Re[2]: [expert] RPM Updates

2001-01-19 Thread Rusty Carruth

Tib <[EMAIL PROTECTED]> wrote:
> magick :P I'm stuck and don't want to force it, what is image magick?

a cool image fiddling tool/thingy.  I think even google would find it for
you...   ;-)

Yup, there it is: ImageMagick - Image Conversion and Manipulation Software,
http://www.imagemagick.org/

rc


Rusty Carruth  Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
Voice: (480) 345-3621  SnailMail: Schlumberger ATE
FAX:   (480) 345-8793 7855 S. River Parkway, Suite 116
Ham: N7IKQ @ 146.82+,pl 162.2 Tempe, AZ 85284-1825
ICBM: 33 20' 44"N   111 53' 47"W




SV: [expert] RPM Updates

2001-01-19 Thread Zeljko Vukman

Yes, you're doing wrong. It will work every time, but God knows
how many unresolved dependencies you get as a result of doing this.
If you experience that your fresh installed apps don't work as they should
don't send bug reports to developers.

-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]På; vegne af Ron Heron
Sendt: 19. januar 2001 00:19
Til: [EMAIL PROTECTED]
Emne: Re: [expert] RPM Updates


I may be doing it wrong, but by golly it has worked everytime!

#rpm -Uhv --force --nodeps *rpm

Ron






Re: [expert] RPM Updates

2001-01-18 Thread Tib

Ok, I found mandrake update in the rpms for 7.2 and I'm trying to update my
stuff so I can use it, only problem is that I keep hitting a snag of
libbz2.so.1 when trying to install the grpm package - so I try to
install/upgrade my bzip2 rpm and it says that libbz2.so.0 is needed by image
magick :P I'm stuck and don't want to force it, what is image magick?


Tib

On Thu, 18 Jan 2001, Tib wrote:

> MandrakeUpdate? That's not anything I can find on my filesystem
> I'm running mandrake 7 btw...
> 
> 
> 
> Tib
> 





Re: [expert] RPM updates

2001-01-18 Thread b5dave

-Uvh will update rpms that already exist on your system, but if the rpm
doesn't already exist on your system, it will do the same as an -ivh
(i.e., install the new rpm). In this sense, -ivh is redundant. -Fvh will
*only* update rpms that already exist on your system.

Dave.
.
On 18-Jan-2001 Mark Weaver wrote:
> So then it's better to do the -Uvh instead of the -Fvh?




Re: [expert] RPM Updates

2001-01-18 Thread Tib

MandrakeUpdate? That's not anything I can find on my filesystem
I'm running mandrake 7 btw...



Tib

On Fri, 19 Jan 2001, Alexander Skwar wrote:

> So sprach Tib am Thu, Jan 18, 2001 at 02:25:38PM -0800:
> > how the hell do I update this SOB now? And did those files it downloaded stay
> > somewhere on the disk or get deleted? (I sure hope not.. that was a lot of
> 
> Did you download them with MandrakeUpdate?  If so, have a look at
> /var/cache/grpmi, or maybe just look for them, by first updating your locate
> db (updatedb), and then doing a "locate some-file-you-downloaded".
> 
> Alexander Skwar
> 





Re: [expert] RPM Updates

2001-01-18 Thread Ron Heron

Right, I forgot to mention that you should run a naked Uhv, then figure
out what the complaints are, and make some sort of judgement on what to
do.  Then slap it in!  usually, the packages that require forces are beta
anyway.
--- Tib <[EMAIL PROTECTED]> wrote:
> well using that command, it CAN'T fail :] but who knows what conflicts
> may
> arise... I just wish there was an update utility on mandrake smart
> enough to
> help you with updating other dependencies rather than just bitching
> about it.
> 
> Hmm, note to developers for future releases? A SMARTER PACKAGE UTILITY.
> 
> 
> Tib
> 
> On Thu, 18 Jan 2001, Ron Heron wrote:
> 
> > I may be doing it wrong, but by golly it has worked everytime!
> > 
> > #rpm -Uhv --force --nodeps *rpm
> > 
> > Ron 
> > 
> > --- Tib <[EMAIL PROTECTED]> wrote:
> > > Well, after 12 hours of downloading and stuff - the Freshen command
> I
> > > used just
> > > spit everything back at me with conflicts and dependencies
> > > [grumblegrumble] so
> > > how the hell do I update this SOB now? And did those files it
> downloaded
> > > stay
> > > somewhere on the disk or get deleted? (I sure hope not.. that was a
> lot
> > > of
> > > downloading).
> > > 
> > > 
> > > Tib
> > > 
> > > 
> > 
> > 
> > __
> > Do You Yahoo!?
> > Get email at your own domain with Yahoo! Mail. 
> > http://personal.mail.yahoo.com/
> > 
> 
> 


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/




Re: [expert] RPM Updates

2001-01-18 Thread Ron Heron

I may be doing it wrong, but by golly it has worked everytime!

#rpm -Uhv --force --nodeps *rpm

Ron 

--- Tib <[EMAIL PROTECTED]> wrote:
> Well, after 12 hours of downloading and stuff - the Freshen command I
> used just
> spit everything back at me with conflicts and dependencies
> [grumblegrumble] so
> how the hell do I update this SOB now? And did those files it downloaded
> stay
> somewhere on the disk or get deleted? (I sure hope not.. that was a lot
> of
> downloading).
> 
> 
> Tib
> 
> 


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/




Re: [expert] RPM Updates

2001-01-18 Thread Tib

well using that command, it CAN'T fail :] but who knows what conflicts may
arise... I just wish there was an update utility on mandrake smart enough to
help you with updating other dependencies rather than just bitching about it.

Hmm, note to developers for future releases? A SMARTER PACKAGE UTILITY.


Tib

On Thu, 18 Jan 2001, Ron Heron wrote:

> I may be doing it wrong, but by golly it has worked everytime!
> 
> #rpm -Uhv --force --nodeps *rpm
> 
> Ron 
> 
> --- Tib <[EMAIL PROTECTED]> wrote:
> > Well, after 12 hours of downloading and stuff - the Freshen command I
> > used just
> > spit everything back at me with conflicts and dependencies
> > [grumblegrumble] so
> > how the hell do I update this SOB now? And did those files it downloaded
> > stay
> > somewhere on the disk or get deleted? (I sure hope not.. that was a lot
> > of
> > downloading).
> > 
> > 
> > Tib
> > 
> > 
> 
> 
> __
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/
> 





Re: [expert] RPM Updates

2001-01-18 Thread Alexander Skwar

So sprach Tib am Thu, Jan 18, 2001 at 02:25:38PM -0800:
> how the hell do I update this SOB now? And did those files it downloaded stay
> somewhere on the disk or get deleted? (I sure hope not.. that was a lot of

Did you download them with MandrakeUpdate?  If so, have a look at
/var/cache/grpmi, or maybe just look for them, by first updating your locate
db (updatedb), and then doing a "locate some-file-you-downloaded".

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die guenstige Art an Linux Distributionen zu kommen
Uptime: 1 day 0 hours 57 minutes




Re: [expert] RPM updates

2001-01-18 Thread J . A . Magallon


On 2001.01.19 Mark Weaver wrote:
> So then it's better to do the -Uvh instead of the -Fvh?
> 

When moving from 7.2 to Cooker, yes. Once all your system is a
mess^H^H^H^HCooker, -F will be usefull again.

-- 
J.A. Magallon  $> cd pub
mailto:[EMAIL PROTECTED]  $> more beer

Linux werewolf 2.4.0-ac9 #2 SMP Sun Jan 14 01:46:07 CET 2001 i686





Re: [expert] RPM updates

2001-01-18 Thread Mark Weaver

So then it's better to do the -Uvh instead of the -Fvh?

-- 
Mark

"If you don't share your concepts and ideals, they end up being worthless,"
"Sharing is what makes them powerful."

Linus Torvalds

On Thu, 18 Jan 2001, J . A . Magallon wrote:

>
> On 2001.01.18 Andrew George wrote:
> >
> > The gotcha is (of course there is one) that RPM dosn't handle dependancy
> > problems that well and you can run the command and just get a screenfull of
> > broken dependancy links thrown back at you for your trouble
> >
>
> Especially when package conventions have changed from 7.2 to cooker in the
> sense that a 7.2 package that was
>
> pack.x.y.z
> pack-devel.x.y.z
>
> now is split in libs and binaries and looks as:
>
> libpack.x.y.z
> libpack-devel.x.y.z
> pack.x.y.z
>
> So rpm -F only tries to update pack, and misses libpack-
>
>





[expert] RPM Updates

2001-01-18 Thread Tib

Well, after 12 hours of downloading and stuff - the Freshen command I used just
spit everything back at me with conflicts and dependencies [grumblegrumble] so
how the hell do I update this SOB now? And did those files it downloaded stay
somewhere on the disk or get deleted? (I sure hope not.. that was a lot of
downloading).


Tib





Re: [expert] RPM updates

2001-01-18 Thread J . A . Magallon


On 2001.01.18 Andrew George wrote:
> 
> The gotcha is (of course there is one) that RPM dosn't handle dependancy 
> problems that well and you can run the command and just get a screenfull of 
> broken dependancy links thrown back at you for your trouble
> 

Especially when package conventions have changed from 7.2 to cooker in the
sense that a 7.2 package that was

pack.x.y.z
pack-devel.x.y.z

now is split in libs and binaries and looks as:

libpack.x.y.z
libpack-devel.x.y.z
pack.x.y.z

So rpm -F only tries to update pack, and misses libpack-

-- 
J.A. Magallon  $> cd pub
mailto:[EMAIL PROTECTED]  $> more beer

Linux werewolf 2.4.0-ac9 #2 SMP Sun Jan 14 01:46:07 CET 2001 i686





Re: [expert] RPM updates

2001-01-18 Thread Anthony Russello


man rpm

that states that -F will freshen or update the package only if it
currently exists on your system in a presvious version.

> On Wednesday 17 January 2001 10:06 pm, you wrote:
> > On Mandrake's website, for each rpm update, it states to use rpm -Fvh
> > *.rpm
> >
> > If you use that for a large quantity of rpm files, as I just tested, it
> > works just fine.
> >
> > rpm -Fvh *.rpm
> >
> > Thanks
>
> What is the "F" for?
>
> --
> Mark
>
> "If you don't share your concepts and ideals, they end up being worthless,"
> "Sharing is what makes them powerful."
>
>   Linus Torvalds
>

I love deadlines. I like the whooshing sound they make as they fly by.
- Douglas Adams






Re: [expert] RPM updates

2001-01-18 Thread Andrew George

On Thu, 18 Jan 2001 23:04, you wrote:
> On Wednesday 17 January 2001 10:06 pm, you wrote:
> > On Mandrake's website, for each rpm update, it states to use rpm -Fvh
> > *.rpm
> >
> > If you use that for a large quantity of rpm files, as I just tested, it
> > works just fine.
> >
> > rpm -Fvh *.rpm
> >
> > Thanks
>
> What is the "F" for?

Freshen, it goes through all the files matching the wildcard (in this case 
any rpms in the directory) and if the RPM is newer than the one installed on 
your system it installs it.. It's handy for when you've got a directory full 
of RPM's and don't know which ones are Upgrades (like an FTP archive for 
example), oh thats another thing, it also works over FTP/HTTP and (from 
memory but I can't find it documented) NFS...very handy if your mirroring an 
archive and then running an FTP server on your network which you can upgrade 
all the workstations on.
For less ambitious setups...you can download all your RPM's to one spot and 
then use Freshen to update without specifying which RPM's your interested in 
(or can't be bothered).

The gotcha is (of course there is one) that RPM dosn't handle dependancy 
problems that well and you can run the command and just get a screenfull of 
broken dependancy links thrown back at you for your trouble

Hope this helps
Andrew




Re: [expert] RPM updates

2001-01-18 Thread Tib

according to the manpage it's 'freshen'


Tib

On Thu, 18 Jan 2001, Mark Weaver wrote:

> On Wednesday 17 January 2001 10:06 pm, you wrote:
> > On Mandrake's website, for each rpm update, it states to use rpm -Fvh
> > *.rpm
> >
> > If you use that for a large quantity of rpm files, as I just tested, it
> > works just fine.
> >
> > rpm -Fvh *.rpm
> >
> > Thanks
> 
> What is the "F" for?
> 
> 





Re: [expert] RPM updates

2001-01-18 Thread Mark Weaver

On Wednesday 17 January 2001 10:06 pm, you wrote:
> On Mandrake's website, for each rpm update, it states to use rpm -Fvh
> *.rpm
>
> If you use that for a large quantity of rpm files, as I just tested, it
> works just fine.
>
> rpm -Fvh *.rpm
>
> Thanks

What is the "F" for?

-- 
Mark

"If you don't share your concepts and ideals, they end up being worthless," 
"Sharing is what makes them powerful."

Linus Torvalds




Re: [expert] RPM updates

2001-01-17 Thread Tib

Ok, so here's what I did (well, it's still running). I ran the following
command, hope I was sane with this and not prone to screw up my system:

rpm -Fvh
ftp:[EMAIL PROTECTED]/pub/mirrors/mandrake/7.2/i586/Mandrake/RPMS/*.rpm

This should (if I understand it right) update all pakages that I have installed
that are at that path, yes? 


Tib

On Wed, 17 Jan 2001, Anthony Russello wrote:

> 
> On Mandrake's website, for each rpm update, it states to use rpm -Fvh
> *.rpm
> 
> If you use that for a large quantity of rpm files, as I just tested, it
> works just fine.
> 
> rpm -Fvh *.rpm
> 
> Thanks
> 
> > On Wednesday 17 January 2001 08:01 pm, you wrote:
> > > Is there a way to do a mass update of my RPMs? ie download them all and
> > > just do rpm -Uvh * -nodep ? (or whatever that command would end up being)
> > >
> > > 
> > > Tib
> >
> > sounds like you've got the general idea, although I don't think I'd do the
> > --nodeps thing unless you're reasonably sure that nothing of any consequence
> > is going to suffer from it. I've attempted to the upgrade twice that way and
> > ended up torching the partition tables both times I did it.
> >
> > If you can get by with doing the --test without any troubles then the install
> > will go off without a hitch.
> >
> > rpm -Uvh --test *.rpm
> >
> > that will run thru a test install of the packages as though a real install
> > was happening. Only thing different is that it's not actually going to
> > install anything. What it will do is test the dependencies to see if there
> > are any problems and if there are it will report them. That way you can fix
> > any dependency problems and not risk breaking your machine being in a hurry
> > to fource an upgrade.
> > --
> > Mark
> >
> > "If you don't share your concepts and ideals, they end up being worthless,"
> > "Sharing is what makes them powerful."
> >
> > Linus Torvalds
> >
> 
> I love deadlines. I like the whooshing sound they make as they fly by.
>   - Douglas Adams
> 
> 
> 





Re: [expert] RPM updates

2001-01-17 Thread Anthony Russello


On Mandrake's website, for each rpm update, it states to use rpm -Fvh
*.rpm

If you use that for a large quantity of rpm files, as I just tested, it
works just fine.

rpm -Fvh *.rpm

Thanks

> On Wednesday 17 January 2001 08:01 pm, you wrote:
> > Is there a way to do a mass update of my RPMs? ie download them all and
> > just do rpm -Uvh * -nodep ? (or whatever that command would end up being)
> >
> > 
> > Tib
>
> sounds like you've got the general idea, although I don't think I'd do the
> --nodeps thing unless you're reasonably sure that nothing of any consequence
> is going to suffer from it. I've attempted to the upgrade twice that way and
> ended up torching the partition tables both times I did it.
>
> If you can get by with doing the --test without any troubles then the install
> will go off without a hitch.
>
>   rpm -Uvh --test *.rpm
>
> that will run thru a test install of the packages as though a real install
> was happening. Only thing different is that it's not actually going to
> install anything. What it will do is test the dependencies to see if there
> are any problems and if there are it will report them. That way you can fix
> any dependency problems and not risk breaking your machine being in a hurry
> to fource an upgrade.
> --
> Mark
>
> "If you don't share your concepts and ideals, they end up being worthless,"
> "Sharing is what makes them powerful."
>
>   Linus Torvalds
>

I love deadlines. I like the whooshing sound they make as they fly by.
- Douglas Adams






Re: [expert] RPM updates

2001-01-17 Thread Mark Weaver

On Wednesday 17 January 2001 08:01 pm, you wrote:
> Is there a way to do a mass update of my RPMs? ie download them all and
> just do rpm -Uvh * -nodep ? (or whatever that command would end up being)
>
> 
> Tib

sounds like you've got the general idea, although I don't think I'd do the 
--nodeps thing unless you're reasonably sure that nothing of any consequence 
is going to suffer from it. I've attempted to the upgrade twice that way and 
ended up torching the partition tables both times I did it. 

If you can get by with doing the --test without any troubles then the install 
will go off without a hitch.

rpm -Uvh --test *.rpm

that will run thru a test install of the packages as though a real install 
was happening. Only thing different is that it's not actually going to 
install anything. What it will do is test the dependencies to see if there 
are any problems and if there are it will report them. That way you can fix 
any dependency problems and not risk breaking your machine being in a hurry 
to fource an upgrade.
-- 
Mark

"If you don't share your concepts and ideals, they end up being worthless," 
"Sharing is what makes them powerful."

Linus Torvalds




[expert] RPM updates

2001-01-17 Thread Tib

Is there a way to do a mass update of my RPMs? ie download them all and just do
rpm -Uvh * -nodep ? (or whatever that command would end up being) 


Tib