[opensuse-factory] Question about libzypp
Hello everyone ! Does somebody know why libzypp doesn't have anything like "yumdb set reason dep $PACKAGE" or "aptitude markauto $PACKAGE" ? Thanks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2014-03-30 22:48, denisart benjamin2 wrote:
Hello everyone !
Does somebody know why libzypp doesn't have anything like "yumdb set reason dep $PACKAGE" or "aptitude markauto $PACKAGE" ?
What do they do? -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On Sun, Mar 30, 2014 at 10:55:07PM +0200, Carlos E. R. wrote:
On 2014-03-30 22:48, denisart benjamin2 wrote:
Hello everyone !
Does somebody know why libzypp doesn't have anything like "yumdb set reason dep $PACKAGE" or "aptitude markauto $PACKAGE" ?
What do they do?
That's on the libzypp TODO list for the next release. libzypp currently parses the /var/log/zypp/history file to get this information, which is slow (as the file gets bigger and bigger) and you can't easily change the state. The code will be changed to write the "reason" information for the installed packages into a separate file. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, Mar 31, 2014 at 12:19:38PM +0200, Michael Schroeder wrote:
On Sun, Mar 30, 2014 at 10:55:07PM +0200, Carlos E. R. wrote:
On 2014-03-30 22:48, denisart benjamin2 wrote:
Hello everyone !
Does somebody know why libzypp doesn't have anything like "yumdb set reason dep $PACKAGE" or "aptitude markauto $PACKAGE" ?
What do they do?
That's on the libzypp TODO list for the next release. libzypp currently parses the /var/log/zypp/history file to get this information, which is slow (as the file gets bigger and bigger) and you can't easily change the state. The code will be changed to write the "reason" information for the installed packages into a separate file.
Also, the rpm upstream guys are working on adding code to store this information into a database controlled by rpm. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Carlos E. R.
-
denisart benjamin2
-
Michael Schroeder