[Bug 987264] Re: apt-add-repository shouldn't add deb-src line automatically
jhansonxi
987264 at bugs.launchpad.net
Mon Jul 9 20:56:46 UTC 2012
I'm using LInux Mint 13 (based on Ubuntu 12.04) i386
python-software-properties v0.82.7.1
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/987264
Title:
apt-add-repository shouldn't add deb-src line automatically
Status in “software-properties” package in Ubuntu:
Confirmed
Bug description:
`sudo apt-add-repository 'deb
http://switch.dl.sourceforge.net/project/jedit /'` adds the following
lines to /etc/apt/sources.list:
deb http://switch.dl.sourceforge.net/project/jedit /
deb-src http://switch.dl.sourceforge.net/project/jedit /
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-software-properties 0.81.13.3
ProcVersionSignature: Ubuntu 3.0.0-17.30-generic 3.0.22
Uname: Linux 3.0.0-17-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Mon Apr 23 14:04:35 2012
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64+mac (20101008)
PackageArchitecture: all
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
LC_PAPER=en_GB.UTF-8
SourcePackage: software-properties
UpgradeStatus: Upgraded to oneiric on 2012-02-24 (58 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/987264/+subscriptions
More information about the foundations-bugs
mailing list