LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing package(s) with command yum -y install python-libs .. (https://www.linuxquestions.org/questions/linux-newbie-8/installing-package-s-with-command-yum-y-install-python-libs-892316/)

Jan-Ivar 07-18-2011 09:04 AM

Installing package(s) with command yum -y install python-libs ..
 
Hi
I get some error messages when trying to update python-libs. I see that there are some packages that are missing but can not figure out how to automatically installed, or update these packages. see below. I see that there are some missing dependency.

Installing package(s) with command yum -y install python-libs ..

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.df.lth.se
* extras: ftp.df.lth.se
* updates: ftp.df.lth.se
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
--> Processing Dependency: python-libs-i386 = 2.4.3-43.el5 for package: python
---> Package python-libs.i386 0:2.4.3-44.el5 set to be updated
--> Finished Dependency Resolution
python-2.4.3-43.el5.i386 from installed has depsolving problems
--> Missing Dependency: python-libs-i386 = 2.4.3-43.el5 is needed by package python-2.4.3-43.el5.i386 (installed)
Error: Missing Dependency: python-libs-i386 = 2.4.3-43.el5 is needed by package python-2.4.3-43.el5.i386 (installed)
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
The program package-cleanup is found in the yum-utils package.

.. install failed!

John VV 07-18-2011 04:30 PM

".el5"
so i take it that this is WHAT
RHEL5.something ( 5.1,5.2,5.3,5.4,5.5,5.6)
CentOS5.something( 5.6 is the ONLY supported)
or
Scientificinux5.something ( 5.6 is the ONLY supported)

did you install "yum-protectbase" and "yum-priorities" AND configure them
that is VERY important for "python"
rhel/cent/sl REQUIRE yes REQUIRE the version that is in the base repo
you can NOT change that

so
some info and maybe we can fix this
What OS is this ?
What version of whatever os this is IS this ?
what repos did you install ?
( rpmforge?,epel?,Atrpm? , what ? )

Jan-Ivar 07-19-2011 02:39 AM

Hi

This is what i installed:
Web Server: Apache 2.2 with PHP 5.1.6
Database Server: MySQL 5.0
Mail Server: Postfix
DNS Server: BIND9 (chrooted)
FTP Server: Proftpd
POP3/IMAP server: Dovecot
Webalizer for web site statistics
Webmin 1.530
ISPConfig 3 (this should I have installed the version 2)
Squirrelmail (this i should not have installed only tested this one)

chrism01 07-19-2011 07:24 PM

Quote:

There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
.
.
.
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
The program package-cleanup is found in the yum-utils package.
There's some heavy hints there to start by installing yum-utils package.
Then run the cmds as suggested. You might also need 'yum clean all' and/or 'rpm --rebuilddb'

Jan-Ivar 07-20-2011 02:44 PM

Hi
Now I installed yum-utils package and run the commands: package-cleanup - problems
package-cleanup - dupes
rpm-Va - nofile - nodigest.
But now get this message.
Unsatisfied Dependencies for python-2.4.3-44.el5.i386: python-libs-i386 = 2.4.3-44.el5
Do I have to install the Python libs again?

chrism01 07-20-2011 05:56 PM

As per post #2, we need to know what distro/ver we're dealing with; run these and post results
Code:

cat /etc/*release*

uname -a


Jan-Ivar 07-21-2011 08:40 AM

Hi
I am sorry that I come with inaccurate information to you.

[root@server1 ~]# cat /etc/*release*
cat: /etc/lsb-release.d: Is a directory
CentOS release 5.6 (Final)

[root@server1 ~]# uname -a
Linux server1.skogly.net 2.6.18-238.19.1.el5 #1 SMP Fri Jul 15 07:32:29 EDT 2011 i686 i686 i386 GNU/Linux


All times are GMT -5. The time now is 11:05 PM.