Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hello.
i am new to the world of linux. i am sorry that my first post is a new thread, please excuse me. however, this is a very simple question, and i have searched for an answer but cannot find one.
when using the terminal to install an rpm package, i type rpm - i *packagename.rpm*
it does not seem apparent that anything is happening after i do that. the only thing that happens is the cursor moves to a new line and blinks. after that anything i type does nothing.
does that mean the rpm is installed incorrectly?
the rpm that i was trying to install was the mozilla browser plugin rpm for xine so that i could view streaming video. i am trying to view distance education videos for my college course.
once again i apologize for being such a n00b, and any help is greatly appreciated.
D: ============== xine-mozilla-plugin-0.2-040302.i586.rpm
D: Expected size: 23712 = lead(96)+sigs(160)+pad(0)+data(23456)
D: Actual size: 23712
D: xine-mozilla-plugin-0.2-040302.i586.rpm: MD5 digest: OK (db11539394da84dfdedf0b4482be5b28)
D: opening db environment /var/lib/rpm/Packages joinenv
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
i see that it was the expected size, and looks to be ok. but im still not sure if it worked because i cannot seem to view streaming video. can anybody give me any further insight as to what the printout means?
It is possible that your rpm database has become corrupted. Did you ever hit Control-C while an rpm was installing? It is also possible that doing this will cause lock files to be left lying around, and so rpm can do nothing until those lock files are gone. If your rpm commands are hanging indefinitely, try a reboot.
Try this command as root:
rpm --rebuilddb
This will rebuild the rpm database from scratch. It may take a while, and gives no output. You can open another terminal and use the 'top' command to get a list of running processes - the rpmd process should be consuming a lot of resources while it works.
error: db4 error(16) from dbenv->remove: Device or resource busy
any ideas?
also, my rpm commands are hanging for like an hour. after that i try to end the process, probably not the best thing i could have done. i have tried to reboot but the same thing happens.
i was able to install the package. it is also listed in plug ins now. however, now i have two more questions. it said on the xine website that it is an experimental feature and may crash and to uninstall if it does. well, they didnt lie- when i try to view streaming video mozilla crashes and shuts down.
i have tried to do rpm -e *packagename*
and it tells me
error: package xine-mozilla-plugin-0.2-040302.i586.rpm is not installed
however, i know it is still installed. are there any other methods of removal?
also, can anybody recommend any plugins that do work to play streaming media in mozilla?
Originally posted by thugbot3oo5 well it worked. thank you all.
i was able to install the package. it is also listed in plug ins now. however, now i have two more questions. it said on the xine website that it is an experimental feature and may crash and to uninstall if it does. well, they didnt lie- when i try to view streaming video mozilla crashes and shuts down.
i have tried to do rpm -e *packagename*
and it tells me
error: package xine-mozilla-plugin-0.2-040302.i586.rpm is not installed
however, i know it is still installed. are there any other methods of removal?
also, can anybody recommend any plugins that do work to play streaming media in mozilla?
The name of the file you installed is not the name of the package, that is why you can't uninstall it.
To get a list of all packages on your system, use this command:
rpm -qa
'q' means query, and a means all packages. This will print a very long list of all the packages installed on your machine. To find a particular package - which you need to do, use
rpm -qa | grep mozilla
This will filter the list to just those entries containing the word 'mozilla'. Get used to using grep by the way that same trick is used very often.
So you should be able to see the package name of the thing you installed, so use the exact name it shows to do
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.