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
Richard Foltyn wrote:> 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.el5I think I cleaned up this problem with # rpm -e --justdb samba3-3.2.1-37 and so forth. Admittedly, the rpm man page does not indicate that this should work, but I think it does. -- Mark Nienberg Sent from an invalid address. Please reply to the group.
Hi Richard, On Sat, Apr 25, 2009 at 11:45:15AM +0200, 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 1thanks for reporting this issue! Please report everything concerning the SerNet packages directly to samba@sernet.de. But I think in this case, the samba.org packages are affected as well. Currently, I couldn't reproduce that on a RHEL 5.2 server. I have to setup a CentOS box to track that one down. We will fix that as soon as possible and get back to you then. Sorry for the inconveniences! Cheers, Karolin -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.SerNet.DE, mailto: Info @ SerNet.DE -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20090428/f6fbdae6/attachment.bin
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 ./packaging/RHEL/makerpms.sh Richard Foltyn wrote:> 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 > >