Re: [Security-Discuss] Update problem in samba-client

Stew Benedict <sbenedict-7Aj/b8uzpy6AmYF/[email protected]>
Newsgroups gmane.linux.mandrake.security.general
Message-ID <[email protected]>
On Sun, 7 Nov 2004, Bob Puff@NLE wrote:

> I noticed that in performing the samba update MDKSA-2004:104 on about a dozen various 9.2 boxes via 
> urpmi, the samba update gives off this error:
> 
> error: %preun(samba-client-2.2.8a-13.1.92mdk) scriptlet failed, exit status 1
> 
> If I try to rpm -Uhv the update RPM, it tells me that it is already installed.  Samba appears to 
> work, although all the machines are servers, and I have no need to use the client part.
> 
> Is this a benign error?
> 

It looks like you're a couple of versions behind, but I got the same error 
with the latest:

installing /var/cache/urpmi/rpms/samba-client-2.2.8a-13.3.92mdk.i586.rpm
Preparing...                
##################################################
   1:samba-client           
##################################################
error: %preun(samba-client-2.2.8a-13.1.92mdk) scriptlet failed, exit 
status 1

[root@norris root]# rpm -q --scripts samba-client 
postinstall scriptlet (using /bin/sh):
update-alternatives --install /usr/bin/smbclient smbclient \
/usr/bin/smbclient2 10 \
$(for i in 
{/bin/mount.cifs,/sbin/{mount.smb,mount.smbfs},/usr/bin/{findsmb,nmblookup,smbclient,smbmnt,smbmount,smbprint,smbspool,smbtar,smbumount}};do 
j=`basename $i`
[ "$j" = "smbclient" ] || \
echo -n " --slave ${i} ${j} ${i}2";done) \
--slave /usr/lib/cups/backend/smb cups_smb /usr/lib/cups/backend/smb2 || \
update-alternatives --auto smbclient
preuninstall scriptlet (using /bin/sh):
[ $1 = 0 ] && update-alternatives --remove smbclient /usr/bin/smbclient2

Looks like the error is fairly benign, it tries to remove
/usr/bin/smbclient2, which apparently isn't on our boxen. (probably should 
have had a check for the file existing)
 
-- 
Stew Benedict
Mandrakesoft
---
[This E-mail scanned for viruses by Declude Virus]
message.footer (text/plain, 239 B)
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.