[Bug 1067552] Re: "add-apt-repository -y" adds the PPA even if it doesn't exist

Matt Fischer 1067552 at bugs.launchpad.net
Wed Nov 14 04:00:26 UTC 2012


Here's an example:

sudo add-apt-repository -y ppa:fred/ppa
Error reading https://launchpad.net/api/1.0/~fred/+archive/ppa: Not Found

Then looking in /etc/apt/sources.list.d/
-rw-r--r-- 1 root root  120 Nov 13 20:59 fred-ppa-quantal.list


** Changed in: software-properties (Ubuntu)
       Status: New => Confirmed

** Changed in: software-properties (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  "add-apt-repository -y" adds the PPA even if it doesn't exist

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

Bug description:
  When using "add-apt-repsitory -y", the PPA is added even if it doesn't
  exist even though an error message is displayed. "-y" should "Assume
  yes to all queries" like its help says, but not if there's an error.

  This does not occur when using "add-apt-repository" without "-y".

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: python-software-properties (not installed)
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: amd64
  Date: Wed Oct 17 02:22:45 2012
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120914)
  SourcePackage: software-properties
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list