[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: get 403 Forbidden when try to download orig



Hello Fabio,

Em qua., 22 de jul. de 2020 às 22:05, Fabio Augusto De Muzio Tobich
<ftobich@gmail.com> escreveu:
> When I use:
>
>  dget -x https://mentors.debian.net/debian/pool/main/i/ipcalc-ng/ipcalc-ng_0.4.1-2.dsc
>
> It download the .dsc ok and then:
>
> dget: retrieving https://mentors.debian.net/debian/pool/main/i/ipcalc-ng/ipcalc-ng_0.4.1.orig.tar.gz
> --2020-07-22 21:59:36--  https://mentors.debian.net/debian/pool/main/i/ipcalc-ng/ipcalc-ng_0.4.1.orig.tar.gz
> Resolving mentors.debian.net (mentors.debian.net)... 185.22.221.46
> Connecting to mentors.debian.net (mentors.debian.net)|185.22.221.46|:443... connected.
> HTTP request sent, awaiting response... 403 Forbidden
> 2020-07-22 21:59:37 ERROR 403: Forbidden.
>
> dget: wget ipcalc-ng_0.4.1.orig.tar.gz https://mentors.debian.net/debian/pool/main/i/ipcalc-ng/ipcalc-ng_0.4.1.orig.tar.gz failed
> E: Unable to find a source package for ipcalc-ng
>
> The file is there but it cannot be downloaded.

I don't know the internals of mentors.d.o but it sounds like mentors
try to get the orig file from unstable and your package exists only in
experimental. You can try upload the orig file to mentors. To include
the .orig.tar.gz in a revision different from -1 you can use:

$ dpkg-buildpackage -sa -k<your-key>

instead of debuild or debuildsa, if you have in your /etc/bash.bashrc:

alias debuildsa='dpkg-buildpackage -sa -k<your-key>'

After build, check if your .dsc and .changes files include the orig.tar.gz file.

Regards,

Eriberto


Reply to: