Control: tag -1 pending

Hello Ralf, Antonio,

Antonio Terceiro [2017-02-23 17:10 -0300]:
> $ autopkgtest --apt-upgrade minisat+ -- lxc --sudo adt-sid-amd64
> [...]
> E: Version '1:2.2.1-5+b1' for 'minisat+' was not found

Ah, gotta love apt.. a --debug run shows what's going on:

+ apt-cache policy ^minisat+$
+ sed -n /Candidate:/ { s/^.* //; /none/d; p}
+ pkg_candidate=1:2.2.1-5+b1
+ [ -n 1:2.2.1-5+b1 ]

I have to do this ^$ wrapping as otherwise apt-cache policy does some sort of
substring matching. RE-magic chars allowed in package names are '.' and '+', so
these need to be escaped. Fixed in

  
https://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=e3163e9cad34

(Don't look too closely at this shell hell, your eyes will pop out..)

Thanks,

Martin

Attachment: signature.asc
Description: PGP signature

Reply via email to