Tuesday, 23 July 2013

Re: Source packages appropriate by default?

On Tue, Jul 23, 2013 at 03:02:02AM -0400, Scott Kitterman wrote:
> So those are a couple of examples of what I think is definitely not what we
> want. I'm open to discussion about alternate ways to preserve easy access to
> the source.

How about:

$ sudo apt-get source hello
Reading package lists... Done
Building dependency tree
Reading state information... Done
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

To do this, we'd need to patch apt to add the second error line, and
implement "sources" to add-apt-repository.


ubuntu-devel mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel