Are you a spammer

Please note, that the first 3 posts you make, will need to be approved by a forum Administrator or Moderator before they are publicly viewable.
Each application to join this forum is checked at the Stop Forum Spam website. If the email or IP address appears there when checked, you will not be allowed to join this forum.
If you get past this check and post spam on this forum, your posts will be immediately deleted and your account inactivated.You will then be banned and your IP will be submitted to your ISP, notifying them of your spamming. So your spam links will only be seen for an hour or two at most. In other words, don't waste your time and ours.

This forum is for the use and enjoyment of the members and visitors looking to learn about and share information regarding the topics listed. It is not a free-for-all advertising venue. Your time would be better spent pursuing legitimate avenues of promoting your websites.

when i try install any program not present on repos.

Help & support for Ultimate Edtion 3.0


when i try install any program not present on repos.

Postby portaro » Mon Dec 26, 2011 3:18 pm

i try install kiwix and LIbre Plan and the terminal give to me this

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

im not what is this?
Image

Image

If you want contribute to our Blog in Portuguese language->
http://ultimateeditionportugal.blogspot.pt/
User avatar
portaro
U.E. Knowledgable
U.E. Knowledgable
 
Posts: 31
Joined: Tue Apr 05, 2011 7:40 pm
Location: Portugal
Age: 39
Operating System: Ultimate Edition 3.1 64 BIT



Re: when i try install any program not present on repos.

Postby Admin-Amir » Mon Dec 26, 2011 4:23 pm

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


Those errors can come when:
1 - the repo's are down/update/Upgrade.
2 - you will need to look into the " lines " with the errors and Delete the repo's from your source.list.
Then Reload synaptic and see if that solve the issue for you.

the lines that need to be Deleted ( if it is not Repo's issue) then it's Line - 90,Line 538,Line 91.
good luck to you.
Admin-Amir
 



Re: when i try install any program not present on repos.

Postby portaro » Mon Dec 26, 2011 5:01 pm

I thinking the repos are unaccess

because in the /bin/add-apt-repositoiry - im not have line 90 for example my archive have 71 lines.

I try to access the repo - http://archive.canonical.com/ubuntu/ natty partner - and he is down.

My problem is - this problem continues every time?
Image

Image

If you want contribute to our Blog in Portuguese language->
http://ultimateeditionportugal.blogspot.pt/
User avatar
portaro
U.E. Knowledgable
U.E. Knowledgable
 
Posts: 31
Joined: Tue Apr 05, 2011 7:40 pm
Location: Portugal
Age: 39
Operating System: Ultimate Edition 3.1 64 BIT



Re: when i try install any program not present on repos.

Postby Admin-Amir » Mon Dec 26, 2011 5:08 pm

Hello portaro.

Like I said if there are Updates/Upgrades on the Servers that can happens.
Did you have try to use the fix broken packages?
If you did and apply - and did it fix the issue?
If not give it few days and post back if this issue was fix or not for you.

EDIT- last thing for you to do is to Delete the save source.list = etc/apt/save source.list.

qq.png
1


and look in the folder of save repo's (save source.list " folder")and delete the source that make the issue.
aa.png
2


when you done open terminal and copy past the commands:

Code: Select all
sudo apt-get update


Code: Select all
sudo apt-get upgrade


Then reboot and see if that issue fix for you. ;)
Admin-Amir
 


Return to Ultimate Edition 3.0

Who is online

Users browsing this forum: No registered users and 2 guests