LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   redhat-config-packages error and hdparm (https://www.linuxquestions.org/questions/linux-software-2/redhat-config-packages-error-and-hdparm-59968/)

jingo 05-15-2003 02:58 PM

redhat-config-packages error and hdparm
 
Hi all,
I am using redhat 8.0 and i have a few problems. First, the graphical package installer no longer works after i rebuilt the package database... it just starts and then dissapears... when i get the rollowin error when i run it from the terminal

unknown cddev scd0
rpmdb: /var/lib/rpm/Packages: unsupported hash version: 8
error: cannot open Packages index using db3 - Invalid argument (22)
Traceback (most recent call last):
File "/usr/share/redhat-config-packages/MainWindow.py", line 159, in ?
hdlist.mergeRpmDb()
File "/usr/share/redhat-config-packages/hdrlist.py", line 32, in mergeRpmDb
db = rpm.opendb(0, instPath)
rpm404.error

also using either xine, mplayer or ogle to play dvd's in kde (3.1) gives very choppy playback... i have been able to enable dma mode on my cdrw but not on the primary cd/dvd drive.. when i try to enable it using hdparm as root i get the following error...
/dev/cdrom:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
i know the drive is dma capable i just dont know why it doesn't work.. any ideas?

mintah

bax 06-15-2003 04:00 PM

You ever fix your Ogle problem?

Crashed_Again 06-15-2003 04:03 PM

I think that rpm problem can be solved by deleting the existing rpm database:

rm -f /var/lib/rpm/__db*
rpm --rebuilddb

I found the redhat-config-packages application to be very buggy as well.


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