[Mageia-sysadm] changing binrepos
sander.lepik at eesti.ee
Fri Jul 15 14:56:53 CEST 2011
15.07.2011 15:46, Colin Guthrie kirjutas:
> But now I think about it, if 2+ packages do share the same binary, how
> do we know it's OK to actually delete the binary from the binrepos? We'd
> have to check every single packages sha1.lst file to see if it used
> it... that doesn't sound ideal....
Using database would help i think. Packages will be linked to files and
if all links are removed (ie all linked packages are EOL or using newer
version of binary source) then file becomes orphan and can be deleted.
More information about the Mageia-sysadm