Unix Technical Forum

up2date on FC2 does not retain the RPM files ??

This is a discussion on up2date on FC2 does not retain the RPM files ?? within the Linux Operating System forums, part of the Unix Operating Systems category; --> I have recently upgraded an FC1 installation to FC2. After intalling FC2, I then proceeded to: up2date-nox --update However, ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 05:27 AM
noone
 
Posts: n/a
Default up2date on FC2 does not retain the RPM files ??

I have recently upgraded an FC1 installation to FC2.
After intalling FC2, I then proceeded to:

up2date-nox --update

However, the RPM files are no longer stored on /var/spool/up2date.
The .hdr files are there too.

So I watched that directory while I downloaded a specific package.
I noticed the .hdr file, then the rpm file, but after the rpm file was
installed, the rpm file was removed from the directory (
/var/spool/up2date ).

Can anyone verify ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 05:28 AM
Markku Kolkka
 
Posts: n/a
Default Re: up2date on FC2 does not retain the RPM files ??

noone wrote:
> So I watched that directory while I downloaded a specific package.
> I noticed the .hdr file, then the rpm file, but after the rpm file was
> installed, the rpm file was removed from the directory (
> /var/spool/up2date ).
>
> Can anyone verify ?


It's a configuration option. Run up2date-config, and you can choose to
keep the binary packages after installation if you want.

--
Markku Kolkka
markku.kolkka@iki.fi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 05:28 AM
noone
 
Posts: n/a
Default Re: up2date on FC2 does not retain the RPM files ??

Markku Kolkka wrote:
> noone wrote:
>
>>So I watched that directory while I downloaded a specific package.
>>I noticed the .hdr file, then the rpm file, but after the rpm file was
>>installed, the rpm file was removed from the directory (
>>/var/spool/up2date ).
>>
>>Can anyone verify ?

>
>
> It's a configuration option. Run up2date-config, and you can choose to
> keep the binary packages after installation if you want.
>


Thanks. Changed that now.

Is there a way via up2date to download the RPMs that I already have
installed without of course installing them again ?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 05:28 AM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: up2date on FC2 does not retain the RPM files ??


"noone" <noone@noone.org> wrote in message
news:dVVfd.948$K7.838@news-server.bigpond.net.au...
> Markku Kolkka wrote:
> > noone wrote:
> >
> >>So I watched that directory while I downloaded a specific package.
> >>I noticed the .hdr file, then the rpm file, but after the rpm file was
> >>installed, the rpm file was removed from the directory (
> >>/var/spool/up2date ).
> >>
> >>Can anyone verify ?

> >
> >
> > It's a configuration option. Run up2date-config, and you can choose to
> > keep the binary packages after installation if you want.
> >

>
> Thanks. Changed that now.
>
> Is there a way via up2date to download the RPMs that I already have
> installed without of course installing them again ?


Use yum instead. Much more friendly, faster, and subtle in its behavior.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 05:29 AM
Michael Heiming
 
Posts: n/a
Default Re: up2date on FC2 does not retain the RPM files ??

In comp.os.linux.setup Nico Kadel-Garcia <nkadel@comcast.net>:

> "noone" <noone@noone.org> wrote in message
> news:dVVfd.948$K7.838@news-server.bigpond.net.au...
>> Markku Kolkka wrote:
>> > noone wrote:

[..]

>> Is there a way via up2date to download the RPMs that I already have
>> installed without of course installing them again ?


> Use yum instead. Much more friendly, faster, and subtle in its behavior.


Agreed that yum is a great tool, however only downloading only is
also supported by up2date. All the OP needs is taking a look at
the fine manual 'man up2date'.

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 427: network down, IP packets delivered via UPS
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-18-2008, 05:32 AM
noone
 
Posts: n/a
Default Re: up2date on FC2 does not retain the RPM files ??

Michael Heiming wrote:
> In comp.os.linux.setup Nico Kadel-Garcia <nkadel@comcast.net>:
>
>
>>"noone" <noone@noone.org> wrote in message
>>news:dVVfd.948$K7.838@news-server.bigpond.net.au...
>>
>>>Markku Kolkka wrote:
>>>
>>>>noone wrote:

>
> [..]
>
>
>>>Is there a way via up2date to download the RPMs that I already have
>>>installed without of course installing them again ?

>
>
>>Use yum instead. Much more friendly, faster, and subtle in its behavior.

>
>
> Agreed that yum is a great tool, however only downloading only is
> also supported by up2date. All the OP needs is taking a look at
> the fine manual 'man up2date'.
>


You mean the --download option:

-d, --download
Download packages only, do not install them. This option
is equivalent to the configuration option "Do not install
packages after retrieval." It is mutually exclusive with
the --install option.


But that does not sound like what I wanted to do. The above sounded like:

"Download new RPMs, but do not installe them".

What I really want is:

"Download all RPMS that I __already__ have installed but for which I
dont have the RPMS locally on /var/spool/up2date".
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-18-2008, 05:32 AM
Michael Heiming
 
Posts: n/a
Default Re: up2date on FC2 does not retain the RPM files ??

In comp.os.linux.setup noone <noone@noone.org>:
> Michael Heiming wrote:
>> In comp.os.linux.setup Nico Kadel-Garcia <nkadel@comcast.net>:
>>>"noone" <noone@noone.org> wrote in message
>>>news:dVVfd.948$K7.838@news-server.bigpond.net.au...
>>>>Markku Kolkka wrote:
>>>>>noone wrote:

[..]
>>>>Is there a way via up2date to download the RPMs that I already have
>>>>installed without of course installing them again ?

[..]

> -d, --download
> Download packages only, do not install them. This option

[..]

> "Download all RPMS that I __already__ have installed but for which I
> dont have the RPMS locally on /var/spool/up2date".


Sure, thought you might get it yourself, without the need of
additional spoon-feeding?

You have to make yourself completely free from this brain-dead M$
attitude, many people seem to be fooled with today, there's no
button to click/droll, so it can't be done?

The *nix philosophy is quite different, no need for bloated tools
where the author will never be able to imagine anything one might
wish to do. But a powerful shell and anything can be put
together with minimal effort, only your own imagination is the
limit.

You know which rpms you have installed and which are in
/var/spool/up2date, so you simply need to compare them and
download the ones you don't have. You just have to convert this
idea to something bash can understand:

for r in `rpm -qa --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n'`
do
if ! [ -e /var/spool/up2date/$r.rpm ]
then
echo "Trying to download "$r
up2date-nox -d $r
fi
done

(untested! - might need some fiddling, dunno if those names
trigger up2date, left this as exercise for you - use 'man rpm')

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 427: network down, IP packets delivered via UPS
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:45 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com