I changed my Sernet Samba repos from 3.4 to 3.5 and updated the Sernet Packages on my CentOS Server with yum. During the installation I got %postun errors. The command "rpm -qa | grep -i samba" lists the following packages as installed: samba3-3.5.0-41.el5 samba3-3.2.11-40.el5 samba3-client-3.5.0-41.el5 samba3-3.2.8-38 samba3-winbind-3.5.0-41.el5 When I want to remove the useless packages samba3-3.2.8-38 and samba3-3.2.11-40.el5 I've got the next error: /var/tmp/rpm-tmp.50941: line 2: fg: no job control Fehler: %postun(samba3-3.2.8-38.i386) Skriptlet fehlgeschlagen, Beenden-Status 1 Does anybody knows how to get rid of the older versions of samba?
I solved it on my own: rpm -e --noscripts --nopostun On an another machine the update via yum works perfectly. Walter Neu schrieb:> > I changed my Sernet Samba repos from 3.4 to 3.5 and updated the Sernet > Packages on my CentOS Server with yum. > During the installation I got %postun errors. > > The command "rpm -qa | grep -i samba" lists the following packages as > installed: > > samba3-3.5.0-41.el5 > samba3-3.2.11-40.el5 > samba3-client-3.5.0-41.el5 > samba3-3.2.8-38 > samba3-winbind-3.5.0-41.el5 > > > When I want to remove the useless packages samba3-3.2.8-38 and > samba3-3.2.11-40.el5 I've got the next error: > > /var/tmp/rpm-tmp.50941: line 2: fg: no job control > Fehler: %postun(samba3-3.2.8-38.i386) Skriptlet fehlgeschlagen, > Beenden-Status 1 > > Does anybody knows how to get rid of the older versions of samba?-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4238 bytes Desc: S/MIME Cryptographic Signature URL: <http://lists.samba.org/pipermail/samba/attachments/20100303/5aaa8c20/attachment.bin>