LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rpm freeze..? (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-freeze-36150/)

newtons2k 11-22-2002 05:43 AM

rpm freeze..?
 
:confused: :confused: :confused: :confused:
It seems like i found the reason to my earlier post, however i have no clue how to fix this so it doesnt help at all.. :cry:

when i try to use rpm to install a package, it just freeze there, and i have to kill it after like 15-20 mins of it being froze.. the command i use is:

rpm -ivh file.rpm

but it doesnt say anything, its just froze there..

i'm using rh8.0 with kde.

Please tell me how i could know what's wrong.. :cry:

acid_kewpie 11-22-2002 05:46 AM

quite possibly you have a stale lockfile or similar. try adding an extra v to your options and see where it halts.

newtons2k 11-22-2002 05:48 AM

[root@videotron newton]# rpm -ivhv licq-1.2.0a-2.i386.rpm
D: ============== licq-1.2.0a-2.i386.rpm
D: Expected size: 1670265 = lead(96)+sigs(241)+pad(7)+data(1669921)
D: Actual size: 1670265
D: opening db environment /var/lib/rpm/Packages joinenv
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0


hope it helps, thanks :)

newtons2k 11-22-2002 06:02 AM

I think i've found something *joy* by myself! :)

http://rpm.redhat.com/hintskinks/repairdb/

thanks for the trick man, this helped alot!

acid_kewpie 11-22-2002 06:05 AM

well you can see from the rdonly that you are only starting off with read only rights to the pacakge. this actually suggests you are not running this as root. is this true? if so change to root immediately. if you are root already then something i presumably skew wiff on your rpm database. running "rpmdb --rebuilddb" may well help. alternateivly it might not!


All times are GMT -5. The time now is 12:39 PM.