Error Could Not Find A Distribution Template Ubuntu
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site could not find a distribution template for ubuntu/n/a About Us Learn more about Stack Overflow the company Business Learn more about hiring could not find a distribution template for linuxmint/qiana developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a could not find a distribution template for raspbian/jessie question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are error: could not find a distribution template for raspbian/jessie voted up and rise to the top Apt “could not find a distribution template” error up vote 11 down vote favorite 4 When I attempt to install anything using apt-get I get the following error: Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 60, in
E: Package 'python-software-properties' Has No Installation Candidate
in get_sources raise NoDistroTemplateException("Error: could not find a " aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template Any idea what this means and how to resolve it? apt share|improve this question edited Oct 22 '13 at 10:51 fossfreedom♦ 127k30297332 asked Jun 16 '11 at 11:47 Ryan L. Watson 66113 Can you show the exact command giving this answer? –enzotib Jun 16 '11 at 12:04 Try to use aptitude. –amra Jun 16 '11 at 12:29 add a comment| 3 Answers 3 active oldest votes up vote 15 down vote Easy to fix Just do this gksudo gedit /etc/lsb-release Then edit the file that opens so that it looks like this DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=karmic DISTRIB_DESCRIPTION="Ubuntu Karmic Koala" Remember to enter which version of ubuntu you are using. I am using karmic koala so I put that in. You can get a list here towards the bottom http://en.wikipedia.org/wiki/Ubuntu_%28operating_system%29 Then go back to the terminal after you have saved the lsb-release file and you should be able to add-apt-repository share|improve this answer edited Apr 23 '12 at 17:52 fossfreedom♦ 127k30297332 answered Jul 17 '11 at 15:32 Joshua Robison 1,15632144 1 Thanks, I had the same problem, now work fine!!!! &
Lasha Gogua 6:29 AM 7 Comments Kali Linux Edit Hello everyone,Today I will
Error Could Not Find A Distribution Template For Ubuntu N A
show you how to solve the problem of Kali add-apt-repository command not found kali Linux How to add repository? when we run the command : sudo add-apt-repository ppa:teejee2008/ppa We add apt repository kali get results "NoDistroTemplateException" root@Lh4cKg:~# sudo add-apt-repository ppa:teejee2008/ppa You are about to add the following PPA to your system: More info: https://launchpad.net/~teejee2008/+archive/ppa Press [ENTER] to http://askubuntu.com/questions/49040/apt-could-not-find-a-distribution-template-error continue or ctrl-c to cancel adding it Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 160, in
Importance Assigned to Milestone elementary OS Edit https://bugs.launchpad.net/bugs/1291678 Fix Released High Sergey "Shnatsel" Davidoff Edit elementary OS http://stackoverflow.com/questions/26962319/python-error-could-not-find-a-distribution-template-while-adding-aptitude-repos freya-beta1 "Freya Beta1" You need to log in to change this bug's status. Affecting: elementary OS Filed here by: Cody Garver When: 2014-03-12 Confirmed: 2014-03-16 Assigned: 2014-03-12 Started work: 2014-03-25 Completed: 2014-12-29 Target Distribution Baltix could not BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Milestone Fix Released High elementary OS freya-beta1 Assigned to Me Sergey "Shnatsel" Davidoff (shnatsel) Comment on could not find this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description Taken from daily iso build 20140312 live session: elementary@elementary:~$ software-properties-gtk Traceback (most recent call last): File "/usr/bin/software-properties-gtk", line 101, in
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Python error: could not find a distribution template while adding aptitude repository up vote 0 down vote favorite I am trying to upgrade php version on a pcduino3. I follow these instructions -> Upgrading PHP. But when trying to do add-apt-repository ppa:ondrej/php5 I get this python error. Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 185, in