LinuxQuestions.org
Help answer threads with 0 replies.
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 02-21-2009, 04:08 PM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
Broken upgrade to Lenny


I just tried to upgrade my server to Lenny and it broke a bit into the upgrade.

Here's some clues to what may be wrong:

Quote:
# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
python-egenix-mxdatetime python-egenix-mxtools
Suggested packages:
python-egenix-mxdatetime-dbg python-egenix-mxtools-dbg
The following packages will be upgraded:
python-egenix-mxdatetime python-egenix-mxtools
2 upgraded, 0 newly installed, 0 to remove and 174 not upgraded.
126 not fully installed or removed.
Need to get 0B/1174kB of archives.
After this operation, 922kB of additional disk space will be used.
Do you want to continue [Y/n]?
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "en_US",
LC_MESSAGES = "en_US",
LC_CTYPE = "en_US",
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 46504 files and directories currently installed.)
Preparing to replace python-egenix-mxtools 2.0.6-4 (using .../python-egenix-mxtools_3.1.0-1_i386.deb) ...
pycentral: pycentral pkgprepare: not overwriting local files
pycentral pkgprepare: not overwriting local files
dpkg: error processing /var/cache/apt/archives/python-egenix-mxtools_3.1.0-1_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Preparing to replace python-egenix-mxdatetime 2.0.6-4 (using .../python-egenix-mxdatetime_3.1.0-1_i386.deb) ...
pycentral: pycentral pkgprepare: not overwriting local files
pycentral pkgprepare: not overwriting local files
dpkg: error processing /var/cache/apt/archives/python-egenix-mxdatetime_3.1.0-1_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/python-egenix-mxtools_3.1.0-1_i386.deb
/var/cache/apt/archives/python-egenix-mxdatetime_3.1.0-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Quote:
# apt-get remove python-egenix-mxtools
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
python-egenix-mxdatetime: Depends: python (< 2.5) but 2.5.2-3 is to be installed
Depends: python-egenix-mxtools but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Quote:
# cat /etc/apt/sources.list
deb http://debian.mirror.iweb.ca/debian stable main
deb-src http://debian.mirror.iweb.ca/debian stable main
deb http://security.debian.org/ stable/updates main
(I have a hosted server at iWeb and that's why they are hosting their own mirror. I believe that should not be a problem, though)
 
Old 02-21-2009, 06:52 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
Try apt-get clean
dpkg-reconfigure locales
then apt-get update, apt-get install apt dpkg , apt-get dist-upgrade

If none of that works you might consider trying to use a different mirror.

Chapter*4.*Upgrades from previous releases
http://www.debian.org/releases/lenny...rading.en.html
 
Old 02-21-2009, 08:49 PM   #3
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 49
"dpkg-reconfigure locales" fixed the locale troubles. The python problem was solved with adding "local-overwrite=1" to /etc/python/debian_config



Only problem now is to get all the old trac plugins to work with python 2.5, it was the trac plugins that broke the update since they had been messing around in /usr and dpkg didn't like that I guess.
 
  


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
Can not upgrade from Etch to Lenny ? ashikaumanga Linux - General 6 02-02-2009 09:14 PM
LXer: Slightly broken Iceweasel 3.0 comes into Debian Lenny LXer Syndicated Linux News 0 07-13-2008 06:20 AM
Etch-to-Lenny upgrade? pietruszewski Debian 36 05-09-2008 04:59 PM
Flash broken in 64bit lenny? war1025 Debian 10 03-19-2008 02:08 AM
gnome-keyboard-properties broken in lenny? yanik Debian 1 10-12-2007 09:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:10 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration