LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2004, 08:20 PM   #1
Badfish
LQ Newbie
 
Registered: Aug 2002
Location: So-Cal
Distribution: RedHat 9.0
Posts: 27

Rep: Reputation: 15
Upgrading samba.


So i currently have samba Version 2.2.7a and want to upgrade to 3.0.7-1
so i used wget to download the rpm file from samba.org and ran
rpm -ivh <file name>.tar.gz

then this is what follows:


[root@XXXXXX sambainstall]# rpm -ivh samba-3.0.7-1_rh9.i386.rpm
warning: samba-3.0.7-1_rh9.i386.rpm: V3 DSA signature: NOKEY, key ID 2f87af6f
Preparing... ########################################### [100%]
file /etc/rc.d/init.d/winbind from install of samba-3.0.7-1 conflicts wi
th file from package samba-common-2.2.7a-8.9.0
file /etc/samba/smb.conf from install of samba-3.0.7-1 conflicts with fi
le from package samba-common-2.2.7a-8.9.0
file /lib/libnss_winbind.so.2 from install of samba-3.0.7-1 conflicts wi
th file from package samba-common-2.2.7a-8.9.0
file /lib/libnss_wins.so.2 from install of samba-3.0.7-1 conflicts with
file from package samba-common-2.2.7a-8.9.0
file /lib/security/pam_winbind.so from install of samba-3.0.7-1 conflict
s with file from package samba-common-2.2.7a-8.9.0
file /usr/bin/smbpasswd from install of samba-3.0.7-1 conflicts with fil
e from package samba-common-2.2.7a-8.9.0
file /usr/bin/testparm from install of samba-3.0.7-1 conflicts with file
from package samba-common-2.2.7a-8.9.0



i have shut down smbd service and even tried as root.

anyone seen this before or have a url to a link somewhere?

thanks.
 
Old 11-01-2004, 08:30 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
rpm -ivh will only install.. if your upgrading with rpm's and the previous version was installed with rpm.. do a:

rpm -Uvh <package-name>
 
Old 11-01-2004, 09:11 PM   #3
Badfish
LQ Newbie
 
Registered: Aug 2002
Location: So-Cal
Distribution: RedHat 9.0
Posts: 27

Original Poster
Rep: Reputation: 15
Ok, so i tried that and this is what i got.



[root@firegate sambainstall]# service smb status
smbd (pid 23976) is running...
nmbd (pid 23980) is running...
[root@firegate sambainstall]# rpm -Uvh samba-3.0.7-1_rh9.i386.rpm
warning: samba-3.0.7-1_rh9.i386.rpm: V3 DSA signature: NOKEY, key ID 2f87af6f
Preparing... ########################################### [100%]
1:samba warning: /etc/samba/smb.conf created as /etc/samba/smb.conf.rpmnew
########################################### [100%]
Moving tdb files in /var/cache/samba/*.tdb to /var/lib/samba/*.tdb
Moving /var/cache/samba/connections.tdb to /var/lib/samba/connections.tdb
Moving /var/cache/samba/messages.tdb to /var/lib/samba/messages.tdb
Moving /var/cache/samba/unexpected.tdb to /var/lib/samba/unexpected.tdb
Installing stack version of /etc/pam.d/samba...
error: %postun(samba-2.2.7a-8.9.0) scriptlet failed, exit status 1

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrading samba p0rt Linux - Networking 2 06-12-2004 05:45 PM
Upgrading to Samba 3.0.0 computergeek84 Linux - Networking 3 11-17-2003 02:20 PM
upgrading samba robyso Linux - Networking 1 07-04-2003 01:33 PM
Upgrading Samba jspaceman Linux - Networking 2 05-01-2003 04:58 AM
Upgrading Samba jspaceman Linux - Newbie 1 03-18-2003 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration