[GLLUG] Retrieving debian source package.

Tim Woodall t at woodall.me.uk
Sun Jul 12 09:14:28 UTC 2020

Hi All,

I'm struggling to work out how to retrieve a debian source package. I
get this:

tim at dirac:~/git/pkgrebuild/squid$ apt-get --print-uris -t buster source squid
Reading package lists... Done
E: Can not find version '4.6-1+deb10u2' of package 'squid'
E: Unable to find a source package for squid

I can see the source packages in http://ftp.uk.debian.org/

I have this in my lists:

Package: squid
Binary: squid3, squid, squid-common, squidclient, squid-cgi, squid-purge
Version: 4.6-1+deb10u1
Maintainer: Luigi Gangitano <luigi at debian.org>
Uploaders: Santiago Garcia Mantinan <manty at debian.org>

And there's nothing for squid in buster-updates sources which is where the
Version: 4.6-1+deb10u2
binary package lives.

Obviously I can manually download these source files and work from that
but I'd like to understand how this is supposed to work.

These are, I think, the relevant sources:
root at dirac:/etc/apt/sources.list.d# grep "" *src.sources
debian-security-src.sources:Types: deb-src
debian-security-src.sources:URIs: http://ftp.uk.debian.org/debian
debian-security-src.sources:Suites: buster-updates
debian-security-src.sources:Components: main contrib non-free
debian-src.sources:Types: deb-src
debian-src.sources:URIs: http://ftp.uk.debian.org/debian
debian-src.sources:Suites: buster testing sid
debian-src.sources:Components: main contrib non-free

Can anybody tell me what, if anything, I'm doing wrong?

More information about the GLLUG mailing list