Keeping files downloaded by Smart

Axel Thimm Axel.Thimm at ATrpms.net
Thu Jan 19 10:23:06 PST 2006


The following works

smart config --set remove-packages=false

Martin just switched the logic in the example.

Packages land under /var/lib/smart/packages/, so you can NFS-export
this to your other clients.

Test:

# smart config --set remove-packages=false

# smart install ivtv-firmware-audio
Loading cache...
Updating cache...
######################################## [100%]

Computing transaction...

Installed packages (1):
  ivtv-firmware-audio-0.0.1-5.at at noarch  

9.6kB of package files are needed. 13.0kB will be used.

Confirm changes? (Y/n): 

Fetching packages...                                                           
-> http://dl.atrpms.net/.../ivtv-firmware-audio-0.0.1-5.at.noarch.rpm          
ivtv-firmware-audio-0.0.1-5.a..
######################################## [100%]

                                                                               
Committing transaction...
Preparing...
######################################## [  0%]
   1:Installing
   ivtv-firmware.. ######################################## [100%]


# ls /var/lib/smart/packages/
ivtv-firmware-audio-0.0.1-5.at.noarch.rpm


On Thu, Jan 19, 2006 at 05:22:56PM +0000, John Pilkington wrote:
> I posted a shorter version of this on the ATrpms list yesterday, but it
> looks more at home here:
> 
> I asked how to use smart to install rpm packages and still retain them
> for use elsewhere - this facility was present in synaptic, now obsolete
> in the ATrpms fc3 repo.
> 
> Martin Lubich reported success using:
> 
>          smart config --set remove-packages=true
> 
> but this didn't seem to fit the current version of Smart on ATrpms for
> fc3   (remove-packages wasn't recognized, and the logic looks wrong).
> 
> After trying several variations suggested by smart --help  and variants
> it looked as if
> 
>          smart config  --set clean=false
> 
> might work:  at least it produced a plausible response to
> 
>          smart config --show clean       ---->      False
> 
> But this doesn't appear to affect operations.  The  packages folder is
> still cleaned after installation, using either smart alone or smart-gui.
> 
> HTH - other suggestions still hoped-for!
> 
> John

-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20060119/67ef7f9d/attachment-0003.pgp>


More information about the Smart mailing list