[Deepin20] Cannot add new apt even [i use stable]
Tofloor
poster avatar
shadowvzs
deepin
2020-06-04 11:41
Author
  1. $ sudo add-apt-repository ppa:otto-kesselgulasch/gimp
  2. Traceback (most recent call last):
  3.   File "/usr/bin/add-apt-repository", line 95, in
  4.     sp = SoftwareProperties(options=options)
  5.   File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
  6.     self.reload_sourceslist()
  7.   File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
  8.     self.distro.get_sources(self.sourceslist)   
  9.   File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
  10.     (self.id, self.codename))
Copy the Code

and my  /usr/share/python-apt/templates/Deepin.info

  GNU nano 3.2                          /usr/share/python-apt/templates/Deepin.info                                     

  1. Suite: stable
  2. RepositoryType: deb
  3. BaseURI: http://packages.deepin.com/deepin/
  4. MatchURI: \.deepin\.com
  5. MirrorsFile: Deepin.mirrors
  6. Description: Deepin 'stable'
  7. Component: main
  8. CompDescription: Officially supported
  9. Component: contrib
  10. CompDescription: DFSG-compatible Software with Non-Free Dependencies
  11. Component: non-free
  12. CompDescription: Non-DFSG-compatible Software
Copy the Code
already change but cannot add apt even after restart








Reply Favorite View the author
All Replies
DavidTavares
deepin
2020-06-04 23:55
#1
Installing directly a ppa is not a good idea and this not work all time. You can try this : https://linuxconfig.org/install- ... ppa-on-debian-linux
Reply View the author
shadowvzs
deepin
2020-06-05 09:30
#2
https://bbs.deepin.org/post/195477
Installing directly a ppa is not a good idea and this not work all time. You can try this : https:// ...

honestly in few case it is really usefull, like i prefer the wine over the playonlinux or i want gimp plugins and few of them is on apt
Reply View the author