LinuxQuestions.org
Review your favorite Linux distribution.
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 05-07-2008, 04:22 AM   #1
fmpfmpf
LQ Newbie
 
Registered: May 2008
Posts: 25

Rep: Reputation: 15
need help with RPM


hello everyone. this is my 1st Linux experience....so 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, 04:27 AM   #2
jay73
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, 07:32 AM   #3
padlamoij
Member
 
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, 07:59 AM   #4
sica07
Member
 
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: http://www.linuxquestions.org/questi...o-.rpm-640482/. It's not necessary to open two threads for the same problem.
 
  


Reply


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 12:28 PM
installed apache from source, didn't remove rpm, updated rpm causes problems leftPeg Linux - Newbie 5 06-06-2007 10:20 PM
counter part of "rpm -ivh --force kernel....rpm in slackware b0nd Slackware 2 01-28-2006 08:46 PM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 10:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 08:19 AM


All times are GMT -5. The time now is 10:29 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration