Skip to content

Internal Error, Could not perform immediate configuration (2) on mountall

# lsb_release -a 
Distributor ID: Ubuntu
Description:    Ubuntu karmic
Release:        9.10
Codename:    karmic

# apt-get update && apt-get -V dist-upgrade
[....]
Need to get 0B/197MB of archives.
After this operation, 239MB of additional disk space will be used.
Do you want to continue [Y/n]? 
E: Internal Error, Could not perform immediate configuration (2) on mountall
Huh? What happened here? I mean, I still had this mountall bug around, so it wouldn't surprise me if apt-get runs some hooks on mountall to make sure we're actually up & running. Let's "fix" mount for now:
# mountall 
swapon: /dev/mapper/swap: swapon failed: Device or resource busy
mountall: swapon /dev/mapper/swap [15521] terminated with status 255
mountall: Problem activating swap: /dev/mapper/swap

# grep swap /etc/fstab 
## /dev/mapper/swap swap       swap    pri=1        0       0

# mountall 
Now mountall returns properly, but apt-get dist-upgrade would still present the same error. Manually installing the package in question helped:
# dpkg --force-all -i /var/cache/apt/archives/mountall_2.10_amd64.deb
# apt-get -f install
# apt-get -V dist-upgrade