LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-22-2002, 05:43 AM   #1
newtons2k
LQ Newbie
 
Registered: Nov 2002
Distribution: Redhat 8.0
Posts: 8

Rep: Reputation: 0
rpm freeze..?



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..

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..
 
Old 11-22-2002, 05:46 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
quite possibly you have a stale lockfile or similar. try adding an extra v to your options and see where it halts.
 
Old 11-22-2002, 05:48 AM   #3
newtons2k
LQ Newbie
 
Registered: Nov 2002
Distribution: Redhat 8.0
Posts: 8

Original Poster
Rep: Reputation: 0
[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
 
Old 11-22-2002, 06:02 AM   #4
newtons2k
LQ Newbie
 
Registered: Nov 2002
Distribution: Redhat 8.0
Posts: 8

Original Poster
Rep: Reputation: 0
I think i've found something *joy* by myself!

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

thanks for the trick man, this helped alot!
 
Old 11-22-2002, 06:05 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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!
 
  


Reply



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
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
rpm -qa freeze!!?? init-5 Linux - Software 1 09-21-2003 10:27 PM
rpm install freeze digsby0007 Linux - Software 5 09-10-2003 09:36 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
RPM freeze and Redhat 9.0 mr-banzai Linux - Distributions 2 04-18-2003 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:56 AM.

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
Open Source Consulting | Domain Registration