As a reuslt I got a complete new set of Berkley database files in /usr/RPM/DB - just like the one I already had in /var/lib/rpm (Basenames, Conflicname, Dirnames, etc.) and the following installation confirmation message:
Congratulations! |
| |
| You have successfully installed an OpenPKG UNKNOWN instance |
| under prefix /usr on target platform . |
| |
| Details about this installed OpenPKG instance you can easily |
| determine by running the following typical OpenPKG RPM query |
| commands: |
| |
| $ /usr/bin/openpkg rpm -qa |
| $ /usr/bin/openpkg rpm -qi openpkg |
| $ /usr/bin/openpkg rpm -qlv openpkg |
| |
| The integrity of the whole OpenPKG instance you can check at any |
| time by running the OpenPKG RPM verify command: |
| |
| $ /usr/bin/openpkg rpm -Va |
| |
| For installing software packages into this OpenPKG instance, |
| just run the following two OpenPKG RPM build commands for each |
| package: |
| |
| $ /usr/bin/openpkg rpm --rebuild /path/to/foo-*.src.rpm |
| $ /usr/bin/openpkg rpm -Uvh /usr/RPM/PKG/foo-*.rpm |
| |
| If you later want to remove a software package, just run: |
| |
| $ /usr/bin/openpkg rpm -e foo |
| |
| For removing the whole OpenPKG instance under prefix |
| /usr, just remove every package. Once you finally |
| removed the package "openpkg", the whole OpenPKG instance |
| will be unlinked from the system and removed, too. |
| |
| Thank you for flying OpenPKG... |
| Ralf S. Engelschall |
| The OpenPKG Project |
| [EMAIL PROTECTED] |
+-----------------------------------------------------------------------------+
[EMAIL PROTECTED] stuff]#
I can't follow the uninstall instructions from this message though because it implies (I think) removal through rpm command - which I currently cannot use. Can I just rm all its files? Sounds like a careless thing to do, but what other options do I have?
Then again, should I worry about uninstalling openpkg at all? Because it's not teh presence of openpkg that worries me - it's my inability to use rpm utility - either with the original RedHat rpm package or with openpkg.
Idially, I would just want to rebuild the database, which I would suppose would enable both of these package utilities. Or am I too optimistic?
Bill Campbell wrote:
On Mon, Jul 19, 2004, v8625 wrote:
I updated kernel on RedHat 9.0 from stock kernel 2.4.20-8 to 2.6.7. Which rendered my rpm package database inoperable. In fact, I can't run any rpm commands now, that is I run them, but all I get is the following message:
[EMAIL PROTECTED] bin]# rpm -vv -rebuilddb
+----------------------------------Warning------------------------------------+
| The "/usr/bin/rpm" command is deprecated since OpenPKG 2.0 |
| because of namespace and integration reasons. The command will be finally |
| removed in OpenPKG 2.1, so please start using the new canonical command |
| "/usr/bin/openpkg rpm" instead. Thanks. |
+-----------------------------------------------------------------------------+
This basically tells me that openpkg is also messed up. How do I get this resolved? Any tricks to reinstall the database? Something like
How did you get the OpenPKG version of the rpm command in /usr/bin? It and other OpenPKG user level commands should be under %{l_prefix}/bin where %{l_prefix} is defined when you bootstrap OpenPKG. I wouldn't be at all surprised if you had serious problems if you used /usr as your %{l_prefix}.
I would think that Red Hat rpm command is in /bin/rpm, but I've never done more with RH than install it for testing, then go back to another distribution (originally Caldera now SuSE).
Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/
``If ye love wealth greater than liberty, the tranquillity of servitude greater than the animating contest for freedom, go home from us in peace. We seek not your consul, nor your arms. Crouch down and lick the hand that feeds you. May your chains set lightly upon you; and may posterity forget ye were our countrymen.'' -- Samuel Adams (American Patriot) ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
