-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

PAOLACCI S�bastien wrote:
> Le Lundi 15 Septembre 2003 4:47 PM, Buchan Milne a �crit :
>

> I've just updated samba3 packages and got the following two "errors"
on samba3-doc and samba3-client. Samba3-x-3.0.0-0.rc3.2 was previously
installed.
>

Unfortunately there is no clean way around the only real problem.

> Regards,
> Sebastien.
>
> --------------------
> [EMAIL PROTECTED] /]# nice -n 20 urpmi samba3-client samba3-common
samba3-doc samba3-server --no-verify-rpm
>
>
ftp://ftp.club-internet.fr/pub/unix/linux/distributions/Mandrake-devel/contrib/RPMS/samba3-client-3.0.0-0.rc4.2mdk.i586.rpm
>
ftp://ftp.club-internet.fr/pub/unix/linux/distributions/Mandrake-devel/contrib/RPMS/samba3-doc-3.0.0-0.rc4.2mdk.i586.rpm
>
ftp://ftp.club-internet.fr/pub/unix/linux/distributions/Mandrake-devel/contrib/RPMS/samba3-common-3.0.0-0.rc4.2mdk.i586.rpm
>
ftp://ftp.club-internet.fr/pub/unix/linux/distributions/Mandrake-devel/contrib/RPMS/samba3-server-3.0.0-0.rc4.2mdk.i586.rpm
> installation de
/var/cache/urpmi/rpms/samba3-doc-3.0.0-0.rc4.2mdk.i586.rpm
/var/cache/urpmi/rpms/samba3-client-3.0.0-0.rc4.2mdk.i586.rpm
/var/cache/urpmi/rpms/samba3-common-3.0.0-0.rc4.2mdk.i586.rpm
/var/cache/urpmi/rpms/samba3-server-3.0.0-0.rc4.2mdk.i586.rpm
> Pr�paration...
##################################################
>    1:samba3-common          warning: /etc/samba3/smb.conf created as
/etc/samba3/smb.conf.rpmnew
> ##################################################
> Updating samba printing configuration if necessary...

Both of these messages are "normal".

>    2:samba3-doc
##################################################
> error: unpacking of archive failed on file
/usr/share/doc/samba3-doc-3.0.0/docs/htmldocs: cpio: rename failed - Is
a directory
>    3:samba3-server          warning: /etc/samba3/smbldap_conf.pm
created as /etc/samba3/smbldap_conf.pm.rpmnew
> ##################################################

rpm doesn't handle the situation well if you change a directory to a
link and vice versa. I removed some duplicate documentation in
/usr/share/doc/samba3-doc-3.0.0/docs/htmldocs and linked it to the copy
in /usr/share/swat3.

I guess I could have done something about this in %pre, but I don't want
to add more cruft ... and these are experimental packages ...


>    4:samba3-client
##################################################
> error: %preun(samba3-client-3.0.0-0.rc3.2mdk) scriptlet failed, exit
status 1

Bug in previous package I think.

To test, remove /usr/share/doc/samba3-doc-3.0.0/docs/htmldocs and run:

# rpm -Uvh --force samba3-doc* samba3-client*

Thanks anyway.

Regards,
Buchan

- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/Z3CArJK6UGDSBKcRAvKtAJ0Uh2Dd0jevrgfo7Uuxqdc5BtQbPQCbBlys
00udVLF7hOJ1788cU5nsD6s=
=KNWT
-----END PGP SIGNATURE-----

*****************************************************************
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy.
*****************************************************************

Reply via email to