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.
[root@fedora robert]# yum install package libselinux
Setting up Install Process
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
primary.xml.gz 100% |=========================| 129 kB 00:03
MD Read : ################################################## 319/319
updates-re: ################################################## 319/319
No Match for argument package
Nothing to do
[root@fedora robert]#
[root@fedora robert]# yum install libselinux
Setting up Install Process
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
primary.xml.gz 100% |=========================| 132 kB 00:05
MD Read : ################################################## 327/327
updates-re: ################################################## 327/327
Nothing to do
[root@fedora robert]#
Originally posted by palletooru how can one install a package with all dependencies?
Thats exactly what yum does, it will install all the dependencies for a package when you yum install it, given that they are available in the package repositories in your /etc/yum.conf and /etc/yum.conf.d/
[root@fedora bin]# yum install libselinux-1.19.1-8.i386.rpm
Setting up Install Process
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
primary.xml.gz 100% |=========================| 129 kB 00:01
MD Read : ################################################## 319/319
updates-re: ################################################## 319/319
No Match for argument libselinux-1.19.1-8.i386.rpm
Nothing to do
I had the same problem while trying to add packages with system-config-packages
It would not let me add packages ("packaged could not be located"). To proceed, I first removed the packages that caused the error, e.g.,
rpm -e --nodeps libxslt
After removing the packages, I could successfully add the desired packages, and (because of luck?) 3 out of 5 packages I had removed were installed again when the dependencies were solved. The remaining 2 I installed again manually, and ran
yum update to make sure everything was up to date.
After that, system-config-packages ran without an error message
Last edited by BlueBright; 12-03-2004 at 08:11 PM.
This one does not seem to need other packages, otherwise rpm would give error messages, wouldn't it? It is itself needed for xorg-x11 and xorg-x11-xfs, as the wizard for adding and removing software says. I have the xorg-x11-libs downloaded already.
Anyway, the contradictory answers to rpm commands speak for themselves. And yum install or yum update does not help either, so the problem is not that my downloaded version of the package is corrupted somehow.
i had the same problem and did a rpm -e -nodeps libselinux....
it seems that this destroyed completely rpm....
i can't run system-config-packages or yum...
i get a:
libselinux.so.1: cannot open shared object file: No such file or directory
Things are worse. Now i'm not able to logon. The session closes at once with the same xsession error...
Is there anyone who could tell me how to extract the files in the .rpm in order to put libselinux.so.1 back in /usr/lib?
Or maybe send me this file by email...
I'll use a live cd probably to access the filesystem and put it back, but i need to find the file first...
Thanx in advance
Were you able to resolve your issue? As luck would have it I am experiancing the same issue as you with one addition (PAM). Libselinex, libxml2 and pam are all installed on my system (FC3). When I go to "Add/Remove Packages" and try to install ANY additional packages I get the error that these three packages cannot be found.
I have run up2date and updated my system. I have also run "yum update". I have also run "yum install package" for these three packages. to which I get the response "nothing to do" (assuming that Yum has identified that these packages are already installed)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.