[help] add-apt-repository: command not found
Tofloor
poster avatar
chairul
deepin
2017-01-31 01:58
Author

I am using 15.3 deepin desktop, when I want to install the application text editor atom out:

root @ STD16: / home / steady16 # add-apt-repository ppa: webupd8team / atom
bash: add-apt-repository: command not found
root @ STD16: / home / steady16 #

I later tried to fix by installing python:


root @ STD16: / home / steady16 # apt-get install software-properties-common python-software-properties
Reading package lists ... Done
Building dependency tree
Reading state information ... Done
You MIGHT want to run 'apt-get -f install' to correct Reviews These:
The following packages have unmet dependencies:
atom: Depends: git
python-software-properties: Depends: python-apt (> = 0.6.20ubuntu16) but it is not going to be installed
                              Depends: unattended-upgrades but it is not going to be installed
software-properties-common: Depends: python3-software-properties (= 0.96.20-1) but it is not going to be installed
                              Recommends: PackageKit
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root @ STD16: / home / steady16 #


I beg its support to resolve this issue

Reply Favorite View the author
All Replies
Feng Yu
deepin
2017-01-31 03:15
#1
No. You should never use this command on Deepin(either Debian). Because this command just work on Ubuntu or other Ubuntu based distros, and, ppa is just a Ubuntu extra repo, which is not compatible for other distros.
Reply View the author
不避风云
deepin
2017-01-31 05:07
#2
it works well in deepin 15.3,you can try again  
Reply View the author
bobo
deepin
2017-01-31 06:33
#3
Instead of using PPA, I would suggest to download the deb, and install it by yourself. Here is the link: https://launchpad.net/~webupd8team/+archive/ubuntu/atom/+packages
Reply View the author
wangqizai1918
deepin
2017-01-31 07:10
#4
Have u installed these two packages on your computer before?
if not,try the command below,you may run it as root.
apt-get install python-software-properties
apt-get install software-properties-common
Reply View the author
T***[email protected]
deepin
2023-02-22 19:22
#5
It has been deleted!