apt-add-repository shouldn't add deb-src line automatically
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Fix Released
|
Undecided
|
oleg |
Bug Description
`sudo apt-add-repository 'deb http://
deb http://
deb-src http://
However, there is no source in that repository, so subsequent `sudo apt-get update` commands fail. The user will have to remove the deb-src line manually. It is not at all obvious why this is added, why it is needed, which file is changed, or how to fix it. The least surprising thing would be to simply add only the `deb` line.
Possible solutions:
1. Only add what the user asks for (principle of least astonishment).
2. Same as 1, but *check* afterwards if there is a source repository, and add it if it's available.
3. Add a --source or similar option to add the deb-src line.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python-
ProcVersionSign
Uname: Linux 3.0.0-17-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Mon Apr 23 14:04:35 2012
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64+mac (20101008)
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
LC_PAPER=
SourcePackage: software-properties
UpgradeStatus: Upgraded to oneiric on 2012-02-24 (58 days ago)
Changed in software-properties (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in software-properties (Ubuntu): | |
assignee: | nobody → oleg (termoz20) |
Status changed to 'Confirmed' because the bug affects multiple users.