"add-apt-repository -y" adds the PPA even if it doesn't exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
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-
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python-
ProcVersionSign
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)
Here's an example:
sudo add-apt-repository -y ppa:fred/ppa /launchpad. net/api/ 1.0/~fred/ +archive/ ppa: Not Found
Error reading https:/
Then looking in /etc/apt/ sources. list.d/ quantal. list
-rw-r--r-- 1 root root 120 Nov 13 20:59 fred-ppa-