Results 1 to 5 of 5

Thread: "old" rpm's

  1. #1
    mesrin NNTP User

    Default "old" rpm's

    The title might not be that descriptive, what id like to ask is what happens with the rpms that are downloaded when for instance an update is done. So when there is a (patch) update some rpms are dowloaded and then applied. I remember there was an option at 10.3 to deleted the downloaded rpms after installation. i cant find such an option at yast in 11.1 Are they been deleted automatically in 11.1? if not is there a way to delete them? (im looking for something like apt-get clean or apt-get autoclean in the debian way).

    Thnx a lot in advance

  2. #2
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: "old" rpm's

    they get downloaded somewhere in /var/lib and I believe after install, they get deleted

  3. #3

    Default Re: "old" rpm's

    They are keep or not on a per-repo basis:
    Code:
    $ fgrep keeppackages /etc/zypp/repos.d/*
    /etc/zypp/repos.d/contrib.repo:keeppackages=0
    /etc/zypp/repos.d/debug.repo:keeppackages=0
    /etc/zypp/repos.d/dvd.repo:keeppackages=0
    /etc/zypp/repos.d/games.repo:keeppackages=0
    /etc/zypp/repos.d/home_reddwarf_java.repo:keeppackages=0
    /etc/zypp/repos.d/home_reddwarf_multimedia.repo:keeppackages=0
    /etc/zypp/repos.d/home_RedDwarf.repo:keeppackages=0
    /etc/zypp/repos.d/kde42.repo:keeppackages=0
    /etc/zypp/repos.d/KDE_Backports.repo:keeppackages=0
    /etc/zypp/repos.d/local.repo:keeppackages=0
    /etc/zypp/repos.d/non-oss.repo:keeppackages=0
    /etc/zypp/repos.d/nvidia.repo:keeppackages=0
    /etc/zypp/repos.d/opensuse_tools.repo:keeppackages=0
    /etc/zypp/repos.d/oss.repo:keeppackages=0
    /etc/zypp/repos.d/packman.repo:keeppackages=0
    /etc/zypp/repos.d/smart.repo:keeppackages=0
    /etc/zypp/repos.d/source.repo:keeppackages=0
    /etc/zypp/repos.d/update.repo:keeppackages=0
    /etc/zypp/repos.d/videolan.repo:keeppackages=0
    /etc/zypp/repos.d/virtualbox.repo:keeppackages=0
    /etc/zypp/repos.d/wine.repo:keeppackages=0
    And stored wherever you say, /var/cache/zypp/packages by default.
    Code:
    $ fgrep -B6 packagesdir /etc/zypp/zypp.conf
    ##
    ## Path where the repo packages are downloaded and kept.
    ##
    ## Valid values: A directory
    ## Default value: {cachedir}/packages
    ##
    # packagesdir = /var/cache/zypp/packages

  4. #4

    Default Re: "old" rpm's

    Quote Originally Posted by mesrin View Post
    Are they been deleted automatically in 11.1?
    Yes, it's the default.

    Quote Originally Posted by mesrin View Post
    (im looking for something like apt-get clean or apt-get autoclean in the debian way).
    Read "man zypper" and search for the options of "clean".

  5. #5
    mesrin NNTP User

    Default Re: "old" rpm's

    ok, i got it. thnx for your answers!!!!!

Posting Permissions

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