papercuts-ninja team mailing list archive
-
papercuts-ninja team
-
Mailing list archive
-
Message #01038
[Bug 1239893] Re: PPAs added using GUI Software and Updates have an extra space added to repository line
Hello Julian, or anyone else affected,
Accepted software-properties into saucy-proposed. The package will build
now and be available at http://launchpad.net/ubuntu/+source/software-
properties/0.92.27.1 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: software-properties (Ubuntu Saucy)
Status: Triaged => Fix Committed
** Tags added: verification-needed
--
You received this bug notification because you are a member of Paper
Cuts Ninja, which is a bug assignee.
https://bugs.launchpad.net/bugs/1239893
Title:
PPAs added using GUI Software and Updates have an extra space added to
repository line
Status in One Hundred Paper Cuts:
Confirmed
Status in “software-properties” package in Ubuntu:
Triaged
Status in “software-properties” source package in Precise:
Invalid
Status in “software-properties” source package in Saucy:
Fix Committed
Bug description:
*********************
GENERAL DESCRIPTION
*********************
When I try to add a new PPA repository using Software and Updates gui the repository is added but software-properties-gtk adds an space to the line on /etc/apt/sources.list.d/ppa-name.list, as seen below:
darkhole@devolo:/etc/apt/sources.list.d$ cat libreoffice-ppa_-saucy.list
deb http://ppa.launchpad.net/libreoffice/ppa /ubuntu saucy main
# deb-src http://ppa.launchpad.net/libreoffice/ppa /ubuntu saucy main
The extra space is after the 'ppa' word.
ppa file should be:
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu saucy main
# deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu saucy main
Using CLI method works fine (sudo add-apt-repository).
I'm using Ubuntu 13.10 with latest updates. I have already tried
multiple PPAs, with the same result.
********
IMPACT
********
It is not possible to use a PPA added using the form 'ppa:lpuser/ppaname using software-properties-gtk' as an extra space is inserted in the sources line for the PPA. This was due to the dropping of a strip() between versions 0.92.26 and 0.92.27. The change just adds the strip() back.
***********
TEST CASE
***********
1. Open 'Software & Updates'.
2. Go to 'Other Software' tab.
3. Click on "Add..."
4. In the 'APT Line' Textbox write the PPA repository (example: 'ppa:libreoffice/ppa').
5. Click on "Add Source" button.
6. Check the contents of the file created on /etc/apt/sources.list.d/ppa-name.list, you'll notice an a space between ppa /ubuntu. Additionally the ppa-name.list file with have an underscore so 'ppa-name_.list'.
*******************
TECHNICAL DETAILS
*******************
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: software-properties-gtk 0.92.27
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
Date: Mon Oct 14 20:12:36 2013
InstallationDate: Installed on 2012-07-06 (465 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: software-properties
SystemImageInfo: Error: [Errno 2] No existe el archivo o el directorio: 'system-image-cli'
UpgradeStatus: Upgraded to saucy on 2013-01-20 (267 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1239893/+subscriptions