Created attachment 64 [details] rpm_e_libnss.JPG With recent milestone builds, by running poky-image-sato, "rpm -e libnss-mdns" gets such an error: error:%preun(libnss-mdns-0.10-r0.i586) scriptlet failed, exit status 1 The screenshot is attached.
the line in /etc/nsswith.conf in question looks like: hosts: files dns mdns4 but pkg_prerm says: grep "hosts:\s*files dns mdns$" This can be easily fixed by changing that to mdns4 However, this is prone to future problems. I'll see if a more sophisticated, position-independent "insert/remove" can be added, so it's workable for more than one libnss extensions.
fixed as commit 7f4740fdec9a5ecc707da98d1412a7d0907346c3
marked as fixed
I can VERIFY "rpm -e libnss-mdns" can succeed on recent builds.