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

February 2019
M T W T F S S
« Jan    
 123
45678910
11121314151617
18192021222324
25262728