sudo: add-apt-repository: command not found
- Inicie sesión ou rexístrese para enviar comentarios
Hi,
I recently upgraded to Trisquel 6.0.1. I had problems with the GUI
version of Emacs 24, so I purged emacs. However, when I attempted to add
the DNS GNU ppa with 'sudo add-apt-repository ppa:dns/gnu' I am returned
with 'sudo: add-apt-repository: command not found'!
Many Thanks
Aidy
That command is in the package "python-software-properties". You should already have it, but if you don't, then install (if you don't have it) or reinstall that package.
If you don't have it:
$ sudo apt-get install python-software-properties
If you do have it reinstall with:
$ sudo apt-get install --reinstall python-software-properties
Hi
On Wed, 7 May 2014, at 02:00 PM, name at domain wrote:
> That command is in the package "python-software-properties". You should
> already have it, but if you don't, then install (if you don't have it) or
> reinstall that package.
>
> If you don't have it:
> $ sudo apt-get install python-software-properties
> If you do have it reinstall with:
> $ sudo apt-get install --reinstall python-software-properties
I originally thought that this may be the problem, but I already had the
latest version of python-software-properties installed. I have
reinstalled the package and I still receive the same problem.
Many Thanks
Aidy
Forget what I said before. They're both apparently valid (add-apt-repository/apt-add-repository).
You can add the PPA manually by putting something like the following in /etc/apt/sources.list (or a file under /etc/apt/sources.list.d e.g. /etc/apt/sources.list.d/dns-gnu.list)
deb http://ppa.launchpad.net/dns/gnu/ubuntu precise main
deb-src http://ppa.launchpad.net/dns/gnu/ubuntu precise main
1.
Is add-apt-repository available in /usr/bin?
2.
If you wanna have a good looking Emacs24 you should compile it on your system. The Emacs24 which is in the dns ppa is compiled against GNOME 2 not GNOME 3. And also it is not the latest stable version.
https://launchpad.net/~cassou/+archive/emacs has emacs packages compatible with GTK3. I didn't check for non-free stuff there, since it's Emacs...
- Inicie sesión ou rexístrese para enviar comentarios