Re: How to download source package using only console?
On 2023-05-14 00:15:39 +0500, Alexander V. Makartsev wrote:
> Hello, fellow Debian users.
>
> When I need to build a backport of a package, I sometimes find it difficult
> to obtain actual source package(-s) from Debian repos using console.
> Following advice from a wiki page [1], after "apt update", doesn't do it:
>
> $ apt source lego/testing
> Reading package lists... Done
> Picking 'golang-github-xenolf-lego' as source package instead of 'lego'
> E: Can not find version '3.2.0-3.1' of package 'lego'
> E: Unable to find a source package for golang-github-xenolf-lego
zira:~> apt-show-versions -a lego
lego:amd64 3.2.0-3.1+b5 stable ftp.debian.org
No stable-updates version
lego:amd64 4.9.1-1 testing ftp.debian.org
lego:amd64 4.9.1-1 unstable ftp.debian.org
No experimental version
lego:amd64 not installed
Indeed, 3.2.0-3.1 is no longer the testing version. Your database
seems to be out-of-date.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: