How to register a program in rpm database
I have downloaded XFree86 and installed it, all works fine.
But my application have a prereq that says "XFree86-Xvfb" have to be installed. The installation from XFree86.org is not a .rpm package (XFree86 is working well, but prereq just check rpm) How do I register a new package in my rpm database??? ------ From my linux-box: linux:~ # rpm -qa | grep XFree XFree86-server-4.3.99.902-43.22 XFree86-4.3.99.902-43.22 XFree86-fonts-75dpi-4.3.99.902-43.22 XFree86-server-glx-4.3.99.902-43.22 XFree86-Mesa-4.3.99.902-43.22 XFree86-man-4.3.99.902-43.22 XFree86-Xvnc-4.3.99.902-43.22 XFree86-fonts-scalable-4.3.99.902-43.22 XFree86-libs-4.3.99.902-43.22 XFree86-devel-4.3.99.902-43.22 ---- I would like to add a line: XFree86-Xvfb-4.3.99.902-43.22 --- This is what I have installed, but not reqognised by my applications prereq check. |
Hello
if you run Quote:
Maybe this option will do what you need. Regards. |
Close but not exact
Try #1 -------------
> rpm -U --justdb XFree86-Xvfb-4.3.99.902-43.22 error: cannot open file XFree86-Xvfb-4.3.99.902-43.22: No such file or directory Try #2 ------------- > touch XFree86-Xvfb-4.3.99.902-43.22.rpm > rpm -U --justdb XFree86-Xvfb-4.3.99.902-43.22.rpm error: XFree86-Xvfb-4.3.99.902-43.22.rpm does not appear to be a RPM package ------------------- My problem is that XFree86 from xfree86.org have there own installer (it works perfect). My other application prereq checks only with something like "rpm -qa | grep XFree86-Xvfb*". So I need to insert the name in the rpm-database without having the actual rpm-package. |
I downloaded a package that was wrong version...
and then wrote this command :-) rpm -U --justdb --force --oldpackage --nodeps XFree86-Xvfb-4.3.0-2.i386.rpm So no I have the right name in rpm-database :-) (probably some other upcomming problems with this, but its only a sandbox-machine) |
All times are GMT -5. The time now is 07:09 AM. |