Solved

Upgrading Samba

Posted on 2000-04-06
6
200 Views
Last Modified: 2013-11-13
I have samba 2.0.5a running on Redhat 6.1. I tried to upgrade to 2.0.6
but had problems. I downloaded samba-2_0_6-19991110_i386.rpm from
samba.org. I tried choosing upgrade from the Gnome RPM application. It
generated an error that listed 14 files that conflicted with version
2.0.5a. I renamed them all but still got the error. I moved them and
still got the error. I tried reinstalling 2.0.5a and then uninstalling it and then installing 2.0.6, but got the same error message. Each time when I chose to ignore the error, the installation stops and I get a failed installation message. I also tried doing this from a command line
and had the same results. Suggestions please!
0
Comment
Question by:warbeck
  • 3
  • 2
6 Comments
 
LVL 1

Expert Comment

by:bcoleman
ID: 2691389
when you tried to install 2.0.6 did you use rpm -Ui samba-2_0_6.rpm
0
 

Author Comment

by:warbeck
ID: 2691445
I used a file from samba.org that was listed for Redhat. It was samba-2_0_9-19991110-i386.rpm or something real close to that, I'm not at the location of that machine right now so I can't check.
0
 

Author Comment

by:warbeck
ID: 2691449
I just re-read you'd question. The command I used was rpn --install <package name>.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Accepted Solution

by:
SVisor earned 100 total points
ID: 2705683
You should have used:

rpm -U whatever

And renaming files does not help. The filnames are in rpm's internal database.

I think "rpm --update whatever" works also.
0
 

Author Comment

by:warbeck
ID: 2716855
That seemed to help, but now I get errors that it needs samba 2.0.5a. This version is installed and working. Any further ideas?
0
 

Expert Comment

by:SVisor
ID: 2718914
try rpm --update --force whatever

That might help.

It could be that youve moved/renamed too much and rpm looks for the files during upgrade.

Or you could "rpm -e old_whatever"
and then install the new(er) one.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question