[Bug 2065497] [NEW] local restore fails (non-fatal) when run on ubuntu-base noble arm64 image
theofficialgman
2065497 at bugs.launchpad.net
Sat May 11 18:29:58 UTC 2024
Public bug reported:
When run on a ubuntu-base image (currently testing ubuntu noble arm64
base images), the following query results in an error
dpkg --verify --verify-format rpm | awk '$2 ~ /\/usr\/share\/locale/ {print $2}' | sed 's|/[^/]*$||' | sort | uniq \
| xargs --no-run-if-empty dpkg -S | sed 's|, |\n|g;s|: [^:]*$||' | uniq | DEBIAN_FRONTEND=noninteractive xargs --no-run-if-empty apt-get install --reinstall -y
terminal output
Restoring system translations...
dpkg-query: error: --search needs at least one file name pattern argument
Use --help for help about querying packages.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Documentation has been restored successfully.
I have run the command manually after and do not get the same error.... I am not sure why it is happening within the script but it is repeatable.
** Affects: unminimize (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unminimize in Ubuntu.
https://bugs.launchpad.net/bugs/2065497
Title:
local restore fails (non-fatal) when run on ubuntu-base noble arm64
image
Status in unminimize package in Ubuntu:
New
Bug description:
When run on a ubuntu-base image (currently testing ubuntu noble arm64
base images), the following query results in an error
dpkg --verify --verify-format rpm | awk '$2 ~ /\/usr\/share\/locale/ {print $2}' | sed 's|/[^/]*$||' | sort | uniq \
| xargs --no-run-if-empty dpkg -S | sed 's|, |\n|g;s|: [^:]*$||' | uniq | DEBIAN_FRONTEND=noninteractive xargs --no-run-if-empty apt-get install --reinstall -y
terminal output
Restoring system translations...
dpkg-query: error: --search needs at least one file name pattern argument
Use --help for help about querying packages.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Documentation has been restored successfully.
I have run the command manually after and do not get the same error.... I am not sure why it is happening within the script but it is repeatable.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unminimize/+bug/2065497/+subscriptions
More information about the foundations-bugs
mailing list