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, ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 ? |
| |||
| 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 |
| |||
| 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 ? |
| |||
| "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. |
| |||
| 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 |
| |||
| 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". |
| ||||
| 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 |
| Thread Tools | |
| Display Modes | |
|
|