Comment 14 for bug 1910162

Revision history for this message
Alex Murray (alexmurray) wrote :

Verified on up-to-date focal and groovy installs as follows:

# enable proposed
cat <<EOF | sudo tee /etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
# Enable Ubuntu proposed archive
deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe
EOF

# only selectively upgrade from proposed
cat <<EOF | sudo tee /etc/apt/preferences.d/proposed-updates
# Configure apt to allow selective installs of packages from proposed
Package: *
Pin: release a=$(lsb_release -cs)-proposed
Pin-Priority: 400
EOF

sudo apt-get update
sudo apt-get install -y jq/$(lsb_release -cs)-proposed libjq1/$(lsb_release -cs)-proposed

# run test-case from the bug description
TZ=America/New_York jq -n '"2018-08-31T00:00:00Z"|fromdate|todate' | grep -q "2018-08-31T00:00:00Z" && echo 'passed' || echo 'FAIL'

In each case, 'passed' was observed (and prior to the update from -proposed FAIL was observed)