[Bug 912250] Re: add-apt-repository crashes when I enter a PPA that doesn't exist

Winfield Trail dev at sudowned.com
Mon Feb 11 10:06:07 UTC 2013


Is this still an issue? I just tried to reproduce it with the following
results:

sudowned at jarrah:~$ sudo add-apt-repository ppa:foobar/foo2bar
Cannot access PPA (https://launchpad.net/api/1.0/~foobar/+archive/foo2bar) to get PPA information, please check your internet connection.

-- 
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/912250

Title:
  add-apt-repository crashes when I enter a PPA that doesn't exist

Status in “software-properties” package in Ubuntu:
  Confirmed

Bug description:
  Trying to add a PPA that doesn't exist makes add-apt-repository print
  lots of errors and a backtrace. It should provide helpful information
  to the user instead, e.g. tell the user that the ppa doesn't seem to
  exist and to check if it's typed correctly.

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: python-software-properties 0.81.10
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic i686
  ApportVersion: 1.23-0ubuntu3
  Architecture: i386
  CasperVersion: 1.287
  Date: Thu Jan  5 13:20:47 2012
  ExecutablePath: /usr/bin/add-apt-repository
  InterpreterPath: /usr/bin/python2.7
  LiveMediaBuild: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/add-apt-repository ppa:shnatsel/eidete
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/add-apt-repository', 'ppa:shnatsel/eidete']
  SourcePackage: software-properties
  Title: add-apt-repository crashed with HTTPError in http_error_default(): HTTP Error 404: Not Found
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

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




More information about the foundations-bugs mailing list