You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting. Does it work if you put -P before -i.
This may make sense though. The documentation status that the usage is Usage: dpkg [<option>...] <command>, meaning, only one command. Maybe I'll incorporate your change into the codebase.
On some versions of Linux (such as MX Linux), the
dpkg
command is buggy when having -i and -P in one go.I get the following error:
dpkg: error: cannot access archive '-P': No such file or directory
So I separated the joint command
dpkg -i install1 install2 ... -P remove1 remove2 ...
into 2 commands:After that, it works out of charm, thanks!
The text was updated successfully, but these errors were encountered: