Forum Home
Press F1
 
Thread ID: 48644 2004-08-28 23:01:00 burning audio cds with toaster kiwirik2001 (2583) Press F1
Post ID Timestamp Content User
266435 2004-08-31 06:15:00 rpm -e yum
rpm -ivvh *.rpm

if the ivvh doesn't work, try

rpm -ivvh --force *.rpm

-e means eliminate the present one.

If you have mc installed (and you should ... it's wonderful) run mc, then just use Enter on a .rpm, file . It will open the file, and give you INSTALL and UPGRADE as options. Enter on INSTALL will install. If it all happns and you can'r see what has happened, Ctrl/O will show you. Ctrl/O gets back. F10 will let you exit.
Graham L (2)
266436 2004-08-31 07:17:00 sorry for the long post but this is what i got


[boss@rick boss]$ cd temp
[boss@rick temp]$ rpm -e yum
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
[boss@rick temp]$ rpm -ivvh *.rpm
D: ============== gyum-1.0-1.fc1.noarch.rpm
D: Expected size: 26975 = lead(96)+sigs(180)+pad(4)+data(26695)
D: Actual size: 26975
D: gyum-1.0-1.fc1.noarch.rpm: MD5 digest: OK (3ad53283ce7499bcb5b2c93f28e284bd)
D: added binary package [0]
D: ============== yum-2.0.7-1.noarch.rpm
D: Expected size: 133762 = lead(96)+sigs(180)+pad(4)+data(133482)
D: Actual size: 133762
D: yum-2.0.7-1.noarch.rpm: MD5 digest: OK (6d2006d09b3873575ad413dae4ce7de4)
D: added binary package [1]
D: found 0 source and 2 binary packages
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: ========== +++ gyum-1.0-1.fc1 noarch-linux 0x0
D: opening db index /var/lib/rpm/Depends create mode=0x0
D: opening db index /var/lib/rpm/Basenames rdonly mode=0x0
D: opening db index /var/lib/rpm/Pubkeys rdonly mode=0x0
D: read h# 1461 Header sanity check: OK
D: ========== DSA pubkey id b44269d04f2a6fd2
D: read h# 1481 Header V3 DSA signature: OK, key ID 4f2a6fd2
D: Requires: /bin/bash YES (db files)
D: read h# 13 Header V3 DSA signature: OK, key ID 4f2a6fd2
D: Requires: /sbin/chkconfig YES (db files)
D: read h# 1637 Header V3 DSA signature: OK, key ID 4f2a6fd2
D: Requires: /sbin/service YES (db files)
D: Requires: config(gyum) = 1.0-1.fc1 YES (added provide)
D: opening db index /var/lib/rpm/Providename rdonly mode=0x0
D: read h# 1549 Header V3 DSA signature: OK, key ID 4f2a6fd2
D: Requires: libxml2-python YES (db provides)
D: read h# 340 Header V3 DSA signature: OK, key ID 4f2a6fd2
D: Requires: pygtk2 >= 2.0 YES (db provides)
D: read h# 74 Header V3 DSA signature: OK, key ID 4f2a6fd2
D: Requires: python YES (db provides)
D: read h# 77 Header V3 DSA signature: OK, key ID 4f2a6fd2
D: Requires: rpm >= 0:4.1.1 YES (db provides)
D: read h# 188 Header V3 DSA signature: OK, key ID 4f2a6fd2
D: Requires: rpm-python YES (db provides)
D: Requires: rpmlib(CompressedFileNames) <= 3.0.4-1 YES (rpmlib provides)
D: Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 YES (rpmlib provides)
D: Requires: yum >= 2.0.7 YES (added provide)
D: ========== +++ yum-2.0.7-1 noarch-linux 0x0
D: Requires: /bin/bash YES (cached)
D: Requires: /bin/sh YES (db files)
D: Requires: /bin/sh YES (cached)
D: Requires: /bin/sh YES (cached)
D: Requires: /sbin/chkconfig YES (cached)
D: Requires: /sbin/service YES (cached)
D: Requires: /usr/bin/python YES (db files)
D: Requires: config(yum) = 2.0.7-1 YES (added provide)
D: Requires: libxml2-python YES (cached)
D: Requires: python YES (cached)
D: Requires: rpm >= 0:4.1.1 YES (cached)
D: Requires: rpm-python YES (cached)
D: Requires: rpmlib(CompressedFileNames) <= 3.0.4-1 YES (cached)
D: Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 YES (cached)
D: closed db index /var/lib/rpm/Pubkeys
D: closed db index /var/lib/rpm/Depends
D: closed db index /var/lib/rpm/Providename
D: closed db index /var/lib/rpm/Basenames
D: closed db index /var/lib/rpm/Packages
D: ========== recording tsort relations
D: Requires: yum >= 2.0.7 YES (added provide)
D: ignore package name relation(s) [0] libtermcap -> bash
D: ignore package name relation(s) [1] modutils -> vixie-cron
D: ignore package name relation(s) [2] ypbind -> yp-tools
D: ignore package name relation(s) [3] ghostscript-fonts -> ghostscript
D: ignore package name relation(s) [4] libgnomeprint15 -> gnome-print
D: ignore package name relation(s) [5] nautilus -> nautilus-mozilla
D: ignore package name relation(s) [6] tcl -> postgresql-tcl
D: ignore package name relation(s) [7] arts -> kdelibs-sound
D: ignore package name relation(s) [8] pango-gtkbeta-devel -> pango-gtkbeta
D: ignore package name relation(s) [9] XFree86 -> Mesa
D: ignore package name relation(s) [10] compat-glibc -> db2
D: ignore package name relation(s) [11] compat-glibc -> db1
D: ignore package name relation(s) [12] pam -> initscripts
D: ignore package name relation(s) [13] initscripts -> sysklogd
D: ========== tsorting packages (order, #predecessors, #succesors, tree, depth)
D: 0 0 1 0 0 +yum-2.0.7-1
D: ========== successors only (133834 bytes)
D: 1 1 0 0 1 +gyum-1.0-1.fc1
D: installing binary packages
D: opening db index /var/lib/rpm/Packages rdonly mode=0x42
error: cannot get exclusive lock on /var/lib/rpm/Packages
D: closed db index /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
[boss@rick temp]$ rpm -ivvh -force *.rpm
-force: unknown option
kiwirik2001 (2583)
266437 2004-08-31 07:37:00 You need to be root to install packages. The $ symbol at your console prompts show that you are still a user and not root. Root prompts have a # symbol.

The --force switch has two -'s infront of it. Really shouldn't need to force simple yum package tho ....

I think Graham made a typo too with his command, there is no need to have 2 v's in that command.

The switches mean:
U : upgrade (safe to use even when you are installing rather than upgrading a package)
v : verbose (tell me what is happening)
h : hash ## symbols, use these to show the install progress
e : erase (or uninstall)
i : install
force : force this install/remove and ignore any squealing from the RPM mananger about dependencies or other errors

Those switches are case sensitive too. Because "force" consists of more than one letter, you use the double -- infront of it, while all the others only require a single -.
Jen C (20)
266438 2004-08-31 09:42:00 whe i do it under su, nothing happens

just stops and goes no further
kiwirik2001 (2583)
266439 2004-08-31 10:06:00 >I think Graham made a typo too with his command, there is no need to have 2 v's in that command.

Oops :8} - just did some reading and found out about the 2 v's options. Shame on me for suggesting Graham had made a typo :p. A double vv means you get a even more verbose output and the lines starting with D: have been added by the -vv option. Learn something every day. :D

Anyway, back to your problem ...

>whe i do it under su, nothing happens
>just stops and goes no further

It is really puzzling that you can try and use rpm as user, but it won't work as root?! Stumped now.
Jen C (20)
266440 2004-08-31 10:19:00 me too. and i thought it was just me. now i am looking at other distros cause all i want is to burn mp3s to audio cd easily.

really i want to have windows/nero but without either. the other thing is an easy way to mount a usb device like a digital camera. again windows has the edge there.

but i wont go to windows cause i remember all to well how unstable it was and love the fact that my computers currently has an uptime measured in months (since the last power cut).

oh well, maybe fedora 3 has something to offer me so might have to wait.

thank you for your help
kiwirik2001 (2583)
266441 2004-08-31 10:42:00 It could be possible that the RPM app has been corrupted. You can do a repair of Fedora Core 1 by using the install disc and selecting upgrade as the install option which will do the same as a repair. Fedora Core 3 is slotted to be released the 25th of October if you wish to wait for that.

Other than that, you could try a different distro. Yoper ( It already comes with K3b installed and adding packages is easy to do with synaptic. If you are on Jetstream, you can grab the latest ISO off the JSG realm at the uncapped speed without encroaching on your data limit as well, make sure you log onto the jetstreamgames realm first - ftp://ftp2.jetstreamgames.co.nz/pub/dist/yoper/" target="_blank">www.yoper.com/) is lovely and easy to use. It already comes with K3b installed and adding packages is easy to do with synaptic. If you are on Jetstream, you can grab the latest ISO off the JSG realm at the uncapped speed without encroaching on your data limit as well, make sure you log onto the jetstreamgames realm first - ftp:

You should be able to plug in your USB digicam lead, and then use the Digital Camera Tool (gtKam) to download your images. It does support quite a few cameras. What brand is yours?
Jen C (20)
266442 2004-08-31 10:49:00 camera is a panasonic lcm20

might try and find the disks and try the reinstall. thank you
kiwirik2001 (2583)
266443 2004-09-01 02:29:00 Me? Make a typo? :O
Nevvver. :D Well, hardly ever. But certainly sometimes. ;-)

I use the [v]vv[/b]erbose option when I'm using the command line rather than mc. Just habit -- it's programmed into my fingers. By the look of that output, rpm did everything correctly ... except doing it as a user. :D The going off into the weeds when run by root is extremely odd. rpm is very well tested code.

It looks very much as if the dependencies are being handled now to conform to the --aid option. The macro to look up and resolve the dependencies has been around for a while.
Graham L (2)
266444 2004-09-01 10:42:00 huh?

non spraken zie geekspeak
kiwirik2001 (2583)
1 2 3