Mailinglist Archive: opensuse (3450 mails)

< Previous Next >
Re: [opensuse] How to clean up /var/cache/zypper/RPMS ?
  • From: Amedee Van Gasse <amedee@xxxxxxxxx>
  • Date: Wed, 21 Jan 2009 08:10:31 +0100
  • Message-id: <4976CA67.4030705@xxxxxxxxx>
David C. Rankin schreef:
Amedee Van Gasse wrote:
Basil Chupin schreef:

Are you sure that you are talking about /var/cache/ZYPPER and not ZYPP
because I do not have a cache called zypper on my system.

Yes I am quite sure!

amedee@saruman { ~ }$ ls -al /var/cache/zypper/RPMS/
totaal 582824
drwxr-xr-x 2 root root 4096 jan 18 15:45 .
drwxr-xr-x 3 root root 4096 dec 23 18:43 ..
-rwxr-xr-x 1 root root 1035615 dec 25 13:12
magicolor2430DL-1.5.0-1.i386.rpm
-rwxr-xr-x 1 root root 31131299 dec 24 02:17
VirtualBox-2.1.0_41146_openSUSE111-1.i586.rpm
-rwxr-xr-x 1 root root 564034376 dec 26 11:32
VMware-server-2.0.0-122956.i386.rpm

I already rm'd a few files in that directory, there used to be a few
more. I just hope I didn't break anything.


Amedee,

Do you have the -k (keep packages) option enabled on your repos?

18:40 ecstasy:~> cat /etc/zypp/repos.d/games.repo
[games]
name=games
baseurl=http://download.opensuse.org/repositories/games/openSUSE_11.0/
type=rpm-md
enabled=1
autorefresh=1
gpgcheck=1
keeppackages=1
^^^^^^^^^^^^^^


amedee@saruman { ~ }$ grep keeppackages /etc/zypp/repos.d/*.repo
/etc/zypp/repos.d/eric.lavar.de.repo:keeppackages=0
/etc/zypp/repos.d/JPackage.repo:keeppackages=0
/etc/zypp/repos.d/repo_10.repo:keeppackages=0
/etc/zypp/repos.d/repo_11.repo:keeppackages=0
/etc/zypp/repos.d/repo_12.repo:keeppackages=0
/etc/zypp/repos.d/repo_13.repo:keeppackages=0
/etc/zypp/repos.d/repo_14.repo:keeppackages=0
/etc/zypp/repos.d/repo_15.repo:keeppackages=0
/etc/zypp/repos.d/repo_16.repo:keeppackages=0
/etc/zypp/repos.d/repo_17.repo:keeppackages=0
/etc/zypp/repos.d/repo_18.repo:keeppackages=0
/etc/zypp/repos.d/repo_19.repo:keeppackages=0
/etc/zypp/repos.d/repo_1.repo:keeppackages=0
/etc/zypp/repos.d/repo_20.repo:keeppackages=0
/etc/zypp/repos.d/repo_21.repo:keeppackages=0
/etc/zypp/repos.d/repo_22.repo:keeppackages=0
/etc/zypp/repos.d/repo_23.repo:keeppackages=0
/etc/zypp/repos.d/repo_2.repo:keeppackages=0
/etc/zypp/repos.d/repo_3.repo:keeppackages=0
/etc/zypp/repos.d/repo_4.repo:keeppackages=0
/etc/zypp/repos.d/repo_5.repo:keeppackages=0
/etc/zypp/repos.d/repo_6.repo:keeppackages=0
/etc/zypp/repos.d/repo_7.repo:keeppackages=0
/etc/zypp/repos.d/repo_8.repo:keeppackages=0
/etc/zypp/repos.d/repo_9.repo:keeppackages=0
/etc/zypp/repos.d/repo-debug.repo:keeppackages=0
/etc/zypp/repos.d/repo-non-oss.repo:keeppackages=0
/etc/zypp/repos.d/repo-oss.repo:keeppackages=0
/etc/zypp/repos.d/repo.repo:keeppackages=0
/etc/zypp/repos.d/repo-source.repo:keeppackages=0
/etc/zypp/repos.d/repo-update.repo:keeppackages=0

I guess not.

--
Amedee
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >