I just installed Debian, and I am upgrading to unstable. When I do the command apt-get upgrade I recieve the an error saying Sub-Process /usr/bin/dpkg returned an error code (1).
this is the the screen leading up to the error:
this is the the screen leading up to the error:
Preparing to replace console-common 0.7.38 (using .../console-common_0.7.40_all.deb) ...
dpkg: error processing /var/cache/apt/archives/console-common_0.7.40_all.deb (--unpack):
subprocess pre-installation script returned error exit status 9
Loading /etc/console/boottime.kmap.gz
Preparing to replace libkrb53 1.3.2-2 (using .../libkrb53_1.3.3-1_i386.deb) ...
Unpacking replacement libkrb53
Preparing to replace libpam-runtime 0.76-16 (using .../libpam-runtime_0.76-19_all.deb) ...
Unpacking replacement libpam-runtime ...
Errors were encountered while processing:
/var/cache/apt/archives/console-common_0.7.40_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg: error processing /var/cache/apt/archives/console-common_0.7.40_all.deb (--unpack):
subprocess pre-installation script returned error exit status 9
Loading /etc/console/boottime.kmap.gz
Preparing to replace libkrb53 1.3.2-2 (using .../libkrb53_1.3.3-1_i386.deb) ...
Unpacking replacement libkrb53
Preparing to replace libpam-runtime 0.76-16 (using .../libpam-runtime_0.76-19_all.deb) ...
Unpacking replacement libpam-runtime ...
Errors were encountered while processing:
/var/cache/apt/archives/console-common_0.7.40_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
And this is an answer
After you get that error, try apt-get -f install to force an install of the files that didn't get loaded because of the error. Then try apt-get upgrade again, apt-get -f install back and forth until only the package that has the error is left.
0 comments:
Post a Comment