Tuesday 23 July 2013

Re: Source packages appropriate by default?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQIcBAEBAgAGBQJR7j3DAAoJEGHzRCZ03mYkDqsP/jb2NfSQ3MtxyAl3Sql+NV1+
ORyyUu8729OT1xCBKxg5ardusAwRL6yWpmB3PR8CyAqMFj59G0eefCOzy5Yar5Dx
gqmTyjupbF1hEkcQQlLorz7upoLMOR+w7Z33gQ+VPXwj4K/+Qjvz7FTw1a1fRINW
JJ3Krh5Gc//YlFEIg5i/qX3/+hcFagl1czugXWJa1paQT1pEDN9BvBYage/wysAj
QdLtaSr4UD3Wzsy174Nmu8lNxG6/bFe2rwvTvXyvow937WEDWjH1dJgSuyRb8RPW
DtdsVI7Tc0tlmLd7q21fiQwhONDk+u4bBlsSBLk+GF/jldIKd8Bzbl1yWz6ZoKED
tTMkKOuAiRHsQtnUvuMJWNS7W+2Jg2q3yP5K+5Q8236JoOUS4aqksdNkkNSe8J9E
rjstldoL9LV7/xO18/QODPFUM+GuSO8E5rLQVvp9ZoFGvySxlzBrnNTzQjlF9FIS
G4UP4ZIZ4OmcJBDP0ao9D+SyWgvMVBqfbnuxv+znqBuoKD2GVnzxecuuwF/NuKi9
zH9VYHj+GOZ/1V7z/brHa7bU2K91+U4aMKuN87jqWoCI8nZFHqrkh3JAAb/sOBnL
LiOsqLnoNBPh1sXSU4OkJ2M1JrgLaO+6VF+whmdiD4yE3j2dYmTtWRJvngulGsSR
wsOM1O7j3dB1uBEmjHMg
=u4DP
-----END PGP SIGNATURE-----
On 23.07.2013 09:12, Robie Basak wrote:
[...]
> E: You must put some 'source' URIs in your sources.list
> E: Type "add-apt-repository sources" to do this automatically for you.
> $ sudo add-apt-repository sources
> deb-src lines have been added to your sources.list.
> Now type "apt-get update", and then "apt-get source ..." will work.
> $ sudo apt-get update
> (...)
> $ sudo apt-get source hello
> (works)
>
> To do this, we'd need to patch apt to add the second error line, and
> implement "sources" to add-apt-repository.

andreas@j3515:~$ sudo add-apt-repository
The program 'add-apt-repository' is currently not installed. You can
install it by typing:
sudo apt-get install python-software-properties
andreas@j3515:~$

add-apt-repository is not available on all Ubuntu systems by default.
The current solution is easy and is available on virtually all
installations, without the need to manually install anything. Providing
easy access to the source is essential for a open source distribution.