Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-07-2008, 03:22 AM   #1
LQ Newbie
Registered: May 2008
Posts: 25

Rep: Reputation: 15
need help with RPM

hello everyone. this is my 1st Linux pls dont laugh.
My question is, how do i install the RPM?
i am using Ubuntu 7.10

i typed this in the terminal:-
sudo apt-get install rpm

and this is what i got:-
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

then i type this again:-
sudo apt-get install rpm

and the reply is:-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package rpm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package rpm has no installation candidate

What should i do?

thank you in advanced
Old 05-07-2008, 03:27 AM   #2
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Well, it does exist. Just type sudo aptitude search rpm. It does appear in the list.

Did you know that you can also install packages from a GUI? Just open the Synaptic Package Manager (it is under System > Administration).

Bear in mind that you can access your package manager from only one location at a time. You cannot use Synaptic while your are using apt or aptitude from the command line (or the other way round).
Old 05-07-2008, 06:32 AM   #3
Registered: Oct 2002
Location: East Point, GA
Posts: 188

Rep: Reputation: 30
Are you sure you want to install RPM? RPM's are packages most commonly used with the Red Hat Linux Distribution. Ubuntu is based on Debian which uses DEB files not RPM's. If you want to use RPM's then you should probably use a Distribution that is native to RPM's. I have a feeling that you didn't know that you needed a deb file and just saw a program packaged as an RPM and wanted to install it on your system. There is probably a deb file for that program, which you can find by the methods jay73 describes above.

Make sense?
Old 05-07-2008, 06:59 AM   #4
Registered: May 2008
Distribution: Arch
Posts: 47
Blog Entries: 3

Rep: Reputation: 16
Here is the answer to the same question you asked in your previous thread: It's not necessary to open two threads for the same problem.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 -i --prefix=/home/user package.src.rpm doesn't work? registering Linux - Software 2 07-18-2007 11:28 AM
installed apache from source, didn't remove rpm, updated rpm causes problems leftPeg Linux - Newbie 5 06-06-2007 09:20 PM
counter part of "rpm -ivh --force kernel....rpm in slackware b0nd Slackware 2 01-28-2006 07:46 PM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration