Results 1 to 6 of 6

Thread: YOU: where the "Remove Source Packages after Update"?

  1. #1

    Default YOU: where the "Remove Source Packages after 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.

  2. #2
    Robert Smits NNTP User

    Default Re: YOU: where the "Remove Source Packages after Update"?

    Maxoid1 wrote:

    >
    > 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.


    --
    bob@rsmits.ca (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


  3. #3

    Default Re: YOU: where the "Remove Source Packages after Update"?

    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 [1]./rpm/i586/pcre-7.6-22.1_22.2.
    i586.delta.rpm{272.3 K|sha1-04820eec2bd82691100e552f795964e5acbfc301}
    [zypp] RepoProvideFile.cc(provideFile):229 Added cache path /var/cache/zypp/
    packages/openSUSE-11.0-Updates
    ...
    [zypp] Fetcher.cc(start):197 Not found in cache, downloading
    ...
    PathInfo.cc(assert_dir):354 mkdir /var/adm/mount/AP_0x00000001/rpm/i5
    86 00755
    [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?

  4. #4

    Default Re: YOU: where the "Remove Source Packages after Update"?

    I found a key in repository config file "/etc/zypp/repos.d/*.repo":
    keeppackages=0
    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?

  5. #5
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,523
    Blog Entries
    37

    Default Re: YOU: where the "Remove Source Packages after Update"?

    Quote Originally Posted by Maxoid1 View Post
    I found a key in repository config file "/etc/zypp/repos.d/*.repo":
    keeppackages=0
    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?
    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.

  6. #6
    Join Date
    Aug 2008
    Location
    /Linux/Userland
    Posts
    279

    Question Re: YOU: where the "Remove Source Packages after Update"?

    Quote Originally Posted by oldcpu View Post
    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)

    (APTonCD)
    --------------------------------------------------------------------------------
    APTonCD is a tool with a graphical interface which allows you to
    create one or more CDs or DVDs (you choose the type of media) with
    all of the packages you've downloaded via APT-GET or APTITUDE,
    creating a removable repository that you can use on other computers.
    APTonCD will also allow you to automatically create media with all
    of your .deb packages located in one specific repository, so that you
    can install them into your computers without the need for an internet
    connection.
    ---------------------------------------------------------------------------------
    Linux User 483705 @ http://counter.li.org/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •