LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-03-2004, 12:52 PM   #1
robebe
LQ Newbie
 
Registered: Dec 2004
Location: Houston, TX
Distribution: RH FC3
Posts: 13

Rep: Reputation: 0
Package Management problem!


Best Regards Team and Happy Holidays..!!!

I'm so-so new to LINUX so pardon my ignorance...

I'm using RH FC3. Performed an "up2date" and everyhting went fine. Now when trying to add a "package" I get the following error:

Quote:
The following packages could not be found on your system. Installation cannot continue until they are installed.
libselinux
libxml2
I already went to the RD Fedora site and downloaded the packages again but I get message "The package is already installed"

Any ideas/advice will be really appreciated.
 
Old 12-03-2004, 01:01 PM   #2
anonobomber
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: Debian, Fedora, CentOS, FreeBSD, OpenSolaris
Posts: 138

Rep: Reputation: 16
open a terminal, su and run:

yum install package
 
Old 12-03-2004, 01:19 PM   #3
robebe
LQ Newbie
 
Registered: Dec 2004
Location: Houston, TX
Distribution: RH FC3
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
[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]#
OK....What I'm doing wrong...?????
 
Old 12-03-2004, 01:23 PM   #4
robebe
LQ Newbie
 
Registered: Dec 2004
Location: Houston, TX
Distribution: RH FC3
Posts: 13

Original Poster
Rep: Reputation: 0
Never mind........but I keep getting the message:

"Nothing to do"

Quote:
[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]#
 
Old 12-03-2004, 01:29 PM   #5
palletooru
LQ Newbie
 
Registered: Sep 2004
Location: warnagal,india
Distribution: red hat
Posts: 11

Rep: Reputation: 0
friendz i need help

how can one install a package with all dependencies?
 
Old 12-03-2004, 01:36 PM   #6
anonobomber
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: Debian, Fedora, CentOS, FreeBSD, OpenSolaris
Posts: 138

Rep: Reputation: 16
Re: friendz i need help

Quote:
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/
 
Old 12-03-2004, 01:49 PM   #7
palletooru
LQ Newbie
 
Registered: Sep 2004
Location: warnagal,india
Distribution: red hat
Posts: 11

Rep: Reputation: 0
that is not working for me?

There is no file named "yum.conf"
 
Old 12-03-2004, 02:58 PM   #8
robebe
LQ Newbie
 
Registered: Dec 2004
Location: Houston, TX
Distribution: RH FC3
Posts: 13

Original Poster
Rep: Reputation: 0
Still no luck....

The package is installed but still keep getting the same error....

Quote:
[root@fedora bin]# rpm --rebuilddb
[root@fedora bin]# rpm -qa | grep libxml2
libxml2-2.6.16-3
libxml2-python-2.6.16-3
[root@fedora bin]# rpm -qa | grep libselinux
libselinux-1.19.1-8
[root@fedora bin]#
Trying "yum install" gives this:

Quote:
[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

Last edited by robebe; 12-03-2004 at 03:02 PM.
 
Old 12-03-2004, 04:24 PM   #9
BlueBright
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
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.
 
Old 12-23-2004, 09:01 AM   #10
Remko
LQ Newbie
 
Registered: Dec 2004
Location: The Netherlands
Distribution: Fedora Core 3
Posts: 7

Rep: Reputation: 0
I'm having the same problem, with xorg-x11-libs. The package manager cannot locate it, and rpm -q and rpm -i give contradictory results:

[root@82-169-182-14-mx remko]# rpm -q xorg-x11-libs-6.8.1-12.FC3.21.i386.rpm
package xorg-x11-libs-6.8.1-12.FC3.21.i386.rpm is not installed
[root@82-169-182-14-mx remko]# rpm -Uvh xorg-x11-libs-6.8.1-12.FC3.21.i386.rpm
Preparing... ########################################### [100%]
package xorg-x11-libs-6.8.1-12.FC3.21 is already installed

I tried BlueBright's solution, but to no avail:

[root@82-169-182-14-mx remko]# rpm -e --nodeps xorg-x11-libs-6.8.1-12.FC3.21.i386.rpm
error: package xorg-x11-libs-6.8.1-12.FC3.21.i386.rpm is not installed
[root@82-169-182-14-mx remko]# rpm -q xorg-x11-libs-6.8.1-12.FC3.21.i386.rpm package xorg-x11-libs-6.8.1-12.FC3.21.i386.rpm is not installed
[root@82-169-182-14-mx remko]# rpm -ivh --force xorg-x11-libs-6.8.1-12.FC3.21.i386.rpm
Preparing... ########################################### [100%]
1:xorg-x11-libs ########################################### [100%]
[root@82-169-182-14-mx remko]# rpm -q xorg-x11-libs-6.8.1-12.FC3.21.i386.rpm package xorg-x11-libs-6.8.1-12.FC3.21.i386.rpm is not installed

I thought Microsoft had a monopoly in such contradictions...
Using yum does not help either, by the way.

Any suggestions?

TIA,
Remko
 
Old 12-23-2004, 09:29 AM   #11
dsschanze
Member
 
Registered: Aug 2004
Location: Gainesville, FL
Distribution: Linux Mint 12, Win7, iOS
Posts: 208

Rep: Reputation: 33
but how do you install all package dependencies when you don't have them downloaded? I am confused!!!!
 
Old 12-24-2004, 07:42 AM   #12
Remko
LQ Newbie
 
Registered: Dec 2004
Location: The Netherlands
Distribution: Fedora Core 3
Posts: 7

Rep: Reputation: 0
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.

You're right: this is confusing!
 
Old 01-12-2005, 06:30 PM   #13
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Mint
Posts: 181

Rep: Reputation: 32
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

any ideas? except reinstallation??? :-)
 
Old 01-13-2005, 12:50 AM   #14
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Mint
Posts: 181

Rep: Reputation: 32
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
 
Old 01-14-2005, 07:30 AM   #15
n8tgc
Member
 
Registered: Jul 2004
Location: Metro Detroit
Distribution: SUSE 10, 11.1 & DSL
Posts: 35

Rep: Reputation: 15
robebe,

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)

Any suggestions folks?



Chris

Last edited by n8tgc; 01-14-2005 at 07:48 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Package Archive style package management mugwump84 Linux From Scratch 3 08-25-2005 05:19 PM
Fedora 4 - Package Management problem futz Linux - Newbie 7 08-02-2005 05:14 AM
package management laydros Slackware 6 01-21-2005 06:43 PM
GUI Package Management Problem Lodnod Linux - Newbie 2 10-21-2004 05:25 PM
Package management Ultimaterra2005 Red Hat 1 02-22-2004 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration