CentOS 6.5 -- > latest 6.7 / 6.x gives Transaction Check Error noarch conflicts with file from package - centos

I'm trying to update / upgrade CentOS 6.5 version to 6.7 or latest 6.x but getting the following error.
In the snapshot below, I'm showing truncated output and mainly showing the error log while running YUM update or upgrade command. For full log file, please see log .txt file here: YUM update or upgrade Transaction Check Error norach conflicts. PS: Under Limited Download, click on "Slow download" and open the log file in some notepad++ type text editor.
What should I do to sucessfully upgrade/update the CentOS version. Thanks.
[root#server01 giga]# yum clean all; echo $?
Loaded plugins: fastestmirror, refresh-packagekit
Cleaning repos: base epel extras google-chrome puppetlabs-deps puppetlabs-products release.update supplemental.release supplemental.release.update updates
Cleaning up Everything
Cleaning up list of fastest mirrors
0
[root#server01 giga]#
[root#server01 giga]# cat /etc/redhat-release
CentOS release 6.5 (Final)
[root#server01 giga]#
[root#server01 giga]#
[root#server01 giga]#
[root#server01 giga]# yum update
Loaded plugins: fastestmirror, refresh-packagekit
Determining fastest mirrors
epel/metalink | 12 kB 00:00
* base: ftp.usf.edu
* epel: mirror.cogentco.com
* extras: mirrors.advancedhosters.com
* updates: mirror.team-cymru.org
base | 3.7 kB 00:00
base/primary_db | 4.6 MB 00:03
epel | 4.3 kB 00:00
epel/primary_db | 5.8 MB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 34 kB 00:00
google-chrome | 951 B 00:00
google-chrome/primary | 1.9 kB 00:00
google-chrome 3/3
puppetlabs-deps | 2.5 kB 00:00
puppetlabs-deps/primary_db | 27 kB 00:00
puppetlabs-products | 2.5 kB 00:00
puppetlabs-products/primary_db | 166 kB 00:00
release.update | 4.0 kB 00:00
release.update/primary_db | 4.4 MB 00:00
supplemental.release | 2.9 kB 00:00
supplemental.release/primary_db | 98 kB 00:00
supplemental.release.update | 2.9 kB 00:00
supplemental.release.update/primary_db | 2.0 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 3.9 MB 00:01
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package audit.x86_64 0:2.2-2.el6 will be updated
---> Package audit.x86_64 0:2.3.7-5.el6 will be an update
---> Package audit-libs.x86_64 0:2.2-2.el6 will be updated
---> Package audit-libs.x86_64 0:2.3.7-5.el6 will be an update
---> Package augeas-libs.x86_64 0:1.0.0-5.el6_5.1 will be updated
---> Package augeas-libs.x86_64 0:1.0.0-10.el6 will be an update
---> Package authconfig.x86_64 0:6.1.12-13.el6 will be updated
---> Package authconfig.x86_64 0:6.1.12-23.el6 will be an update
---> Package b43-openfwwf.noarch 0:5.2-4.el6 will be updated
---> Package b43-openfwwf.noarch 0:5.2-10.el6 will be an update
---> Package bash.x86_64 0:4.1.2-15.el6_4 will be updated
---> Package bash.x86_64 0:4.1.2-33.el6_7.1 will be an update
---> Package bfa-firmware.noarch 0:3.2.21.1-2.el6 will be updated
---> Package bfa-firmware.noarch 0:3.2.23.0-2.el6 will be an update
---> Package pciutils.x86_64 0:3.1.10-4.el6 will be installed
---> Package virt-what.x86_64 0:1.11-1.2.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
Installing:
kernel x86_64 2.6.32-573.18.1.el6 updates 30 M
kernel-devel x86_64 2.6.32-573.18.1.el6 updates 10 M
Updating:
audit x86_64 2.3.7-5.el6 base 208 k
audit-libs x86_64 2.3.7-5.el6 base 71 k
augeas-libs x86_64 1.0.0-10.el6 base 314 k
authconfig x86_64 6.1.12-23.el6 base 377 k
b43-openfwwf noarch 5.2-10.el6 base 19 k
bash x86_64 4.1.2-33.el6_7.1 updates 908 k
bfa-firmware noarch 3.2.23.0-2.el6 base 3.2 M
(129/131): yum-3.2.29-69.el6.centos.noarch.rpm | 1.0 MB 00:02
(130/131): yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm | 31 kB 00:00
(131/131): yum-utils-1.1.30-30.el6.noarch.rpm | 110 kB 00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.4 MB/s | 146 MB 01:43
Running rpm_check_debug
Running Transaction Test
Transaction Check Error:
file /usr/bin/extlookup2hiera from install of puppet-3.8.6-1.el6.noarch conflicts with file from package hiera-puppet-1.0.0-1.el6.noarch
file /usr/lib/ruby/site_ruby/1.8/hiera/backend/puppet_backend.rb from install of puppet-3.8.6-1.el6.noarch conflicts with file from package hiera-puppet-1.0.0-1.el6.noarch
file /usr/lib/ruby/site_ruby/1.8/hiera/scope.rb from install of puppet-3.8.6-1.el6.noarch conflicts with file from package hiera-puppet-1.0.0-1.el6.noarch
file /usr/lib/ruby/site_ruby/1.8/hiera_puppet.rb from install of puppet-3.8.6-1.el6.noarch conflicts with file from package hiera-puppet-1.0.0-1.el6.noarch
file /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/hiera.rb from install of puppet-3.8.6-1.el6.noarch conflicts with file from package hiera-puppet-1.0.0-1.el6.noarch
file /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/hiera_array.rb from install of puppet-3.8.6-1.el6.noarch conflicts with file from package hiera-puppet-1.0.0-1.el6.noarch
file /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/hiera_hash.rb from install of puppet-3.8.6-1.el6.noarch conflicts with file from package hiera-puppet-1.0.0-1.el6.noarch
file /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/hiera_include.rb from install of puppet-3.8.6-1.el6.noarch conflicts with file from package hiera-puppet-1.0.0-1.el6.noarch
Error Summary
-------------
[root#server01 giga]#
[root#server01 giga]# yum -y upgrade
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: ftp.usf.edu
* epel: mirror.cogentco.com
* extras: mirrors.advancedhosters.com
* updates: mirror.team-cymru.org
Setting up Upgrade Process
Resolving Dependencies
--> Running transaction check
---> Package audit.x86_64 0:2.2-2.el6 will be updated
---> Package audit.x86_64 0:2.3.7-5.el6 will be an update
---> Package audit-libs.x86_64 0:2.2-2.el6 will be updated
virt-what x86_64 1.11-1.2.el6 base 24 k
Transaction Summary
==================================================================================================================================================================
Install 5 Package(s)
Upgrade 126 Package(s)
Total size: 146 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Check Error:
file /usr/bin/extlookup2hiera from install of puppet-3.8.6-1.el6.noarch conflicts with file from package hiera-puppet-1.0.0-1.el6.noarch
file /usr/lib/ruby/site_ruby/1.8/hiera/backend/puppet_backend.rb from install of puppet-3.8.6-1.el6.noarch conflicts with file from package hiera-puppet-1.0.0-1.el6.noarch
file /usr/lib/ruby/site_ruby/1.8/hiera/scope.rb from install of puppet-3.8.6-1.el6.noarch conflicts with file from package hiera-puppet-1.0.0-1.el6.noarch
file /usr/lib/ruby/site_ruby/1.8/hiera_puppet.rb from install of puppet-3.8.6-1.el6.noarch conflicts with file from package hiera-puppet-1.0.0-1.el6.noarch
file /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/hiera.rb from install of puppet-3.8.6-1.el6.noarch conflicts with file from package hiera-puppet-1.0.0-1.el6.noarch
file /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/hiera_array.rb from install of puppet-3.8.6-1.el6.noarch conflicts with file from package hiera-puppet-1.0.0-1.el6.noarch
file /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/hiera_hash.rb from install of puppet-3.8.6-1.el6.noarch conflicts with file from package hiera-puppet-1.0.0-1.el6.noarch
file /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/hiera_include.rb from install of puppet-3.8.6-1.el6.noarch conflicts with file from package hiera-puppet-1.0.0-1.el6.noarch
Error Summary
-------------
[root#server01 giga]#

Solution for upgrading CentOS 6.5 to 6.6/6.7 was to first: Found this cool site for the hint http://www.if-not-true-then-false.com/2011/upgrade-centos-6/ and tried the following.
I tried to first remove puppet and yum update, it still failed with the same error. The issue was with hiera-puppet. With latest puppet (3.x.x which is what you'll get if you update just puppet), hiera-puppet comes for free OR you can say it's not required to be installed as a separate step.
So, solution to upgrade from CentOS 6.5/6.6 to 6.7 (Final) was:
# yum -y remove puppet hiera-puppet
# yum -y clean all
# yum -y update glibc* yum* rpm* python*
# yum -y update
# cat /etc/redhat-release; ## This will now give: CentOS release 6.7 (Final)

Related

How install uuid in centos5.8

I have tried some tutorials from internet, like yum install libuuid-devel, but not works.
sh-3.2# yum install libuuid-devel
Failed to set locale, defaulting to C
C5.8-base | 1.1 kB 00:00
C5.8-centosplus | 1.9 kB 00:00
Setting up Install Process
No package libuuid-devel available.
Nothing to do
Then i want to compile uuid from source code, but not found uuid source code location.

CentOS Stream 8 - DNF Broken - Unable to Run Update/Upgrade

I thought I successfully upgraded from CentOS8 to Centos Stream 8, however I was never able to get dnf distro-sync to work. Now DNF appears to be broken and dnf upgrade throws unsatisfied dependencies for libsmartcols.so.1 in relation to DNF itself.
dnf distro-sync:
When running the sync, the following appears:
Error:
Problem: The operation would result in removing the following protected packages: setup
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
I tried every possible combination of --skip-broken, --nobest --allowerasing, etc. to resolve. Tried using the vault versions, no difference. All of the old CentOS repos were removed, so the only repos in the /etc/yum.repos.d/ folder are -Stream-. I do not have any EPEL repos installed at this time.
cat /etc/centos-release => CentOS Stream release 8
The server survives reboots and seems to work correctly for everything else.
When running dnf -y upgrade -v, the following results:
dnf -y upgrade -v
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
DNF version: 4.7.0
cachedir: /var/cache/dnf
User-Agent: constructed: 'libdnf (CentOS Stream 8; generic; Linux.x86_64)'
repo: using cache for: appstream
appstream: using metadata from Tue 08 Feb 2022 07:27:22 PM EST.
repo: using cache for: baseos
baseos: using metadata from Tue 08 Feb 2022 07:26:22 PM EST.
repo: using cache for: extras
extras: using metadata from Tue 08 Feb 2022 04:08:34 PM EST.
Last metadata expiration check: 0:26:35 ago on Thu 10 Feb 2022 12:44:57 PM EST.
--> Starting dependency resolution
---> Package dnf-plugins-core.noarch 4.0.21-8.el8 will be upgraded
---> Package dnf-plugins-core.noarch 4.0.21-10.el8 will be an upgrade
---> Package libdnf.x86_64 0.63.0-5.el8 will be upgraded
---> Package libdnf.x86_64 0.63.0-7.el8 will be an upgrade
---> Package python3-dnf-plugins-core.noarch 4.0.21-8.el8 will be upgraded
---> Package python3-dnf-plugins-core.noarch 4.0.21-10.el8 will be an upgrade
---> Package python3-hawkey.x86_64 0.63.0-5.el8 will be upgraded
---> Package python3-hawkey.x86_64 0.63.0-7.el8 will be an upgrade
---> Package python3-libdnf.x86_64 0.63.0-5.el8 will be upgraded
---> Package python3-libdnf.x86_64 0.63.0-7.el8 will be an upgrade
--> Finished dependency resolution
Dependencies resolved.
==============================================================================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================================================================
Upgrading:
dnf-plugins-core noarch 4.0.21-10.el8 baseos 71 k
libdnf x86_64 0.63.0-7.el8 baseos 701 k
python3-dnf-plugins-core noarch 4.0.21-10.el8 baseos 230 k
python3-hawkey x86_64 0.63.0-7.el8 baseos 116 k
python3-libdnf x86_64 0.63.0-7.el8 baseos 778 k
Transaction Summary
==============================================================================================================================================================================================================
Upgrade 5 Packages
Total size: 1.9 M
Downloading Packages:
[SKIPPED] dnf-plugins-core-4.0.21-10.el8.noarch.rpm: Already downloaded
[SKIPPED] libdnf-0.63.0-7.el8.x86_64.rpm: Already downloaded
[SKIPPED] python3-dnf-plugins-core-4.0.21-10.el8.noarch.rpm: Already downloaded
[SKIPPED] python3-hawkey-0.63.0-7.el8.x86_64.rpm: Already downloaded
[SKIPPED] python3-libdnf-0.63.0-7.el8.x86_64.rpm: Already downloaded
Using rpmkeys executable at /usr/bin/rpmkeys to verify signatures
Running transaction check
Error: transaction check vs depsolve:
libsmartcols.so.1()(64bit) is needed by libdnf-0.63.0-7.el8.x86_64
libsmartcols.so.1(SMARTCOLS_2.25)(64bit) is needed by libdnf-0.63.0-7.el8.x86_64
libsmartcols.so.1(SMARTCOLS_2.28)(64bit) is needed by libdnf-0.63.0-7.el8.x86_64
libsmartcols.so.1(SMARTCOLS_2.29)(64bit) is needed by libdnf-0.63.0-7.el8.x86_64
libsmartcols.so.1(SMARTCOLS_2.30)(64bit) is needed by libdnf-0.63.0-7.el8.x86_64
libsmartcols.so.1()(64bit) is needed by python3-hawkey-0.63.0-7.el8.x86_64
libsmartcols.so.1()(64bit) is needed by python3-libdnf-0.63.0-7.el8.x86_64
libsmartcols.so.1(SMARTCOLS_2.25)(64bit) is needed by python3-libdnf-0.63.0-7.el8.x86_64
libsmartcols.so.1(SMARTCOLS_2.27)(64bit) is needed by python3-libdnf-0.63.0-7.el8.x86_64
libsmartcols.so.1(SMARTCOLS_2.28)(64bit) is needed by python3-libdnf-0.63.0-7.el8.x86_64
libsmartcols.so.1(SMARTCOLS_2.29)(64bit) is needed by python3-libdnf-0.63.0-7.el8.x86_64
libsmartcols.so.1(SMARTCOLS_2.30)(64bit) is needed by python3-libdnf-0.63.0-7.el8.x86_64
To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'.
You probably have corrupted RPMDB, running 'rpm --rebuilddb' might fix the issue.
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
I have tried cleaning the packages (dnf clean all), removing the cache files, individually trying to update/upgrade each package, etc.. I'm out of ideas.
Any suggestions?
Afer a couple more hours of trying, I was able to resolve it by performing the following:
Copy a CentOS-Base.repo file from another server
Edit the repo file to reflect the vault.centos.org location, turn off gpgcheck
dnf clean all
dnf install libsmartcols-2.32.1-28.el8
Ran dnf -y upgrade again and it worked. Go figure.
Hopefully, this will help someone else with the same or similar issue.

Installing vnstat on CentOS 6 shows "No package vnstat available"

I'm trying to install vnstat on CentOS 6. I used the command found in the docs 'yum install vnstat' but it shows the below:
[root#m2 ~]# yum install vnstat
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
* base: mirror.its.dal.ca
* extras: mirror.its.dal.ca
* updates: mirror.its.dal.ca
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 31 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 3.3 MB 00:03
No package vnstat available.
Error: Nothing to do
Does anyone know how to resolve the No package vnstat available issue?
vnstat is not available in base repository. You first need to enable EPEL (Extra Packages for Enterprise Linux) repository with:
yum install epel-release
After that, yum install vnstat should work.

MongoDB 2.6 Update Error

I am getting conflict when
[root#MongoDB ec2-user]# sudo yum install mongodb-org Loaded plugins:
priorities, security, update-motd, upgrade-helper Setting up Install
Process Resolving Dependencies
--> Running transaction check
---> Package mongodb-org.x86_64 0:2.6.0-1 will be installed
--> Processing Dependency: mongodb-org-tools = 2.6.0 for package: mongodb-org-2.6.0-1.x86_64
--> Processing Dependency: mongodb-org-shell = 2.6.0 for package: mongodb-org-2.6.0-1.x86_64
--> Processing Dependency: mongodb-org-server = 2.6.0 for package: mongodb-org-2.6.0-1.x86_64
--> Processing Dependency: mongodb-org-mongos = 2.6.0 for package: mongodb-org-2.6.0-1.x86_64
--> Running transaction check
---> Package mongodb-org-mongos.x86_64 0:2.6.0-1 will be installed
---> Package mongodb-org-server.x86_64 0:2.6.0-1 will be installed
---> Package mongodb-org-shell.x86_64 0:2.6.0-1 will be installed
---> Package mongodb-org-tools.x86_64 0:2.6.0-1 will be installed
--> Processing Conflict: mongodb-org-tools-2.6.0-1.x86_64 conflicts mongo-10gen-server
--> Processing Conflict: mongodb-org-tools-2.6.0-1.x86_64 conflicts mongo-10gen
--> Processing Conflict: mongodb-org-mongos-2.6.0-1.x86_64 conflicts mongo-10gen-server
--> Processing Conflict: mongodb-org-mongos-2.6.0-1.x86_64 conflicts mongo-10gen
--> Processing Conflict: mongodb-org-shell-2.6.0-1.x86_64 conflicts mongo-10gen-server
--> Processing Conflict: mongodb-org-shell-2.6.0-1.x86_64 conflicts mongo-10gen
--> Processing Conflict: mongodb-org-2.6.0-1.x86_64 conflicts mongo-10gen-server
--> Processing Conflict: mongodb-org-2.6.0-1.x86_64 conflicts mongo-10gen
--> Processing Conflict: mongodb-org-server-2.6.0-1.x86_64 conflicts mongo-10gen-server
--> Processing Conflict: mongodb-org-server-2.6.0-1.x86_64 conflicts mongo-10gen
--> Finished Dependency Resolution Error: mongodb-org-shell conflicts with mongo-10gen-2.4.10-mongodb_1.x86_64 Error: mongodb-org-server
conflicts with mongo-10gen-server-2.4.10-mongodb_1.x86_64 Error:
mongodb-org-mongos conflicts with mongo-10gen-2.4.10-mongodb_1.x86_64
Error: mongodb-org-mongos conflicts with
mongo-10gen-server-2.4.10-mongodb_1.x86_64 Error: mongodb-org-tools
conflicts with mongo-10gen-2.4.10-mongodb_1.x86_64 Error:
mongodb-org-server conflicts with mongo-10gen-2.4.10-mongodb_1.x86_64
Error: mongodb-org-tools conflicts with
mongo-10gen-server-2.4.10-mongodb_1.x86_64 Error: mongodb-org
conflicts with mongo-10gen-server-2.4.10-mongodb_1.x86_64 Error:
mongodb-org conflicts with mongo-10gen-2.4.10-mongodb_1.x86_64 Error:
mongodb-org-shell conflicts with
mongo-10gen-server-2.4.10-mongodb_1.x86_64 You could try using
--skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
and update giving this error:
sudo yum update mongodb-org Loaded plugins: priorities, security,
update-motd, upgrade-helper amzn-main
| 2.1 kB 00:00 amzn-updates
| 2.3 kB 00:00 Setting up Update Process Package(s)
mongodb-org available, but not installed.
How can i fix this ?
Since the package name has changed, you do need to remove the old package and install the new one. However, instead of doing this as two steps, it is cleaner to use the yum shell. This will remove the old package and install the new one in a single transaction:
yum shell
> install mongodb-org
> remove mongo-10gen
> remove mongo-10gen-server
> run
--> Running transaction check
---> Package mongo-10gen.i686 0:2.4.10-mongodb_1 will be erased
---> Package mongo-10gen-server.i686 0:2.4.10-mongodb_1 will be erased
---> Package mongodb-org.i686 0:2.6.0-1 will be installed
--> Processing Dependency: mongodb-org-tools = 2.6.0 for package: mongodb-org-2.6.0-1.i686
--> Processing Dependency: mongodb-org-shell = 2.6.0 for package: mongodb-org-2.6.0-1.i686
--> Processing Dependency: mongodb-org-server = 2.6.0 for package: mongodb-org-2.6.0-1.i686
--> Processing Dependency: mongodb-org-mongos = 2.6.0 for package: mongodb-org-2.6.0-1.i686
--> Running transaction check
---> Package mongodb-org-mongos.i686 0:2.6.0-1 will be installed
---> Package mongodb-org-server.i686 0:2.6.0-1 will be installed
---> Package mongodb-org-shell.i686 0:2.6.0-1 will be installed
---> Package mongodb-org-tools.i686 0:2.6.0-1 will be installed
--> Finished Dependency Resolution
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mongodb-org i686 2.6.0-1 10gen 4.6 k
Removing:
mongo-10gen i686 2.4.10-mongodb_1 #10gen 181 M
mongo-10gen-server i686 2.4.10-mongodb_1 #10gen 30 M
Installing for dependencies:
mongodb-org-mongos i686 2.6.0-1 10gen 6.7 M
mongodb-org-server i686 2.6.0-1 10gen 8.9 M
mongodb-org-shell i686 2.6.0-1 10gen 4.2 M
mongodb-org-tools i686 2.6.0-1 10gen 88 M
Transaction Summary
================================================================================
Install 1 Package (+4 Dependent packages)
Remove 2 Packages
Total download size: 108 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): mongodb-org-2.6.0-1.i686.rpm | 4.6 kB 00:00
(2/5): mongodb-org-mongos-2.6.0-1.i686.rpm | 6.7 MB 00:00
(3/5): mongodb-org-server-2.6.0-1.i686.rpm | 8.9 MB 00:00
(4/5): mongodb-org-shell-2.6.0-1.i686.rpm | 4.2 MB 00:00
(5/5): mongodb-org-tools-2.6.0-1.i686.rpm | 88 MB 00:04
--------------------------------------------------------------------------------
Total 19 MB/s | 108 MB 00:05
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : mongodb-org-server-2.6.0-1.i686 1/7
Installing : mongodb-org-mongos-2.6.0-1.i686 2/7
Installing : mongodb-org-tools-2.6.0-1.i686 3/7
Installing : mongodb-org-shell-2.6.0-1.i686 4/7
Installing : mongodb-org-2.6.0-1.i686 5/7
Erasing : mongo-10gen-server-2.4.10-mongodb_1.i686 6/7
Erasing : mongo-10gen-2.4.10-mongodb_1.i686 7/7
Verifying : mongodb-org-2.6.0-1.i686 1/7
Verifying : mongodb-org-shell-2.6.0-1.i686 2/7
Verifying : mongodb-org-tools-2.6.0-1.i686 3/7
Verifying : mongodb-org-mongos-2.6.0-1.i686 4/7
Verifying : mongodb-org-server-2.6.0-1.i686 5/7
Verifying : mongo-10gen-server-2.4.10-mongodb_1.i686 6/7
Verifying : mongo-10gen-2.4.10-mongodb_1.i686 7/7
Removed:
mongo-10gen.i686 0:2.4.10-mongodb_1
mongo-10gen-server.i686 0:2.4.10-mongodb_1
Installed:
mongodb-org.i686 0:2.6.0-1
Dependency Installed:
mongodb-org-mongos.i686 0:2.6.0-1 mongodb-org-server.i686 0:2.6.0-1
mongodb-org-shell.i686 0:2.6.0-1 mongodb-org-tools.i686 0:2.6.0-1
Finished Transaction
> exit
Leaving Shell
You have to remove packages of MongoDB 2.4:
sudo yum remove mongo-10gen*
and then install packages of new MongoDB 2.6:
sudo yum install mongodb-org
Seems that you are upgrading from version 2.4 to 2.6 which apparently has changed the package names.
I guess you will have to remove/erase the old package mongodb-10gen* and then run this new install command for it to work.
remove the old mongodb
sudo yum remove mongo-10gen-server mongo-10gen-tools mongo-10gen-shell mongo-10gen-mongos mongo-10gen
install the new mongodb (prerequisitely, you must config the yum source, refer here )
sudo yum install mongodb-org

problem installing memcached on centos 5.4 64 bit

I'm trying to install memcached on Centos 5.4 with:
# yum install memcached
What I get is:
[root#domU-12-31-39-02-75-A8 ~]# yum -y install memcached
Failed to set locale, defaulting to C
rightscale-epel | 951 B 00:00
rpmforge | 1.1 kB 00:00
rpmforge/primary | 3.9 MB 00:01
rpmforge 10767/10767
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package memcached.x86_64 0:1.4.5-1.el5 set to be updated
--> Processing Dependency: libevent-1.4.so.2()(64bit) for package: memcached
--> Finished Dependency Resolution
memcached-1.4.5-1.el5.x86_64 from epel has depsolving problems
--> Missing Dependency: libevent-1.4.so.2()(64bit) is needed by package memcached-1.4.5-1.el5.x86_64 (epel)
Error: Missing Dependency: libevent-1.4.so.2()(64bit) is needed by package memcached-1.4.5-1.el5.x86_64 (epel)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
How can I install memcached?
Thanks, Alex A.
You need to install it manually or change your yum repo:
wget ftp://rpmfind.net/linux/dag/redhat/el5/en/x86_64/testing/RPMS/libevent-1.3b-1.el5.test.x86_64.rpm
wget http://pkgs.repoforge.org/memcached/memcached-1.2.6-1.el3.rf.x86_64.rpm
rpm -ivh libevent-1.3b-1.el5.test.x86_64.rpm
rpm -ivh memcached-1.2.6-1.el3.rf.x86_64.rpm
Note, that this is an older version of memcached