Error add repository

127 views
Skip to first unread message

Muhammad Irgi Hakim

unread,
Dec 7, 2020, 9:29:53 PM12/7/20
to deepin users
Hello all, I am from Indonesia 

I can't add repository in deepin os 
with error message 

WARNING: Failed to read mirror file
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Deepin/n/a


Craig Stone

unread,
Jan 21, 2021, 9:27:43 PM1/21/21
to deepin users
https://wiki.debian.org/Python

try sudo apt build-dep python3

Reply all
Reply to author
Forward
0 new messages