[Samba] Bug in sernet RPM's postun?
awilliam at mdah.state.ms.us
Tue Apr 28 15:54:51 GMT 2009
there were various rpm build problems in samba 3.2.0 - 3.2.10 that have
been fixed in 3.2.11. I would grab the source, untar it, and run
Richard Foltyn wrote:
> 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
> 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.
More information about the samba