[opensuse] Retain downloaded packages?
Does YaST in 11.0 have an option yet to retain the downloaded packages in /var/cache instead of deleting them after install? -- Pob hwyl / Best wishes Kevin Donnelly www.cymraeg.org.uk - Welsh-English autotranslator www.klebran.org.uk - Gwirydd gramadeg rhydd i'r Gymraeg www.eurfa.org.uk - Geiriadur rhydd i'r Gymraeg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Kevin Donnelly wrote:
Does YaST in 11.0 have an option yet to retain the downloaded packages in /var/cache instead of deleting them after install?
Yast cannot set the keeppackages option zypper does with zypper ar -k. In order to keep downloaded packages I manually edit the .repo files in /etc/zypp/repos.d and change the option keeppackages=0 to keeppackages=1 Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 01 October 2008 09:41, Dave Plater wrote:
Kevin Donnelly wrote:
Does YaST in 11.0 have an option yet to retain the downloaded packages in /var/cache instead of deleting them after install?
Yast cannot set the keeppackages option zypper does with zypper ar -k. In order to keep downloaded packages I manually edit the .repo files in /etc/zypp/repos.d and change the option keeppackages=0 to keeppackages=1
Thanks for that, Dave. The problem I see is that you have to remember to do this for each repo you add, and if you forget then you can't transfer a DVD of the packages because the dependencies will be wrong. LOL - I can't believe a GUI tickbox for this is still missing - people have been asking for it for the past couple of years, and the old YaST had it. Smart still rules, then. -- Pob hwyl / Best wishes Kevin Donnelly www.cymraeg.org.uk - Welsh-English autotranslator www.klebran.org.uk - Gwirydd gramadeg rhydd i'r Gymraeg www.eurfa.org.uk - Geiriadur rhydd i'r Gymraeg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Kevin Donnelly wrote:
On Wednesday 01 October 2008 09:41, Dave Plater wrote:
Kevin Donnelly wrote:
Does YaST in 11.0 have an option yet to retain the downloaded packages in /var/cache instead of deleting them after install? Yast cannot set the keeppackages option zypper does with zypper ar -k. In order to keep downloaded packages I manually edit the .repo files in /etc/zypp/repos.d and change the option keeppackages=0 to keeppackages=1
Thanks for that, Dave. The problem I see is that you have to remember to do this for each repo you add, and if you forget then you can't transfer a DVD of the packages because the dependencies will be wrong.
LOL - I can't believe a GUI tickbox for this is still missing - people have been asking for it for the past couple of years, and the old YaST had it. Smart still rules, then.
One more thing, if you happen to edit the repository in yast it resets keeppackages to 0 Its been asked for at last. https://bugzilla.novell.com/show_bug.cgi?id=402617 Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Kevin Donnelly wrote:
On Wednesday 01 October 2008 09:41, Dave Plater wrote:
Kevin Donnelly wrote:
Does YaST in 11.0 have an option yet to retain the downloaded packages in /var/cache instead of deleting them after install?
Yast cannot set the keeppackages option zypper does with zypper ar -k. In order to keep downloaded packages I manually edit the .repo files in /etc/zypp/repos.d and change the option keeppackages=0 to keeppackages=1
Thanks for that, Dave. The problem I see is that you have to remember to do this for each repo you add, and if you forget then you can't transfer a DVD of the packages because the dependencies will be wrong.
LOL - I can't believe a GUI tickbox for this is still missing - people have been asking for it for the past couple of years, and the old YaST had it. Smart still rules, then.
Ye, but Smart still downloads the complete filelist of updates when it changes (which is every 2-3 days these days). Thats 14Meg every couple of days - I dont have unlimited traffic on my DSL so it works out to be an expensive exercise. Im not yet completly sure if the new package manager in 11.0 does not do this - everyone is very happy with its speed, but it seems no one knows it it still downloads the complete update filelists or just diff increments? Manne ps. the Smart GUI also still doesnt have a tick box for keeping packages. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Manne Merak wrote:
Ye, but Smart still downloads the complete filelist of updates when it changes (which is every 2-3 days these days). Thats 14Meg every couple of days - I dont have unlimited traffic on my DSL so it works out to be an expensive exercise. Im not yet completly sure if the new package manager in 11.0 does not do this - everyone is very happy with its speed, but it seems no one knows it it still downloads the complete update filelists or just diff increments?
Manne ps. the Smart GUI also still doesnt have a tick box for keeping packages.
Not sure what you're looking for but for example if you enable keeppackages for the update repo then it (libzypp) keeps the delta rpms. What it doesn't do is replace old versions of files with newer versions therefore the size of /var/cache/zypp/packages keeps on increasing. I'm not quite sure if this feature was finished in 11.0 but in 11.1 beta1 libzypp seems to detect already cached packages and doesn't download them again. You can also specify where the package cache is located in /etc/zypp/zypp.conf Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 01 October 2008 11:35, Manne Merak wrote:
Ye, but Smart still downloads the complete filelist of updates when it changes (which is every 2-3 days these days). Thats 14Meg every couple of days - I dont have unlimited traffic on my DSL so it works out to be an expensive exercise.
True, but with the default YaST behaviour, if you have a LAN, you need to download the same packages on each PC, which is worse. With Smart, you can download to a shared /var/lib/smart/packages dir.
ps. the Smart GUI also still doesnt have a tick box for keeping packages.
No, but it has a one-time command: smart config --set remove-packages=false which is as easy as a tickbox, and doesn't require you to remember to manually edit the file for new repos (and, according to Dave, not edit it in YaST afterwards). -- Pob hwyl / Best wishes Kevin Donnelly www.cymraeg.org.uk - Welsh-English autotranslator www.klebran.org.uk - Gwirydd gramadeg rhydd i'r Gymraeg www.eurfa.org.uk - Geiriadur rhydd i'r Gymraeg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Kevin Donnelly wrote:
On Wednesday 01 October 2008 11:35, Manne Merak wrote:
Ye, but Smart still downloads the complete filelist of updates when it changes (which is every 2-3 days these days). Thats 14Meg every couple of days - I dont have unlimited traffic on my DSL so it works out to be an expensive exercise.
True, but with the default YaST behaviour, if you have a LAN, you need to download the same packages on each PC, which is worse. With Smart, you can download to a shared /var/lib/smart/packages dir.
ps. the Smart GUI also still doesnt have a tick box for keeping packages.
No, but it has a one-time command: smart config --set remove-packages=false which is as easy as a tickbox, and doesn't require you to remember to manually edit the file for new repos (and, according to Dave, not edit it in YaST afterwards).
As I said in a later email you can choose the cache directory in /etc/zypp/zypp.conf . I have never been able to get smart to work properly with my local repositories. Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Dave Plater
-
Kevin Donnelly
-
Manne Merak