LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-31-2013, 07:13 AM   #1
LinuxTestMan01
LQ Newbie
 
Registered: Jul 2013
Posts: 5

Rep: Reputation: Disabled
apt-get not working!


I am lead to believe that my apt-get installer program is not working properly. I am trying to install postfix but when I run:
apt-get install postfix

I get:
bash: apt-get: command not found...
Install package 'apt' to provide command 'apt-get'? [N/y]
* Running.. The transaction failed: all-packages-already-installed, The packages are already all installed


This may also help for troubleshooting: When I run a dpkg --configure -a command I get:
bash: dpkg: command not found...
Install package 'dpkg' to provide command 'dpkg'? [N/y]
* Resolving dependencies..
* Waiting for authentication..
* Waiting in queue..
* Resolving dependencies..
* Downloading packages..
* Testing changes..
* Installing packages..
* Scanning applications..
dpkg: unable to access dpkg status area: No such file or directory


Any Ideas? Please help.

Thanks,
LinuxTestMan01
 
Old 07-31-2013, 07:30 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
What distro are you using?
 
Old 07-31-2013, 07:32 AM   #3
LinuxTestMan01
LQ Newbie
 
Registered: Jul 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks for getting back to me.

I am using:
Fedora release 14 (Laughlin)
also running an apache server (not sure if that effects anything).
 
Old 07-31-2013, 07:40 AM   #4
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
This is Fedora you are using.
On fedora yum or rpm command is used.

Use:
Code:
yum install <package_name>
Code:
yum install postfix
And you're using old Fedora which doesn't have support now.
You should use latest Fedora, i.e., Fedora 19 Code name: Schrodinger's Cat released on 2nd July 2013.
You can also use Fedora 17 or 18, still the support is available for them.

Last edited by Satyaveer Arya; 07-31-2013 at 07:45 AM.
 
Old 07-31-2013, 07:42 AM   #5
LinuxTestMan01
LQ Newbie
 
Registered: Jul 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Perfect, as you said that I was just trying that... I didn't realize they were the same thing.

Thank you!
 
Old 07-31-2013, 08:13 AM   #6
daniel w.
LQ Newbie
 
Registered: Jul 2013
Location: EU
Posts: 20

Rep: Reputation: Disabled
Fedora apt-get?

fedora package manager is called yum

yum install postfix

read about it


regards
D.W


P.S
Too late, sorry.
 
Old 07-31-2013, 08:37 AM   #7
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
So, did that work for you? I hope yes!
And if the solution worked out then mark the thread as SOLVED.
 
  


Reply



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
[SOLVED] apt not working - HELP minty33 Linux - Software 2 05-23-2013 06:25 PM
apt-get not working sunils1973 Linux - Networking 4 06-11-2009 08:21 AM
apt not working shady_Dev Ubuntu 7 06-07-2008 02:11 AM
apt-get install not working / apt-get update is ok remy215 Debian 2 10-01-2005 07:02 PM
apt-get not working tgkspike Linux - Software 0 04-26-2004 11:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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