LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 08-06-2004, 10:53 AM   #1
DarkLight
Newbie
 
Registered: Jul 2004
Posts: 8

Rep: Reputation: 0
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?...
 
Old 08-06-2004, 12:11 PM   #2
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 51
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.
 
Old 08-06-2004, 12:19 PM   #3
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Rep: Reputation: 54
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.
 
Old 08-06-2004, 03:22 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get question: dist-upgrade vs upgrade Arodef Fedora 9 06-15-2012 02:33 PM
apt-get dist-upgrade problem after crash (during first update) twinkers Debian 4 11-17-2005 11:49 AM
apt-get dist-upgrade problem (havnt done it in a while...) r3dhatter Debian 1 08-29-2004 01:16 AM
apt-get dist-upgrade errors Pebcak Debian 4 06-15-2004 05:27 AM
What's the difference between apt-get upgrade and apt-get dist-upgrade? davidas Linux - Newbie 4 04-04-2004 09:19 PM


All times are GMT -5. The time now is 12:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration