Alternatif Fix Error add-apt-repository
#1
Terinspirasi dari thread ini http://indonesianbacktrack.or.id/forum/T...kali-linux

Saya juga pernah mengalami error tersebut di Kali Linux.
Kira - kira error seperti di bawah ini pada saat add-apt-repository :

Code:
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 160, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 96, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 584, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python2.7/dist-packages/aptsources/distro.py", line 87, in get_sources
    raise NoDistroTemplateException("Error: could not find a "
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template

Namun cara yang saya gunakan agak berbeda dan menurut saya ini lebih mudah dipraktekkan dan juga tidak butuh waktu lama Big Grin

Step 1
[hide]
Ketikkan :
Code:
gedit /etc/lsb-release

Step 2
Tambahkan script ini ke lsb-release
Code:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"

Save & Exit
[/hide]

Saya sudah mencoba cara ini dan berhasil, add-apt-repository saya sudah berjalan dengan baik :-bd


added to home page : http://www.indonesianbacktrack.or.id/alt...epository/

#2
ini fix pada saat mengupdate repo .. thx bro
FOLLOW @DutaLinux
for more question and sharing about security and Opensource only

#3
berhasil bro... thnx banget...

#4
akhirnya fix juga,makasih bro Big Grin






Users browsing this thread: 1 Guest(s)