57
55
addtrap 'prefix' "chmod -f -R +w $PWD/rootdir/var/cache/apt/archives || true;"
58
56
chmod -R -w rootdir/var/cache/apt/archives
61
62
testdownload apt_1.0_all.deb apt stable
62
63
testdownload apt_2.0_all.deb apt
65
66
testequal "'file://${DEBFILE}' apt_2.0_all.deb $(stat -c%s $DEBFILE) SHA512:$(sha512sum $DEBFILE | cut -d' ' -f 1)" aptget download apt --print-uris
68
70
testequal "E: Can't find a source to download version '1.0' of 'vrms:i386'" aptget download vrms