ラベル

Server (108) work (77) Idea (68) Car (31) PC (29) DAW (28) other (19) MakingWEBsite (18) 趣味 (18) health (13) CentOS (11) drupal (11) 山 (9) android (4) スマホ (4) communication (3) drupal7 (3) hint (3) meno (3) モバイル (3) 歯医者 (3) 第二種電気工事士 (3) 英語 (3) PC Server (2) drupal8 (2) ms access (2) uwp C# (2) めし (2) 整備 (2) 音楽 (2) MIDI (1) diy (1) 会計 (1) 動画再生 (1) 生活 (1) 郵便 (1) 食べ物 (1)

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 件のコメント:

コメントを投稿