Add-apt-repository command is missing from Deepin 15 RC
Tofloor
poster avatar
savanweylyn
deepin
2015-12-25 03:13
Author
Edited by savanweylyn at 2015-12-25 00:47

The add-apt-repositroy command is missing from Deepin 15 RC. I googled on it and fount that if it's missing i have to install the python-software-properties package which i did, but there is still no add-apt-repository command. I also installed apt-file command to find add-apt-repository but when i update it's cache with apt-file update, this happens:
  1. Ignoring source without Contents File:
  2.   http://cdn.packages.deepin.com/deepin/dists/unstable/main/Contents-amd64.gz
  3. Ignoring source without Contents File:
  4.   http://cdn.packages.deepin.com/deepin/dists/unstable/contrib/Contents-amd64.gz
  5. Ignoring source without Contents File:
  6.   http://cdn.packages.deepin.com/deepin/dists/unstable/non-free/Contents-amd64.gz
Copy the Code
How can i install that command?
Reply Favorite View the author
All Replies
laoguang
deepin
2015-12-25 05:33
#1
its normal, i tried to install elementary desktop on kali, which is another debian, this happened to me.
Reply View the author
mikaere66
deepin
2015-12-25 10:10
#2
Which specific ppa are you trying to add?
Reply View the author
savanweylyn
deepin
2015-12-25 11:29
#3
https://bbs.deepin.org/post/30490
Which specific ppa are you trying to add?

I tried to add the ppa for Systemback (ppa:nemh/systemback).
Reply View the author
genecharb
deepin
2015-12-26 08:09
#4
Hi Folks.

I noticed in the Softpedia post http://news.softpedia.com/news/b ... allery-498074.shtml  that Deepin 15 RC is Debian SID based now (not Ubuntu) so no PPA's, and by default it does not have any debian repos in its sources list, you have to add them manually...  i did  and its working fine.
No debian repos is also the reson apt-get does not work as it,  NO REPOS by default..

PS
I added the Debian Testing repos...  Works fine.

gene@deepin:~$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb [by-hash=force] http://packages.deepin.com/deepin unstable main contrib non-free
           deb http://ftp.us.debian.org/debian/ testing main contrib non-free #"Deb-Testing"
           deb http://security.debian.org/ testing/updates main contrib non-free #"Deb-Secur."
Reply View the author
genecharb
deepin
2015-12-26 08:43
#5
Please disregard my post above.  It seems i was wrong and the debian repos are included in the default deepin repo.  It just they are so slow it takes time (long time) for them to appear...  
Reply View the author
rixol
deepin
2016-04-15 16:57
#6
Edited by rixol at 2016-4-15 09:16
Try this

1.- sudo apt-get update
2.- sudo apt-get install software-properties-common

you can make a backup of your file :: /etc/lsb-release
3.- sudo cp /etc/lsb-release /etc/lsb-release-backup

4.- gksudo gedit /etc/lsb-release
Edit the file :
DISTRIB_ID=Deepin
DISTRIB_RELEASE=15.1.1
DISTRIB_DESCRIPTION="Deepin 15.1.1 "

And replace for this
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.1.1
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Deepin 15.1.1 "

Save the file

5.- sudo apt-get update
6.- you can now add your repository  and update
Reply View the author
dance707
deepin
2016-04-15 21:51
#7
https://bbs.deepin.org/post/30490
Edited by rixol at 2016-4-15 09:16
Try this

Hi, Welcome to the Deepin Forum. Deepin no longer supports PPA's. If the software is of high quality they will consider adding the source. Please see this Post for Contributing to Deepin Store.

https://bbs.deepin.org/post/30478


Reply View the author
fahim
deepin
2016-06-19 16:39
#8
https://bbs.deepin.org/post/30490
Edited by rixol at 2016-4-15 09:16
Try this

Thanks bro
Reply View the author
T***[email protected]
deepin
2023-02-22 19:22
#9
It has been deleted!
New Thread

Popular Events

More
国际排名
WHLUG