Unlock many packages

I make a mistake using Myrlyn and I locked a lot of packages ( 600). I can unlock a single package using command line

sudo zypper removelock package_name

but I can’t find a way to remove all 600 lock at once.
Note that I can get a file with a list of all locked packages using command “zypper locks”.

Package locks are stored in /etc/zypp/locks

I found the file.
But how to remove locks? Delete the file?

You can delete the file. It will be recreated when you add a fresh lock.

All locks gone. Now I can start the huge update.
Thanks.

Switch to the “Installation Summary” view, in the panel on the left side check status “taboo” and “protected” and uncheck everything else; then you only see the locked packages. Now use the “Package” menu and “All in this list” → “Do not install” (removes “Taboo”) and then again with “Keep” (removes “Protected”).


HuHa
Myrlyn author