On Sat, 26 Mar 2011 09:21:15 +0100
Cristian Morales Vega
2011/3/26 Bernhard Walle
: How can RPM know that if a package was installed to satisfy a dependency
That's a good point. Missed that. But assuming somehting installed by "rpm -i" always is explicitly wanted, not by dependency would be OK.
or by user intention? IMO it belongs at libzypp level, of course not in a logfile. :)
Libzypp could still store it in the rpm database...
At ZYpp level it misses installs/removes directly from RPM ("rpm -e" is shorter than "zypper rm") and other package managers (Smart PM).
...to make the info available to other package managers.
To make it clear, I wasn't suggesting to use /var/log/zypp/history but saying that, since openSUSE 11.3, ZYpp **is** using /var/log/zypp/history for this purpose. And I don't think that specific file is "rotated and deleted from time to time" since, sure, it would break the system.
seife@susi:~> ls -l /var/log/zypp total 4320 -rw-r--r-- 1 root root 3419395 Mar 25 22:38 history -rw-r--r-- 1 root root 445160 Jun 14 2010 history-20100614.bz2 -rw-r--r-- 1 root root 552750 Oct 9 22:58 history-20101010.bz2
Anyway, if someone wants this to be changed he should submit a patch, open a bug report, or at least discuss this in zypp-devel, not in opensuse-packaging. When libzypp 7.4 was released I asked about this (http://lists.opensuse.org/zypp-devel/2010-05/msg00002.html), but since nobody else asked I supposed I was the only one interested.
Well, yet another mailinglist for a topic I'm not really interested in, no. I'm not going to do that. But yes factory would have been the more appropriate list. I'll complain there once the next boost update hits us ;-) -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org