LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-07-2010, 07:03 AM   #1
herby1620
LQ Newbie
 
Registered: Mar 2004
Location: Sillicon Valley
Distribution: RedHat/Debian
Posts: 11

Rep: Reputation: 0
How do I fake an RPM file being installed?


In some recent update, I seem to have gotten the file "libdvdread.so.3" installed in "/usr/lib" (if you want to check, the file length is 127044, and the date is Jan 27, 2008). This looks fine.

Now I have a bunch of rpm's that insist on having the package "libdvdread.so.3" and I can't fine a package that has it. How do I tell the RPM database that this file is alive and well in my system? It ought to be pretty simple, but there doesn't seem to be a simple way to do it.

Thus the request: HELP!
 
Old 10-07-2010, 07:13 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
If that is the only dependency preventing installation, I would personally just force the installation with the --nodeps option to the RPM command. You can fake entries, or do things like take an RPM package and only install it in the database, without installing the files, but that requires an rpm in the first place.
 
Old 10-07-2010, 07:35 AM   #3
herby1620
LQ Newbie
 
Registered: Mar 2004
Location: Sillicon Valley
Distribution: RedHat/Debian
Posts: 11

Original Poster
Rep: Reputation: 0
If it were just a single package that wanted the file/package, I'd do the --nodeps route. The problem is that SEVERAL packages desire this file, thus the question.

The more general problem is that this comes up using 'yum' to fetch packages, and do updates. The nice automated utilities (read: GUI's) don't have a simple override. I was hoping for a solution like "Look, I have this file! Put it in your database and don't talk to me about it. Trust me!".
 
Old 10-07-2010, 07:52 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Quote:
Originally Posted by herby1620 View Post
I can't fine a package that has it.
The package is libdvdread-.*.rpm (as in 'rpm -qf /usr/lib/libdvdread.so.*').
Are you mixing repositories?
Which ones do you use?
Can you post the "/tmp/update.err" output of picking one package (from the same repo you got libdvdread from) that depends on libdvdread and running 'yum -y update [packagename] 2>&1 | tee /tmp/update.err'?
 
Old 10-08-2010, 03:01 AM   #5
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 676

Rep: Reputation: 137Reputation: 137
Quote:
Originally Posted by herby1620 View Post
In some recent update, I seem to have gotten the file "libdvdread.so.3" installed in "/usr/lib" (if you want to check, the file length is 127044, and the date is Jan 27, 2008). This looks fine.

Now I have a bunch of rpm's that insist on having the package "libdvdread.so.3" and I can't fine a package that has it. How do I tell the RPM database that this file is alive and well in my system? It ought to be pretty simple, but there doesn't seem to be a simple way to do it.

Thus the request: HELP!
You can create package with no files that only has
Provides libdvdread.so.3

and install it
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to uninstall a software installed with tar.gz file..or .rpm file av.dubey Linux - Newbie 3 06-21-2008 02:27 PM
mod_jk file installed by rpm corrupts it johnvarghese Linux - General 0 12-01-2005 08:35 AM
How to know the rpm file name which I have installed ? naihe2010 Linux - Software 1 11-13-2005 12:42 AM
How to find an installed .rpm file Gald3r Linux - Newbie 22 09-25-2005 01:19 AM
Installed RPM/tar file, cant find out how to run it Craneology Linux - Software 4 03-01-2003 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration