PPA info with trailing quote in /etc/apt/sources.list

Bug #1456479 reported by sudodus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I tried to install and test a PPA, which has been working in several previous versions. But now there was an error, and I think I have tracked it down to a trailing double quote (") after the corresponding entry in /etc/apt/sources.list.

Anyway after removing the trailing quote, it worked, so

from

tail /etc/apt/sources.list
deb-src http://security.ubuntu.com/ubuntu wily-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu wily partner
# deb-src http://archive.canonical.com/ubuntu wily partner
deb http://ppa.launchpad.net/mkusb/unstable/ubuntu wily main"
deb-src http://ppa.launchpad.net/mkusb/unstable/ubuntu wily main"

to

tail /etc/apt/sources.list
deb-src http://security.ubuntu.com/ubuntu wily-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu wily partner
# deb-src http://archive.canonical.com/ubuntu wily partner
deb http://ppa.launchpad.net/mkusb/unstable/ubuntu wily main
deb-src http://ppa.launchpad.net/mkusb/unstable/ubuntu wily main

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: apt 1.0.9.9ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3
Uname: Linux 3.19.0-16-generic i686
ApportVersion: 2.17.2-0ubuntu1
Architecture: i386
Date: Tue May 19 09:17:51 2015
InstallationDate: Installed on 2015-05-19 (0 days ago)
InstallationMedia: Lubuntu 15.10 "Wily Werewolf" - Alpha i386 (20150512)
ProcEnviron:
 LANGUAGE=sv
 TERM=xterm
 PATH=(custom, no user)
 LANG=sv_SE.UTF-8
 SHELL=/bin/bash
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
sudodus (nio-wiklund) wrote :
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1456479

tags: added: iso-testing
Revision history for this message
David Kalnischkies (donkult) wrote :

Thanks for the report! Unfortunately reporting it against apt is incorrect as apt itself contains no program which "automatically" adds PPAs or similar such. It just takes the sources.list content and interprets it. So it was either you adding this PPA by hand in which case its a user error (copy&paste maybe?) OR it was a tool (potentially in the apt-* namespace, but not maintained by the apt team) which has this bug.

Its a bit unlikely perhaps, but as far as apt is concerned main" could be a valid component (also, because it is hardly defined which characters could be) and the error messages it prints tell you that it tried to get data for the main" component as it was configured to do, but wasn't able to.

Changed in apt (Ubuntu):
status: New → Invalid
Revision history for this message
sudodus (nio-wiklund) wrote :

Hi David,

I'm looking more into this issue. I will check carefully versus 14.04.2 LTS.

The PPA of mkusb has the same code for all versions (it contains only bash scripts and configuration files) and the versions 'have always been' simply copied with the copying tool of Launchpad. There is no manual editing, that could have added the quote character.

One possibility is that the copying process of Launchpad could have gone wrong (maybe a temporary error).

How is the data from the command

sudo add-apt-repository ppa:mkusb/unstable

transferred to the file /etc/apt/sources.list ? The answer to that question might help solve this problem.

When I try again right now, it seems not to work at all with add-apt-repository and apt-get update. Synaptic did the work but the trailing quote was added.

Could it be that Launchpad is not yet ready to manage PPAs for Wily?

Revision history for this message
sudodus (nio-wiklund) wrote :

Things worked as they should in Lubuntu Trusty (14.04.2 LTS). So I went back to Lubuntu Wily.

The bug appeared in a Wily system, which was updated/upgraded from an iso file that was a couple of days old. I zsynced and flashed the current iso file (Lubuntu Wily desktop i386) and tried again. This time it worked from

sudo add-apt-repository ppa:mkusb/unstable

There is a correct entry in

/etc/apt/sources.list.d/mkusb-ubuntu-unstable-wily.list

and it was possible to install and run the relevant software (mkusb).

I am not sure what happened, if I did something wrong and can't remember it, or if there was an error of this pre-alpha Wily system, some temporary error at Launchpad or in the data transfer via the internet. Anyway, it works now, so we can close the bug report :-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.