Steps to reproduce
Run the Ubuntu Software updater GUI or sudo apt-get update; sudo apt-get upgrade
Expected behavior
When pre-releases are not ticked then the updater should not suggest an upgrade to preview versions.
Actual behavior
It suggest and update to the new preview version despite the pre-release option being not ticked in the settings.

The same is true for apt-get
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 6.0.2
PSEdition Core
GitCommitId v6.0.2
OS Linux 4.13.0-37-generic #42~16.04.1-Ubuntu SMP Wed Mar 7 16:03:28 UTC 2018
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Steps to reproduce
Run the Ubuntu Software updater GUI or
sudo apt-get update; sudo apt-get upgradeExpected behavior
When
pre-releasesare not ticked then the updater should not suggest an upgrade to preview versions.Actual behavior
It suggest and update to the new preview version despite the pre-release option being not ticked in the settings.
The same is true for
apt-getEnvironment data