Public bug reported:
It appears add-apt-repository will sometimes crash instead of properly
terminating, when SIGINT is sent (e.g., by Ctrl_C being pressed).
This crash happened when I entered a "sudo add-apt-repository ..."
command with a typo in the name of the PPA I was adding. This crash was
probably not triggered even partially by special syntax--the typo was
just a misspelling.
The expected behavior would be for add-apt-repository not to crash when
Ctrl+C is pressed (or when SIGINT is otherwise sent). Whether or not any
substantive cleanup is performed when Ctrl+C is pressed, it should be
considered a bug for an actual crash to occur in response to it. The
primary negative impact of this bug on users is probably that, on most
stable systems, Apport/Whoopsie runs when a crash occurs. But even if
the crash were silent, it is still a bug.
With that said, this is unlikely to be a serious bug. Its impact is
minimal, it does not ever prevent add-apt-repository from being used
effectively, and add-apt-repository does terminate when Ctrl+C is given
(it just crashes sometimes while doing so). Furthermore, add-apt-
repository probably only crashes some of the time--rather than every
time--that SIGINT is sent.
ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: software-properties-common 0.92.17
ProcVersionSignature: Ubuntu 3.8.0-24.35-generic 3.8.13
Uname: Linux 3.8.0-24-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Sat Jun 1 02:12:39 2013
ExecutablePath: /usr/bin/add-apt-repository
InstallationDate: Installed on 2013-05-29 (2 days ago)
InstallationMedia: Lubuntu 13.04 "Raring Ringtail" - Release amd64 (20130423.1)
InterpreterPath: /usr/bin/python3.3
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/add-apt-repository ppa:gfire/fire
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/bin/add-apt-repository', 'ppa:gfire/fire']
SourcePackage: software-properties
Title: add-apt-repository crashed with ImportError in get_ppa_info_from_lp():
No module named 'pycurl'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
** Affects: software-properties (Ubuntu)
Importance: Medium
Status: New
** Tags: amd64 apport-crash raring
** Information type changed from Private to Public
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1186492
Title:
add-apt-repository sometimes crashes when SIGINT (Ctrl+C) is sent:
crashed with ImportError in get_ppa_info_from_lp(): No module named
'pycurl'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1186492/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs