[Bug 782120] Re: add-apt-repository should return error code on HTTP 404

Manish Sinha (मनीष सिन्हा) manishsinha at ubuntu.com
Tue Nov 8 05:34:17 UTC 2011


*** This bug is a duplicate of bug 887249 ***
    https://bugs.launchpad.net/bugs/887249

** This bug has been marked a duplicate of bug 887249
   Providing wrong ppa format in add-apt-repository throws a 404 error which is not handled appropriately

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

Title:
  add-apt-repository should return error code on HTTP 404

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

Bug description:
  If the repository doesn't exist, for example

  sudo add-apt-repository ppa:doesntexist/ppa

  the output will be an internal error like

  Error reading https://launchpad.net/api/1.0/~doesntexist/+archive/ppa:
  HTTP Error 404: Not Found

  
  The return code should be different than 0.

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




More information about the foundations-bugs mailing list