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.
Well I am obviously new to linux and I am having trouble installing things with rpm packages...
I have tried the following to install a rpm package...
logged in as root.... tried to just double click on the file in my gnome gui... the "installer" opened when I did this... and some files would just kinda start up then close on me.. but some would let me hit continue to fully install the package (I don't know why some install and some don't)
I think tried to go terminal based... I went to the directory where the rpm's were located.. and typed : rpm -U filename.rpm ...... and the files just hang... then I tried: rpm -Uvh filename.rpm so I could see some progress... but nothing comes up... the system just "hangs"... (it doesn't go back to the prompt).. (I let it run for a while to)
am I doing something fundamentally wrong here??
I am using Red Hat 9 with all my updates installed (from the update utility)....
hmm, you *might* have a stale lock file stuck in the rpm system. try the console command again, but add a couple of extra -v's to see what's really going on. if i remember vaguely correctly, the lock file should be in /var/db/rpm/ or along those lines.
Originally posted by acid_kewpie hmm, you *might* have a stale lock file stuck in the rpm system. try the console command again, but add a couple of extra -v's to see what's really going on. if i remember vaguely correctly, the lock file should be in /var/db/rpm/ or along those lines.
I don't actually seem to have any directories or files in my /var/db/ directory...
Originally posted by madcat1117 I had to use -> rpm -ivh package-name-here.rpm <--- from the terminal (logged in as root) to get my linux system to install anything
this seems to be working for me.... I though -U would work no matter what.. I guess if I don't have the file Ineed a good -i or nothing haha
yeah apt is really easy to use u just type apt-get install <package name> and it will download it from the net and its dependancies also and install it for u.
to make things even easier there is a gui for it called synaptic
hi
I had no problems for a while
but about a week , I have the same problem
the only solution I found was to restart the computer!! even logging out/in didn't work to prevent rpm for hanging
each time it goes mad , just a kill -s KILL helps , and after that , a restart!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.