grep 'deb ' /etc/apt/sources.list
# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
deb http://br.archive.ubuntu.com/ubuntu/ xenial main restricted
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb http://br.archive.ubuntu.com/ubuntu/ xenial universe
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://br.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://br.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb http://archive.canonical.com/ubuntu xenial partner
deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb https://cli-assets.heroku.com/branches/stable/apt ./

-----------------------------------------
apt-cache showsrc inkscape
E: You must provide some URIs to the source.list



El mar., 24 de jul. de 2018 a la(s) 10:28, Antonio Ospite (ao2@...3619...) escribió:
On Tue, 24 Jul 2018 04:26:26 -0700
ian_bruce--- via Inkscape-devel <inkscape-devel@lists.sourceforge.net>
wrote:

> On Tue, 24 Jul 2018 12:40:01 +0200
> Marc Jeanmougin <marc@...3062...> wrote:
>
> > I think you should add the deb-src lines to sources.list
>
> Is that really necessary? Presumably, the various "-dev" packages are
> what's needed for compilation.
>
>
>     $ grep deb-src /etc/apt/sources.list
>     deb-src   http://ftp.us.debian.org/debian/   stable           main
>     deb-src   http://ftp.us.debian.org/debian/   testing          main
>     deb-src   http://ftp.us.debian.org/debian/   unstable         main
>     deb-src   http://ftp.us.debian.org/debian/   experimental     main
>     deb-src   http://ftp.us.debian.org/debian/   stable-updates   main
>     deb-src   http://security.debian.org/        stable/updates   main
>

As you know deb-src repositories are for sources of Debian packages, not
for sources of upstream software.

In theory `apt-get build-depend` should not require any source Debian
packages, but it surely needs the info about the "inkscape" source
package, maybe this is why deb-src repositories are necessary.

What does "apt-cache showsrc inkscape" tell when no deb-src URLs are
configured?

Moreover, AFAIU, it also happens that some packages build-depend on
other "source packages" instead of the single -dev ones, just for a
matter of convenience.

That said, in any case be sure of two things:
  1. always have an update package cache (apt-get update)
  2. check that having multiple debian releases (stable, testing,
     unstable) at the same time do not result in conflicts. If these are
     _really_ needed set up pinning appropriately (man apt_preferences).

Ciao,
   Antonio

--
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel