Re: [SLE] SMART Downloaded package locations.

On Thursday 24 August 2006 08:12, John Pierce wrote:
I have downloaded SMART and installed it on opensuse 10.1, when
packages are installed or updated the rpm files are downloaded to
/var/lib/smart/packages. I want to know if it is possible to move the
storage location inside of the program or is it hardwired to

The reason, I have several computers on a local lan and all are (for
the most part, some minor differences in applications) identical.
When I run smart update on the various machines I find my self
downloading the same packages multiple times. When I used fedora and
yum, I set yum to look at an nfs mount called yumpackages, all of the
machines would look at that location and realize the files had already
been downloaded and did have to do it again. This approach save
considerable time and bandwidth.

I don't believe you can point the packages to another folder without changing
the main smart folder. The option in smart is:
data-dir /var/lib/smart (directory) root of Smart control directories
(You can fake it by making the packages folder a symbolic linkto another

To acheive your aim have an nfs share set up, and mount this on all machines
as /var/lib/smart/packages. Things to be careful of:
- All machines will need read/write access.
- Each machine will, by default, erase files in this folder. Be sure to set
remove-packages to false on all machines.
- Over time the folder could get very large, so have a housekeeper cronjob to
remove files older than say a month. If a machine hasn't upgraded by then,
they probably won't require that particular file.
- I can't tell you what will happen if two machines attempt to download the
same update at the same time.

Steve Boddy

Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at
Please read the FAQs: suse-linux-e-faq@xxxxxxxx

Relevant Pages

  • Re: [SLE] A dynamic updates/supplementary server?
    ... portion of the updates and supplementary trees. ... all my machines, but it only retrieves the packages as and when they are ... A kind of system that caches all packages, ... mirror (full updates folder) ...
  • OT - Ever wonder why?
    ... packages of eight. ... Only in they have drive-up ATM machines with Braille ... On an American Airlines packet of nuts: "Instructions: Open packet, ...
  • Re: Managing fedora installations behind firewall
    ... The DVD only has a small amount of the packages that are ... since the server is not connected to Internet either.. ... If all the machines have the same packages installed, ... one repo mirror, and have all your machines request packages through it. ...
  • Re: yum local { partial } mirror
    ... of only downloading a package once ... You might find locking issue if multiple machines try to access the central cached repodata at the same time, since each machine stores its yum lock file on it's local disk, ie a different location. ... You don't need the localupdate {unless you want to vet updated packages before releasing them to other machines}. ... install every package that is installed on any other machine. ...
  • Re: [SLE] A dynamic updates/supplementary server?
    ... the updates and supplementary trees. ... You mean some kind of caching proxy? ... A kind of system that caches all packages, ... especially clear to me how other machines could use this. ...