Public bug reported:

On eoan:
ubuntu@eoan:~$ apt list --installed simplestreams
Listing... Done
simplestreams/eoan,now 0.1.0-25-gba75825b-0ubuntu1 all [installed]
ubuntu@eoan:~$ sstream-mirror --no-verify --max=1 --progress 
--path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ 
arch=amd64 'release~(xenial|bionic)' 'version~(2.4|2.6)' --dry-run
+ com.ubuntu.juju:16.04:amd64 20190503 2.6-rc2-xenial-amd64 
agent/2.6-rc2/juju-2.6-rc2-ubuntu-amd64.tgz 28 Mb
+ com.ubuntu.juju:18.04:amd64 20190503 2.6-rc2-bionic-amd64 
agent/2.6-rc2/juju-2.6-rc2-ubuntu-amd64.tgz 28 Mb
+ com.ubuntu.juju:16.04:amd64 20191029 2.6.10-xenial-amd64 
agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb
+ com.ubuntu.juju:18.04:amd64 20191029 2.6.10-bionic-amd64 
agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb
+ com.ubuntu.juju:16.04:amd64 20191029 2.6.10-xenial-amd64 
agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb
+ com.ubuntu.juju:18.04:amd64 20191029 2.6.10-bionic-amd64 
agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb
174 Mb change

On bionic:
root@iptv-receiver:~# apt list --installed simplestreams
Listing... Done
simplestreams/bionic,now 0.1.0-490-g3cc8988-0ubuntu1~ubuntu18.04.1 all 
[installed]
N: There are 2 additional versions. Please use the '-a' switch to see them.
root@bionic:~# sstream-mirror --no-verify --max=1 --progress 
--path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ 
arch=amd64 'release~(xenial|bionic)' 'version
~(2.4|2.6)' --dry-run
0 Mb change
Same thing with the non-dev version (from bionic-updates): 
root@bionic:~# apt list --installed simplestreams
Listing... Done
simplestreams/bionic-updates,now 0.1.0~bzr460-0ubuntu1.1 all 
[installed,upgradable to: 0.1.0-490-g3cc8988-0ubuntu1~ubuntu18.04.1]
N: There is 1 additional version. Please use the '-a' switch to see it
root@bionic:~# sstream-mirror --no-verify --max=1 --progress 
--path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ 
arch=amd64 'release~(xenial|bionic)' 'version
~(2.4|2.6)' --dry-run
0 Mb change

** Affects: simplestreams (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870360

Title:
  sstream-mirror max options doesn't work with filtering for versions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/simplestreams/+bug/1870360/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to