Error when opening a LUKS encrypted container file /dev/loop0 Device or resource is busy on Ubuntu 18.10 Gnome Desktop

When you enter the command below in a terminal window:

$ sudo /sbin/losetup /dev/loop0 /home/user1/folder1/containerdatafile <enter>

Device error or resource busy error message appears and the device is not setup.

The reason is that /dev/loop0 is taken by snap.

To overcome the error, change /dev/loop0 to something else like /dev/loop35

Or, if you do not . . . → Read More: Error when opening a LUKS encrypted container file /dev/loop0 Device or resource is busy on Ubuntu 18.10 Gnome Desktop

April 2019
M T W T F S S
« Feb    
1234567
891011121314
15161718192021
22232425262728
2930