Hi @KacperG ,
Most likely the job is using different privileges than you.
In your command -S needs to be specified before apt-get. Have you tried running:
%sh
sudo -S apt-get -y install mdbtools
If it is just a typo, here are the options:
1.Try to run the command without sudo
2. Provide the password like that:
%sh
echo 'your_password' | sudo -S apt-get -y install mdbtools
3. Install mdbtools locally from source:
%sh
wget https://github.com/mdbtools/mdbtools/releases/download/v0.9.3/mdbtools-0.9.3.tar.gz
tar -xzf mdbtools-0.9.3.tar.gz
cd mdbtools-0.9.3
./configure --prefix=$HOME/mdbtools
make
make install