When trying to test with the function cmd_erase, hoping to erase package previously installed in a chroot, the command is stopped by not having root privileges.
When removing this stop, it fails too because it tries to use /var/lib:
PermissionError: [Errno 13] Permission denied: '/var/lib/rpm/.urpm-install.lock'
When trying to test with the function cmd_erase, hoping to erase package previously installed in a chroot, the command is stopped by not having root privileges.
When removing this stop, it fails too because it tries to use /var/lib:
PermissionError: [Errno 13] Permission denied: '/var/lib/rpm/.urpm-install.lock'