[Bug 978008] Re: add-apt-repository crashed with NoDistroTemplateException in get_sources(): Error: could not find a distribution template

Aurangzaib++ Aurangzaibsiddiqui at gmail.com
Wed May 16 12:25:02 UTC 2012


** Also affects: software-properties
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/978008

Title:
  add-apt-repository crashed with NoDistroTemplateException in
  get_sources(): Error: could not find a distribution template

Status in The apt sources.list editor used in Ubuntu (and Kubuntu):
  New
Status in “software-properties” package in Ubuntu:
  Confirmed

Bug description:
  called »sudo add-apt-repository "deb http://packages.mate-desktop.org/repo/ubuntu precise main"« via console
  before, LinuxMint 12 repository has been added, some packages from it have been installed and the repository has been removed again. Problems occured including wrong plymouth configuration, some programs reported errors regarding wrong system version. /etc/lsb-release and /etc/issue got overwritten with LinuxMint information. Fixed that by re-overwriting Ubuntu 12.04 information.

  a further call with a different repository line of "deb
  http://deb.opera.com/opera/ stable non-free" also failed.

  Ubuntu Version:
  Distributor ID:	Ubuntu
  Description:	Ubuntu 12.04
  Release:	12.04
  Codename:	Precise

  add-apt-repository verson:
  python-software-properties:
    Installiert: 0.82.7
    Kandidat:    0.82.7
    Versionstabelle:
   *** 0.82.7 0
          500 http://mirror.netcologne.de/ubuntu/ precise/main i386 Packages
          100 /var/lib/dpkg/status

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: python-software-properties 0.82.7
  ProcVersionSignature: Ubuntu 3.2.0-22.35-generic-pae 3.2.14
  Uname: Linux 3.2.0-22-generic-pae i686
  ApportVersion: 2.0-0ubuntu5
  Architecture: i386
  CrashCounter: 1
  Date: Tue Apr 10 14:45:39 2012
  ExecutablePath: /usr/bin/add-apt-repository
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120403)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/add-apt-repository deb\ http://packages.mate-desktop.org/repo/ubuntu\ precise\ main
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=de_AT.UTF-8
   LANGUAGE=de_AT:de
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/add-apt-repository', 'deb http://packages.mate-desktop.org/repo/ubuntu precise main']
  SourcePackage: software-properties
  Title: add-apt-repository crashed with NoDistroTemplateException in get_sources(): Error: could not find a distribution template
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/software-properties/+bug/978008/+subscriptions




More information about the foundations-bugs mailing list