I install SUSE11 and now I can’t find in Yast Online Update a checkbox “Remove Source Packages after Update”. Where is it now?
I whant to keep a downloaded packages locally, so I will use it for future offline update.
> Hi all!
> I install SUSE11 and now I can’t find in Yast Online Update a checkbox
> “Remove Source Packages after Update”. Where is it now?
> I whant to keep a downloaded packages locally, so I will use it for
> future offline update.
It shows up when you install software, not all the time. Install anything,
and it’ll show up.
email@example.com (Robert Smits, Ladysmith BC)
“I’m not one of those who think Bill Gates is the devil. I simply suspect
that if Microsoft ever met up with the devil, it wouldn’t need an
interpreter.” - Nicholas Petreley
I am sorry, I didn’t see any controls during update process. Only log messages.
Found in the /var/log/YaST2/y2log :
[zypp] RepoProvideFile.cc(provideFile):204 ./rpm/i586/pcre-7.6-22.1_22.2.
[zypp] RepoProvideFile.cc(provideFile):229 Added cache path /var/cache/zypp/
[zypp] Fetcher.cc(start):197 Not found in cache, downloading
PathInfo.cc(assert_dir):354 mkdir /var/adm/mount/AP_0x00000001/rpm/i5
[zypp] PathInfo.cc(_Log_Result):295 rename /var/adm/mount/AP_0x00000001/rpm/
i586/pcre-7.6-22.1_22.2.i586.delta.rpm.new.zypp.HbOUqJ → /var/adm/mount/AP_0x00000001/rpm/i586/pcre-7.6-22.1_22.2.i586
[zypp] PathInfo.cc(_Log_Result):295 copy /var/adm/mount/AP_0x00000001/rpm/i586/pcre-7.6-22.1_22.2.i586.delta.rpm → /var/cache/zypp/packages/openSUSE-11.0-Updates/rpm/i586/pcre-7.6-22.1_22.2.i586.delta.rpm
[zypp] PathInfo.cc(_Log_Result):295 unlink /var/adm/mount/AP_0x00000001/rpm/i586/pcre-7.6-22.1_22.2.i586.delta.rpm
[zypp] RepoProvideFile.cc(provideFile):289 provideFile at /var/cache/zypp/packages/openSUSE-11.0-Updates/rpm/i586/pcre-7.6-22.1_22.2.i586.delta.rpm
[zypp] PathInfo.cc(_Log_Result):295 unlink /var/cache/zypp/packages/openSUSE-11.0-Updates/rpm/i586/pcre-7.6-22.1_22.2.i586.delta.rpm
[YCP] PackageCallbacks.ycp:295 DoneProvide: 0
[zypp] PackageProvider.cc(providePackage):116 provided Package (7437)pcre-7.6-22.2.i586(openSUSE-11.0-Updates) at /var/cache/zypp/packages/openSUSE-11.0-Updates/rpm/i586/pcre-7.6-22.2.i586.rpm
[zypp] RpmDb.cc(doInstallPackage):1974 RpmDb::installPackage(/var/cache/zypp/packages/openSUSE-11.0-Updates/rpm/i586/pcre-7.6-22.2.i586.rpm,12)
[zypp] PathInfo.cc(_Log_Result):295 unlink /var/cache/zypp/packages/openSUSE-11.0-Updates/rpm/i586/pcre-7.6-22.2.i586.rpm
That’s all! Package was deleted
How to keep packages in cache after installation?
I found a key in repository config file “/etc/zypp/repos.d/*.repo”:
Changing 0 to 1 lead to needed result!!! Packages are keeps in cache after installation. Strange, but why this property is not managed in YaST repository manager? Authors?
I’ve read it can be set by the zypper command, with the -k (–keep-packages) option.
Zypper/Changes/11.0 - openSUSE
This is a new feature that was added in 11.0, and did not exist in 10.3 in zypper.
Is there a way to do this from Yast (GUI) and keep it so for all repo’s that are enabled, persistently - i.e. for keeping all updates & additional installed packages (e.g. VLC player, etc) stored locally in case there is need to install them in future.
Also, can the directory where the packages are stored (or a CD/DVD) be added to and enabled as a repo in Yast - in case one has to re-install then it saves d/l bandwidth and time.
Ubuntu & Linux Mint have this useful feature (called APTonCD)