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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2065497

Title:
  local restore fails (non-fatal) when run on ubuntu-base noble arm64
  image

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to