Richard Guenther wrote:
On Mon, 3 Sep 2007, Juergen Weigert wrote:
... Unfortunatly, this licenses package is error prone. Not very probable, but with possbile severe effects: if a package has a symlink for GPL, but this link is dangling, we violate the GPL.
Does anybody know if the licenses package had a space saving effect on the media?
Any tears if we roll back to the state we had before?
Well, I proposed to handle this problem with rpm provides / requires. That is, licenses should provide license-$MD5 for all licenses it includes and a package with the symlink should require this. That way no dangling symlink can happen unless you install with --nodeps.
Libzypp supports --nodeps as a fallback solution for installing RPMs. First, it, of course, tries to install an RPM in a normal way, then libzypp tries that with --nodeps automatically. So even our package manager is able to install such package without installing licenses.rpm. Lukas