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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-02-2014, 02:49 PM
|
#1
|
Member
Registered: Oct 2013
Posts: 531
Rep:
|
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?
|
|
|
03-02-2014, 03:04 PM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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.
|
|
|
03-03-2014, 04:16 AM
|
#3
|
Member
Registered: Oct 2013
Posts: 531
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
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
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
Also : $ which add-apt-repository
|
This dont return anything
Quote:
Originally Posted by knudfl
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
|
|
|
03-03-2014, 04:35 AM
|
#4
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
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:
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.
|
|
|
03-03-2014, 04:38 AM
|
#5
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
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.
|
|
|
03-03-2014, 05:21 AM
|
#6
|
Member
Registered: Oct 2013
Posts: 531
Original Poster
Rep:
|
Quote:
Originally Posted by evo2
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.
|
|
|
All times are GMT -5. The time now is 09:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|