LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-24-2010, 10:37 AM   #1
irvken
Member
 
Registered: Dec 2003
Location: uk
Distribution: Ubuntu/Debian/Android
Posts: 218

Rep: Reputation: 30
Errors upgrading remote debian server


I'm trying to upgrade a remote server that's not been touched in yonks and getting the following errors?

Code:
apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back:
  apt apt-utils aptitude dhcp-client dpkg dselect fontconfig gcc-4.2-base
  libaprutil1 libdbd-mysql-perl libfontconfig1 libgcc1 libgd2-xpm
  libgdchart-gd2-xpm libice6 libnet-ssleay-perl libperl5.10 libsm6 libstdc++6
  libx11-6 libxext6 libxpm4 lynx nmap pciutils perl perl-base ppp pppoeconf
  python ssh ssl-cert sysvinit tasksel util-linux whiptail
The following packages will be upgraded:
  libkrb53
1 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
64 not fully installed or removed.
Need to get 0B/482kB of archives.
After unpacking 65.5kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 16088 files and directories currently installed.)
Preparing to replace libkrb53 1.6.dfsg.4~beta1-3 (using .../libkrb53_1.6.dfsg.4~beta1-5lenny2_i386.deb) ...
Unpacking replacement libkrb53 ...
dpkg: error processing /var/cache/apt/archives/libkrb53_1.6.dfsg.4~beta1-5lenny2_i386.deb (--unpack):
 trying to overwrite `/usr/lib/libgssapi_krb5.so.2.2', which is also in package libgssapi-krb5-2
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libkrb53_1.6.dfsg.4~beta1-5lenny2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Old 03-24-2010, 11:05 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
You seem to be running a mixed stable/testing system, which is bad. Post your sources.list.

As the error says, a file in libkrb53 also exists in libgssapi-krb5-2 and there is a conflict. However the latter is only in squeeze and above and the former is only in lenny and below.
 
Old 03-24-2010, 03:11 PM   #3
irvken
Member
 
Registered: Dec 2003
Location: uk
Distribution: Ubuntu/Debian/Android
Posts: 218

Original Poster
Rep: Reputation: 30
Yep that's about right, when I came to update it the sources list was as follows

Quote:
#deb http://mirror.bytemark.co.uk/debian unstable main non-free contrib
#deb http://security.debian.org/ stable/updates main contrib non-free
But wasn't working at all, just bombed out saying Reading Package Lists... Error! I changed it to this below, but am getting the errors above

Quote:
deb http://mirror.bytemark.co.uk/debian stable main non-free contrib
deb http://security.debian.org/ stable/updates main contrib non-free
Is it fixable?
 
Old 03-24-2010, 03:16 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Did you apt-get update?
 
Old 03-24-2010, 04:33 PM   #5
irvken
Member
 
Registered: Dec 2003
Location: uk
Distribution: Ubuntu/Debian/Android
Posts: 218

Original Poster
Rep: Reputation: 30
yep, did that first, that works fine

Quote:
lists:/home/sean# apt-get update
Get:1 http://mirror.bytemark.co.uk stable/main Packages [6725kB]
Get:2 http://mirror.bytemark.co.uk stable/main Release [95B]
Get:3 http://mirror.bytemark.co.uk stable/non-free Packages [122kB]
Get:4 http://mirror.bytemark.co.uk stable/non-free Release [99B]
Get:5 http://mirror.bytemark.co.uk stable/contrib Packages [92.5kB]
Get:6 http://mirror.bytemark.co.uk stable/contrib Release [98B]
Fetched 6940kB in 1s (4017kB/s)
Reading Package Lists... Done
lists:/home/sean#
 
Old 03-24-2010, 05:13 PM   #6
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Try removing libgssapi-krb5-2. But who knows what else is broken since you have packages from unstable and stable on the same system.
 
1 members found this post helpful.
Old 03-30-2010, 01:21 PM   #7
irvken
Member
 
Registered: Dec 2003
Location: uk
Distribution: Ubuntu/Debian/Android
Posts: 218

Original Poster
Rep: Reputation: 30
Cheers, that did the trick, couple of other packages as well needed removing, but it all looks like it's working well now.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Debian]TightVnc Server Problem-Gnome Remote Desktop dj32 Linux - Newbie 2 12-28-2009 03:52 AM
Segmentation fault on debian remote server hetzner.de rogee Linux - Security 7 12-15-2009 02:22 PM
debian won't start from hd, and x server fatal errors ppcthug Linux - Newbie 28 02-10-2005 12:41 PM
Errors after upgrading glib simonalex Linux - Software 2 08-14-2004 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:13 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
Open Source Consulting | Domain Registration