[Samba] Bug in sernet RPM's postun?
richard.foltyn at gmail.com
Sat Apr 25 09:45:15 GMT 2009
I was just wondering whether this possible bug with the Sernet Samba3
RPMs for CentOS 5 is known, since it has not yet been fixed.
When uninstalling the Sernet RPMs for Samba3 (in this case Samba 3.2.x)
the %postun scriptlet fails every time with:
# rpm -e samba3-3.2.0-36
/var/tmp/rpm-tmp.56356: line 2: fg: no job control
error: %postun(samba3-3.2.0-36.x86_64) scriptlet failed, exit status 1
Consequently, yum reports an constantly increasing number of unfinished
transactions and cannot uninstall outdated versions of Samba:
# rpm -q samba3
Google finds several other people having the same problem for some
The solution is not to run %postun
# rpm -e --nopostun samba3-3.2.1-37
but this does not work with yum and has to be done manually every time,
so it would be great if this was fixed in some future release.
Also, many thanks to the Sernet team for providing these RPMs.
More information about the samba