Exactly .. it is needed for root permissions. Back over a year ago I was doing an install/update and there was a lightning strike here. The power went out in the middle of while those packakes were being unpacked. I used that command and it worked just perfectly. Now, I guess the only way I can prove this is to do an update and emulate a power outage.
Anyways , I was just trying to get some confirmation as there is a discussion about this in another thread.
The -i is for root, However .. I tired it as you had posted and it just did nothing - no error at all. I think that command is specifically for broken packages. I ised it with the (-i) over a year ago when there was a power outage in my area and that command successfully fixed all the broken packages.
Code:--configure package...|-a|--pending Configure a package which has been unpacked but not yet config‐ ured. If -a or --pending is given instead of package, all unpacked but unconfigured packages are configured. To reconfigure a package which has already been configured, try the dpkg-reconfigure(8) command instead. Configuring consists of the following steps: 1. Unpack the conffiles, and at the same time back up the old conffiles, so that they can be restored if something goes wrong. 2. Run postinst script, if provided by the package.
sudo -i dpkg --configure -a
worked perfectly from terminal (not GUI terminal) [alt +F1 terminal]. I had dowloaded 75MB of updates and pulled the plug just as synaptic was starting to unpack the updates. Of course all packages were then updated with that command.
Please see the correction here:
which was pasted from my post here: