Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
To get rid of Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) error you need to make sure you are a root or have root rights in your operation system.
You need to use sudo to run a command with root privileges, for example:
Also when you try to run two commands in one line, for example:
and you are getting the following error:
Try to call these commands separately with sudo:
{{ 'Comments (%count%)' | trans {count:count} }}
{{ 'Comments are closed.' | trans }}