unminimize ignores errors on disco (translations)

Bug #1861696 reported by Disconnect
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

When running unminimize on the current ubuntu:19.04 disco image, it errors prior to completion.

Truncated log:
$ docker run --rm -ti ubuntu:19.04
root@ebf555f094ae:/# apt update
Get:1 http://security.ubuntu.com/ubuntu disco-security InRelease [97.5 kB]
4 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@ebf555f094ae:/# unminimize
This system has been minimized by removing packages and content that are
not required on a system that users do not log into.
Would you like to continue? [y/N] y

Re-enabling installation of all documentation in dpkg...
Updating package list and upgrading packages...
.....no errors, lots of packages.....
Restoring system translations...
dpkg-query: error: --search needs at least one file name pattern argument

Use --help for help about querying packages.

If it is being called from a script with pipefail, this error will cause an exit. In general it should capture expected errors and abort on unexpected, but it appears to be ignoring all errors.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.