2013年8月26日月曜日

samba 3.6.9-151.el6.x86_64 has bugs

3.6.9-151.el6.x86_64 has bugs.
So rollback from "3.6.9-151.el6.x86_64" to "3.5.10-125.el6.x86_64".

Using "yum downgrade" is best way if I can use it.
But usually there are no old rpm in public repository.

So I have to find old one and download rpm to my folder of my OS, and run yum:
yum downgrade /a-folder/b-folder/somethingA.rpm /a-folder/b-folder/somethingB.rpm

Easy way is Go to the folder on which I put the downloaded files and run yum::
yum downgrade samba-common-3.5.10-125.el6.x86_64.rpm samba-3.5.10-125.el6.x86_64.rpm samba-client-3.5.10-125.el6.x86_64.rpm samba-winbind-clients-3.5.10-125.el6.x86_64.rpm  libsmbclient-3.5.10-125.el6.x86_64.rpm samba-winbind-3.5.10-125.el6.x86_64.rpm samba-swat-3.5.10-125.el6.x86_64.rpm

cf. "yum localupdate","yum localinstall"


Next way is..
Once uninstall all new pakages by yum or rpm.
And then install old one.
(Overwrite (rpm's option --oldpackage --nodeps) of old packages are dangerous.
Files are easy to brake.)

Confirmation before deletion.
use yum
Or
rpm -e --test "samba-something.rpm"

Deletion
yum remove samba samba-client samba-common something something.......
Or
rpm -e "samba-something.rpm"

samba-winbind-clients-3.6.9-151.el6.x86_64
samba4-libs-4.0.0-55.el6.rc4.x86_64
samba-client-3.6.9-151.el6.x86_64
samba-common-3.6.9-151.el6.x86_64
samba-winbind-3.6.9-151.el6.x86_64
samba-3.6.9-151.el6.x86_64
samba-swat-3.6.9-151.el6.x86_64
libsmbclient-3.6.9-151.el6.x86_64

rpm -Uvh --oldpackage /temp/samba-***
samba-winbind-clients-3.5.10-125.el6.x86_64
samba-common-3.5.10-125.el6.x86_64
samba-client-3.5.10-125.el6.x86_64
samba-3.5.10-125.el6.x86_64
samba4-libs-4.0.0-23.alpha11.el6.x86_64
libsmbclient-3.5.10-125.el6.x86_64
samba-winbind-3.5.10-125.el6.x86_64
samba-swat-3.5.10-125.el6.x86_64

How to exclude selected packages when I run yum update command.
# vi /etc/yum.conf
[main]
exclude=samba* libsmbclient*

東芝 レグザ Toshiba regza の録画をsamba(Centos6.4)に入れているけど、アップデートしたら使えなくなってしまった。Windows PCからは普通にファイルサーバーとして使えるのだけど・・・。
調べてみたら、どうも、samba 3.6以降のバグらしい。
ダウングレードしたら使えるようになった。
そのときのメモ。




0 件のコメント:

コメントを投稿