Am Sun, 19 Mar 2017 18:49:13 +0100
schrieb "John MacGregor" <j...@macgregorplatz.de>:

> Some time around the end of February, it stopped working. I found out that 
> /usr/bin/mediatomb had been deleted and indeed, the mediatomb 
> 0.12.1.svn2103-6.7 rpm (also the sv2103-8.1) didn't contain a mediatomb 
> executable.  Yast seems to delete it on update.


The main mediathomb package requires either the mysql or sqlite3 subpackage. 
Their %post scripts are supposed to create a "mediathomb" symlink. But the way 
it is implemented indicates that it never worked, maybe just by luck. During 
package upgrade the %postun is also executed, which removes the symlink.

...
%post sqlite
rm -f "%{_bindir}/mediatomb"
ln -s "%{_bindir}/mediatomb-sqlite" "%{_bindir}/mediatomb"

%postun sqlite
rm -f "%{_bindir}/mediatomb"

%post mysql
rm -f "%{_bindir}/mediatomb"
ln -s "%{_bindir}/mediatomb-mysql" "%{_bindir}/mediatomb"

%postun mysql
rm -f "%{_bindir}/mediatomb"
...

Olaf

Attachment: pgplDp4fy6pVU.pgp
Description: Digitale Signatur von OpenPGP

_______________________________________________
Packman mailing list
Packman@links2linux.de
http://lists.links2linux.de/cgi-bin/mailman/listinfo/packman

Antwort per Email an