[Samba] Bug in sernet RPM's postun?

Richard Foltyn richard.foltyn at gmail.com
Sat Apr 25 09:45:15 GMT 2009


Hi,

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
samba3-3.2.1-37
samba3-3.2.3-37
samba3-3.2.5-37
samba3-3.2.6-37
samba3-3.2.7-37
samba3-3.2.7-38
samba3-3.2.8-38
samba3-3.2.10-38.el5
samba3-3.2.11-38.el5

Google finds several other people having the same problem for some
months now.

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.

Richard



More information about the samba mailing list