Hi, I'm trying to create a DEP-8 test which tries to retrieve dynamically version and component of a given package (hello, in my case) using rmadison. See attached the script and the correspondent control file.
I would expect the command dget -u http://deb.debian.org/debian/pool/$component/h/hello/hello_$version.dsc to be dynamically changed into dget -u http://deb.debian.org/debian/pool/main/h/hello/hello_2.10-1.dsc but when I test it with autopkgtest it seems rmadison output from within autopkgtest does not populate variables, therefore dget complains: dget: retrieving http://deb.debian.org/debian/pool//h/hello/hello_.dsc --2017-06-21 15:38:02-- http://deb.debian.org/debian/pool//h/hello/hello_.dsc Resolving deb.debian.org (deb.debian.org)... 128.31.0.62, 140.211.166.202, 149.20.4.15, ... [...] HTTP request sent, awaiting response... 404 Not Found 2017-06-21 15:38:02 ERROR 404: Not Found. dget: wget hello_.dsc http://deb.debian.org/debian/pool//h/hello/hello_.dsc failed I launched autopkgtest as follows: /usr/bin/autopkgtest --apt-upgrade --output-dir /srv/debomatic-amd64/unstable/pool/debomatic_0.22-2/adt_out_dir --summary /srv/debomatic-amd64/unstable/pool/debomatic_0.22-2/adt_out_dir/log_summary /srv/debomatic-amd64/unstable/pool/debomatic_0.22-2/debomatic_0.22-2_amd64.changes -- schroot unstable-amd64-debomatic I probably did something silly, but after several attempts I can't really figure out what's wrong. [ Please CC me, I'm not subscribed to the list ] -- Cheers, Luca
build
Description: Binary data
control
Description: Binary data