[opensuse] Where to look at zypper cache in 11.0?
Listmates, Has /var/cache/zypp/zypp.db gone the way of the dodo? 20:08 zion~> locate zypp.db 20:11 zion~> The reason for asking is that I found it useful to delete zypp.db on occasion and use zypper ref to keep the file compact. I have no complaints with zypper in 11.0 and it is fast as hell - a really good thing. I also notice the complete new layout in /var/cache/zypp, but curiosity begs an answer. An anal "cat like" tendency. Would there ever be a need for a "zypper ref" anymore? -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Jun 24, 2008 at 08:13:15PM -0500, David C. Rankin wrote:
Listmates,
Has /var/cache/zypp/zypp.db gone the way of the dodo?
20:08 zion~> locate zypp.db 20:11 zion~>
The reason for asking is that I found it useful to delete zypp.db on occasion and use zypper ref to keep the file compact. I have no complaints with zypper in 11.0 and it is fast as hell - a really good thing. I also notice the complete new layout in /var/cache/zypp, but curiosity begs an answer. An anal "cat like" tendency.
There is no need for that anymore. The generated .solv files are regenerated on the fly and are already as compact as needed.
Would there ever be a need for a "zypper ref" anymore?
Of course, for explicitly refreshing the repositories. Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Marcus Meissner wrote:
On Tue, Jun 24, 2008 at 08:13:15PM -0500, David C. Rankin wrote:
Listmates,
Has /var/cache/zypp/zypp.db gone the way of the dodo?
20:08 zion~> locate zypp.db 20:11 zion~>
The reason for asking is that I found it useful to delete zypp.db on occasion and use zypper ref to keep the file compact. I have no complaints with zypper in 11.0 and it is fast as hell - a really good thing. I also notice the complete new layout in /var/cache/zypp, but curiosity begs an answer. An anal "cat like" tendency.
There is no need for that anymore.
The generated .solv files are regenerated on the fly and are already as compact as needed.
Would there ever be a need for a "zypper ref" anymore?
Of course, for explicitly refreshing the repositories.
Ciao, Marcus There is also zypper clean which wipes out everything including any downloaded rpms kept through keeppackages=1. Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Dave Plater wrote:
There is also zypper clean which wipes out everything including any downloaded rpms kept through keeppackages=1. Regards Dave P
So you can "keeppackages" with zypper, great. That was the one feature of Smart I cant live without. Where do you set this feature? Manne -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Manne Merak wrote:
Dave Plater wrote:
There is also zypper clean which wipes out everything including any downloaded rpms kept through keeppackages=1. Regards Dave P
So you can "keeppackages" with zypper, great. That was the one feature of Smart I cant live without. Where do you set this feature?
Manne
When you create a repo using zypper ar -k repourl it will automatically do it. You can also edit the .repo files in /etc/zypp/repos.d/ and set keeppackages=1. The files are kept in /var/cache/zypp/packages/ under the name of the repository they were downloaded to. I have my own local reposiories created with createrepo and I periodically move the rpms to them. Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Dave Plater wrote:
Manne Merak wrote:
Dave Plater wrote:
There is also zypper clean which wipes out everything including any downloaded rpms kept through keeppackages=1. Regards Dave P
So you can "keeppackages" with zypper, great. That was the one feature of Smart I cant live without. Where do you set this feature?
Manne
When you create a repo using zypper ar -k repourl it will automatically do it. You can also edit the .repo files in /etc/zypp/repos.d/ and set keeppackages=1. The files are kept in /var/cache/zypp/packages/ under the name of the repository they were downloaded to. I have my own local reposiories created with createrepo and I periodically move the rpms to them. Regards Dave P
Excellent. Thanks Dave! -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2008-06-25 at 11:02 +0200, Dave Plater wrote:
There is also zypper clean which wipes out everything including any downloaded rpms kept through keeppackages=1.
Mmm... I think that deleting those rpms should be different and separate from cleaning databases. The rpms may still be needed for other installs. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIYh6ctTMYHG2NR9URAm9CAJ9Thr/Iam8jCB+4/WtAJS8zvikljQCgmQIj FVXGkdlZbgw89ZzRg6FRH3Q= =YkpC -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Carlos E. R.
-
Dave Plater
-
David C. Rankin
-
Manne Merak
-
Marcus Meissner