LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-02-2014, 02:49 PM   #1
postcd
Member
 
Registered: Oct 2013
Posts: 531

Rep: Reputation: Disabled
add-apt-repository: command not found


Quite hopeless, asking for help

tryign to do:
Code:
sudo add-apt-repository ppa:ethanak/milena
sudo apt-get update

sudo apt-get install sapi4linux python-pyspda python-sapilektor libsapilektor-utils
xx

Result
Code:
sudo: add-apt-repository: command not found
Tried apt-get install:
python-software-properties

it says: python-software-properties is already the newest version

please any idea how to make that add-apt-repository working?
 
Old 03-02-2014, 03:04 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
May be : $ apt-get install --reinstall python-software-properties
Debian wheezy https://packages.debian.org/search?s...apt-repository

You can also check if `/usr/bin/add-apt-repository' is installed by the package :
$ dpkg -L python-software-properties

Also : $ which add-apt-repository

Which OS is it ? Name and version, please.

-

Last edited by knudfl; 03-03-2014 at 06:39 AM.
 
Old 03-03-2014, 04:16 AM   #3
postcd
Member
 
Registered: Oct 2013
Posts: 531

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by knudfl View Post
May be : $ apt-get install --reinstall python-software-properties
Code:
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 24 not upgraded.
Quote:
Originally Posted by knudfl View Post
You can also check if `/usr/bin/add-apt-repository' is installed by the package :
$ dpkg -L python-software-properties
This is output of that command: http://justpaste.it/elx0

Quote:
Originally Posted by knudfl View Post
Also : $ which add-apt-repository
This dont return anything

Quote:
Originally Posted by knudfl View Post
Which OS is it ? Name and version, please.
It is Debian Amnesia.
Code:
amnesia@amnesia:~$ cat /proc/version
Linux version 3.12-1-486 (debian-kernel@lists.debian.org) (gcc version 4.8.2 (Debian 4.8.2-10) ) #1 Debian 3.12.6-2 (2013-12-29)
amnesia@amnesia:~$ uname -a
Linux amnesia 3.12-1-486 #1 Debian 3.12.6-2 (2013-12-29) i686 GNU/Linux
 
Old 03-03-2014, 04:35 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Hi,

I think add-apt-repository moved from the python-software-properties package to the
software-properties-common package about two years ago.

The apt-file command (in package of the same name) is useful in these situations. Eg
as root:
Code:
apt-file update
and then as a normal user
Code:
apt-file search add-apt-repository
and the output should tell you which package you need.

Cheers,

Evo2.
 
Old 03-03-2014, 04:38 AM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Hi,

one more thing, AFAIK advertisements like the one in your signature are against forum rules (Ie the ones we all "agree" to when we sign up), so it might be nice to remove it before you get pinged by a mod.

Cheers,

Evo2.
 
Old 03-03-2014, 05:21 AM   #6
postcd
Member
 
Registered: Oct 2013
Posts: 531

Original Poster
Rep: Reputation: Disabled
Lightbulb

Quote:
Originally Posted by evo2 View Post
I think add-apt-repository moved from the python-software-properties package to the
software-properties-common package about two years ago.
It returns this:
Code:
# sudo apt-get install software-properties-common
Package software-properties-common 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 'software-properties-common' has no installation candidate

Quote:
apt-file update

apt-file search add-apt-repository
These commands returned command not found and when i tried to dpkg -i this: https://packages.debian.org/wheezy/apt-file

it started saying this instead:
Code:
Can't locate Config/File.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/apt-file line 23.
BEGIN failed--compilation aborted at /usr/bin/apt-file line 23.
 
  


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
add-apt-repository not working. wolfeking Linux - Newbie 1 04-30-2013 12:09 PM
[SOLVED] add-apt-repostory command not found froylan Ubuntu 4 08-11-2012 08:44 AM
[SOLVED] add-apt-repository doesn't work Knightron MEPIS 5 11-09-2011 08:47 PM
[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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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