Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
#released updates
[updates]
name=CentOS-5 - Updates
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=updates
#baseurl=http://mirror.centos.org/centos/5/updates/i386/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released
[addons]
name=CentOS-5 - Addons
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=addons
#baseurl=http://mirror.centos.org/centos/5/addons/i386/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-5 - Extras
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=extras
#baseurl=http://mirror.centos.org/centos/5/extras/i386/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-5 - Plus
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=centosplus
#baseurl=http://mirror.centos.org/centos/5/centosplus/i386/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#contrib - packages by Centos Users
[contrib]
name=CentOS-5 - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=contrib
#baseurl=http://mirror.centos.org/centos/5/contrib/i386/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
Using the GUI Yum frontend, and "yum update" in terminal, it complains that it can't resolve dependencies.
Can you post the yum command you used and its output - we might be able to give hints if it is a true dependency issue.
A couple of gotchas I've seen that you might want to look at.
1) Most RHEL5/CentOS5 systems are running the yum-updatesd daemon by default. This can interfere with command line yum runs. Running "service yum-updatesd stop" and retrying your yum CLI might resolve your issue.
2) The yum cache sometimes gets confused so running "yum clean all" to clear the cache often helps. Note that if you have set yum to keep all rpms and headers it downloads this will delete them (not the installed packages themselves - just the files that were used to install them.) If you want to save those rpm bundles you need to copy them from the /var/cache/yum/* directories to another location prior to the yum cleaning.
It's telling me to run a package-cleanup, but none of those commands seem to work, and yum-utils isn't a package as far as my PC is concerned, I did a search and nothing turned up. Did the yum clean all and yum makecache, no change.
--> Missing Dependency: libXt-devel is needed by package xulrunner-devel-1.9.2.9-1.el5.i386 (updates)
xulrunner-devel-1.9.2.9-1.el5.i386 from updates has depsolving problems
--> Missing Dependency: libjpeg-devel is needed by package xulrunner-devel-1.9.2.9-1.el5.i386 (updates)
Error: Missing Dependency: libXt-devel is needed by package xulrunner-devel-1.9.2.9-1.el5.i386 (updates)
Error: Missing Dependency: libjpeg-devel is needed by package xulrunner-devel-1.9.2.9-1.el5.i386 (updates)
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Reply to post # 7 ( Which before your edit said : No such file .. ).
The blue text centos-release-5-5.el5.centos.i386.rpm
is a direct link to the package : You will have to download it.
And : cd <location-of-downloaded-package>/ ; su ;
... and then 'rpm -Uvh --force centos-release-5-5.el5.centos.i386.rpm'
Reply to post # 7 ( Which before your edit said : No such file .. ).
The blue text centos-release-5-5.el5.centos.i386.rpm
is a direct link to the package : You will have to download it.
And : cd <location-of-downloaded-package>/ ; su ;
... and then 'rpm -Uvh --force centos-release-5-5.el5.centos.i386.rpm'
...
Yeah that's why I snipped that, had a brain fart.
Quote:
Originally Posted by John VV
this may also be a repo incompatibility issue
but the spinets of output you have posted make it imposable to tell
it is VERY VERY VERY easy to have incompatible rpm's installed .That is why there are the two yum plugins " priorities" and "protect base"
posting the FULL command and output would help and also the output of this
Code:
yum repolist all
also "yum-utils " needs to be installed it is not on the install disk
and the text in the first post is a INCOMPLETE *.repo file
not everything is there that SHOULD be there
use the link in the above post to reinstall the base centOS repo file
Installed from which repo? I do a yum search for it, and it turns up nothing.
Also:
Code:
yum repolist all
Loaded plugins: fastestmirror
repo id repo name status
addons CentOS-5 - Addons enabled: 0
c5-media CentOS-5 - Media disabled
centosplus CentOS-5 - Plus enabled: 103
contrib CentOS-5 - Contrib enabled: 0
extras CentOS-5 - Extras enabled: 335
updates CentOS-5 - Updates enabled: 554
repolist: 992
?? have you fixed the centos-base.repo ?
-- the top part of mine -- you are missing the [base] part
Code:
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
.... more lines of code...
from your above post YOU DID NOT
you are missing the BASE
when i run "yum repolist i have the BASE listed
Quote:
base CentOS-5 - Base enabled: 3,434
a yum search for "yum-utils" gives you no output?
Code:
su -
yum search yum-utils
should give you something like this
Quote:
============================== Matched: yum-utils ==============================
yum-NetworkManager-dispatcher.noarch : NetworkManager dispatcher plugin to help
: yum, when changing networks
yum-aliases.noarch : Yum plugin to enable aliases filters
yum-allowdowngrade.noarch : Yum plugin to enable manual downgrading of packages
yum-changelog.noarch : Yum plugin for viewing package changelogs before/after
: updating
yum-downloadonly.noarch : Yum plugin to add downloadonly command option
yum-fastestmirror.noarch : Yum plugin which chooses fastest repository from a
: mirrorlist
yum-filter-data.noarch : Yum plugin to list filter based on package data
yum-kernel-module.noarch : Yum plugin to handle kernel-module-foo type of kernel
: module
yum-keys.noarch : Yum plugin to deal with signing keys
yum-kmod.noarch : Yum plugin to handle fedora kernel modules.
yum-list-data.noarch : Yum plugin to list aggregate package data
yum-merge-conf.noarch : Yum plugin to merge configuration changes when
: installing packages
yum-priorities.noarch : plugin to give priorities to packages from different
: repos
yum-protect-packages.noarch : Yum plugin to prevents Yum from removing itself
: and other protected packages
yum-protectbase.noarch : Yum plugin to protect packages from certain
: repositories.
yum-refresh-updatesd.noarch : Tell yum-updatesd to check for updates when yum
: exits
yum-security.noarch : Yum plugin to enable security filters
yum-tmprepo.noarch : Yum plugin to add temporary repositories
yum-tsflags.noarch : Yum plugin to add tsflags by a commandline option
yum-updateonboot.noarch : Run yum update on system boot
yum-upgrade-helper.noarch : Yum plugin to help upgrades to the next distribution
: version
yum-utils.noarch : Utilities based around the yum package manager
yum-verify.noarch : Yum plugin to add verify command, and options
yum-versionlock.noarch : Yum plugin to lock specified packages from being
: updated
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.