LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Serious problem with apt-get dist-upgrade - encoutered fatal errors while upgrading! (https://www.linuxquestions.org/questions/debian-26/serious-problem-with-apt-get-dist-upgrade-encoutered-fatal-errors-while-upgrading-214256/)

DarkLight 08-06-2004 09:53 AM

Serious problem with apt-get dist-upgrade - encoutered fatal errors while upgrading!
 
After downloading all packages to upgrade from Debian GNU/Linux 3.0r2 "woody" to currently "testing" distribution "sarge" I get following massages:

Code:

(Reading database ... 141330 files and directories currently installed.)
Preparing to replace login 20000902-12 (using .../login_1%3a4.0.3-30_i386.deb) ...
Unpacking replacement login ...
Replacing files in old package manpages-ja ...
dpkg: error processing /var/cache/apt/archives/login_1%3a4.0.3-30_i386.deb (--unpack):
 trying to overwrite `/usr/share/man/ko/man1/login.1.gz', which is also in package manpages-ko
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/login_1%3a4.0.3-30_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I tried bypass installation of login by renaming its .deb file and using apt-get dist-upgrade -m command. Installation of upgrades end with same error, but with another package passwd:

Code:

Preparing to replace screen 3.9.11-5 (using .../screen_4.0.2-3_i386.deb) ...
Unpacking replacement screen ...
Errors were encountered while processing:
 /var/cache/apt/archives/passwd_1%3a4.0.3-30_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I can try bypass installation of passwd too but there probably something wrong, so I wish to resolve this problem without bypassing installation of these packages. Any ideas why I get this error?...

macondo 08-06-2004 11:11 AM

assuming you did everything RIGHT during the dist-upgrade, it could be a bug for those 2 packages in sarge, check the BTS, (bug tracking system) at debian.org.

m_yates 08-06-2004 11:19 AM

You can try:
Code:

apt-get -f install
and re-do the upgrade. If you get the same error, you can try:
Code:

dpkg --force-overwrite -i /var/cache/apt/archives/login_1%3a4.0.3-30_i386.deb
to force the install to overwrite the file.

HappyTux 08-06-2004 02:22 PM

And do not forget dpkg --configure -a to make sure that any packages that were left unconfigured when the error happened get setup.


All times are GMT -5. The time now is 03:06 AM.