Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-04-2003, 12:28 PM   #1
LQ Newbie
Registered: Jul 2003
Posts: 23

Rep: Reputation: 15
Unhappy Problems with apt-get install

I am trying to use this utility apt-get to install an rpm package (apache) but I get the following error (Notice how I displayed the files in the current directory..making sure I didnt mistype the filename):

[root@luckyclay source]# cd /opt/source
[root@luckyclay source]# ls
apt-0.5.5cnc6-fr1.i386.rpm iptables-1.2.8.tar.bz2
apt-devel-0.5.5cnc6-fr1.i386.rpm libapr0-2.0.47-4mdk.i586.rpm
bind-9.2.2.tar.gz libdb4.1-4.1.25-2mdk.i586.rpm
gcc-3.3 libtool-1.5
gcc-3.3.tar libtool-1.5.tar
gcc-g++-3.3.tar openssh-3.6.1.tgz
httpd-2.0.46 prescan.tar.gz.uu
httpd-2.0.46.tar prescan.tar.gz.uu.asc
httpd-2.0.47 sendmail-8.12.9
httpd-2.0.47-4.i386.rpm sendmail.8.12.9.tar
httpd-2.0.47.tar sendmail.8.12.9.tar.gz
[root@luckyclay source]# apt-get install httpd-2.0.47-4.i386.rpm
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package httpd-2.0.47-4.i386.rpm

Why is it not finding this package? I really appreciate the help. Thanks always!
Old 08-04-2003, 12:32 PM   #2
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31

Are you using Redhat or Debian?

If you're using Redhat (and therefore apt-rpm), you still use rpm to install individual packages.

If you're using debian then

a) You need to install from .deb package and not .rpm
b) You use 'dpkg' to install specific local package archives, not apt-get
c) You probably just want to type 'apt-get install apache'.

Old 08-04-2003, 01:46 PM   #3
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
I am not in front of my linux box right now (to test weather or not httpd is apt-getable) but you do not write out the whole name of the RPM:

#apt-get install httpd [enter]

It also seems as though you have already d/l'd the rpm file and now are trying to use apt-get to install it.. That is not how apt4rpm works. Please read up a bit on apt. It is a handy tool!

Good Luck!


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
KDE Install problems with Synaptic/Apt-Get hauger Debian 4 08-05-2005 11:18 AM
Problems with apt-get install libcupsys2-dev davholla Debian 4 03-24-2005 02:55 PM
problems with apt-get -f install phoenix_wolf Linux - Newbie 1 01-03-2005 10:54 PM
Problems with apt-get install TransAmJugo Linux - Newbie 3 08-04-2003 01:35 PM
Problems with apt-get install TransAmJugo Linux - General 1 08-04-2003 12:41 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:43 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
Open Source Consulting | Domain Registration