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 04-27-2013, 02:49 AM   #1
wolfeking
LQ Newbie
 
Registered: Apr 2013
Distribution: Ubuntu/Crunchbang
Posts: 1

Rep: Reputation: Disabled
add-apt-repository not working.


Let me say first, First post, so sorry if this is the wrong subforum.

Okay, my main issue right now starts with that I was stupid and tried to do something that I did not know how to do first hand. That is install Ubuntu from netinstall to attempt to get some of the ... waste out of the system. Install went well, let me say that first.

After install, I ran these commands:
Code:
 Sudo apt-get update
sudo apt-get install abiword 
sudo apt-get install xfce4 
exec ck-launch-session startxfce4
Now I am in xfce4 and am running just fine, but no network, as it is throwing an error of "failed to execute default Web Browser Input/Output error". Fine, I was only going to download Opera, so I went to the laptop and downloaded the i386 version for ubuntu, put it on flashkey, and transferred that to the desktop. It is there in .deb form.
However, here is the next issue, it won't launch. The package manager is not an option to load it up with. FINE, I will go through the terminal and install firefox from there.
First up, add the repository via
Code:
 sudo add-apt-repository ppa:ubuntu-mozilla-security/ppa
. That outputs the error
Code:
 sudo: add-apt-repository: command not found
. To solve that, I google the error and find it is fixed (usually) by adding python-software-properties package to the system. So I went and used the command
Code:
sudo apt-get install python-software-properties
and it seemed to work. So I reran apt-get update and add-apt-repository, but I am still getting the error. So out of ideas.

Anyone else know how to fix this?
**BTW- these are the guides I am following to try and get this working.
http://linuxg.net/how-to-fix-error-s...and-not-found/
http://www.noobslab.com/2012/08/inst...in-ubuntu.html -I'm sure that 15 is not the latest, but the process should be the same.
 
Old 04-30-2013, 12:09 PM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,910

Rep: Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999
Two things here:
1) If you're using Ubuntu 12.10 or later then the package containing add-apt-repository looks to have moved:
http://www.stylesen.org/addaptreposi...u_1210_quantal
2) The second article is, in my opinion, pointless and potentially problematic. If you want Firefox then simply apt-get install firefox -- there is as note to that effect on the page but it is not clear. I suspect that back when that article was written a whole 8 months ago that Firefox 15 was new and exciting but now it is old, outdated advice.
 
  


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
[SOLVED] add-apt-repository doesn't work Knightron MEPIS 5 11-09-2011 08:47 PM
[SOLVED] using maverick - added one new repository but now can't add another repository gerryyy Linux - Software 6 02-16-2011 07:47 AM
[SOLVED] Difference between add-apt-repository and apt-add-repository Kenny_Strawn Ubuntu 3 12-22-2010 08:50 PM
add usb repository to apt? jmite Linux - Newbie 2 08-16-2008 08:19 PM
'apt-cdrom add' is not working Saketh Linux - Hardware 2 06-05-2005 02:01 AM

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

All times are GMT -5. The time now is 01:43 AM.

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