LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-23-2014, 10:31 PM   #1
guthrie
Member
 
Registered: Jul 2003
Location: Iowa
Distribution: Debian
Posts: 32

Rep: Reputation: 15
Upgrade breaks system (again...)


I tried to do an update/upgrade of a stable system, and got a bunch of broken dependencies; 642 packages not upgraded, and a ton of these:
"insserv: warning: script 'S21initrd-tools.sh' missing LSB tags and overrides"
...
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing udev (--configure):
subprocess installed post-installation script returned error exit status 1

and things like this:
dpkg: dependency problems prevent configuration of libice6:
libice6 depends on x11-common; however:
Package x11-common is not configured yet.
...
dpkg: dependency problems prevent configuration of xdm:
xdm depends on libxaw7; however:
Package libxaw7 is not configured yet.
xdm depends on libxmu6; however:
Package libxmu6 is not configured yet.
xdm depends on libxt6; however:
Package libxt6 is not configured yet.
xdm depends on x11-xserver-utils; however:
Package x11-xserver-utils is not configured yet.
dpkg: error processing xdm (--configure):
dependency problems - leaving unconfigured

ending in failure:
dpkg: too many errors, stopping
Errors were encountered while processing:
cron
udev
console-common
keyboard-configuration
x11-common
libice6
libsm6
libxt6
libaudio2
libxmu6
libxaw7
libxss1
libxtst6
mailgraph
anacron
logrotate
...
Processing was halted because there were too many errors.

I then tried an upgrade-dist, thinking it might be good to move to most recent versions, but that just dug the hole deeper:
Setting up initscripts (2.88dsf-41+deb7u1) ...
insserv: warning: script 'K02hotplug-net' missing LSB tags and overrides
...
insserv: warning: script 'hotplug-net' missing LSB tags and overrides
insserv: There is a loop between service munin-node and modutils if stopped
insserv: loop involving service modutils at depth 2
insserv: loop involving service munin-node at depth 1
insserv: Stopping modutils depends on munin-node and therefore on system facility `$all' which can not be tr
ue!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing initscripts (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initscripts

I have had problems like this several times in the past years with Debian, and sometimes had to start over from a clean install, and re-do all installation packages, configuration, setup, etc - a real pain.

Is there any hope of recovery for this system, and any way to avoid this sort of update failures?

(cat /etc/issue: Debian GNU/Linux 6.0 )

Last edited by guthrie; 05-23-2014 at 10:33 PM.
 
Old 05-23-2014, 10:39 PM   #2
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
With dependency errors, my first thought goes to the sources.list. Do you have sources from anywhere other than Debian Stable and backports, or have you installed any packages from source that use more recent libraries than those on your system?
 
Old 05-23-2014, 11:10 PM   #3
guthrie
Member
 
Registered: Jul 2003
Location: Iowa
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 15
Nope.
I run a very simple standard system. :-)
 
Old 05-23-2014, 11:56 PM   #4
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
Originally Posted by guthrie View Post
Nope.
I run a very simple standard system. :-)
Quote:
Originally Posted by guthrie View Post
(cat /etc/issue: Debian GNU/Linux 6.0 )
Nope.

You USED to run a very simple OLDstable system with "stable" in your sources rather than "squeeze" so you have "surprise upgraded" (partially) to wheezy.

This is a bad idea for reasons you are now discovering.

Read the wheezy release notes about upgrading from squeeze and what you should have done first (along with the apt-get and dpkg man pages which you will likely need to know) and see if you can battle your way through the borked upgrade to wheezy.

Otherwise - reinstall.
 
3 members found this post helpful.
Old 05-25-2014, 05:48 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
apt-get clean
apt-get update
apt-get upgrade
apt-get dist-upgrade

Last edited by EDDY1; 05-25-2014 at 05:56 AM.
 
Old 05-25-2014, 05:55 AM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
sorry for repost
 
Old 05-25-2014, 08:18 AM   #7
guthrie
Member
 
Registered: Jul 2003
Location: Iowa
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 15
@Eddy1 - yes, that's just what I did.
 
Old 05-25-2014, 12:23 PM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Did it work?
If yes mark thread as solved using thread toolsabove
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] poppler upgrade breaks inkscape brobr Slackware 2 08-03-2012 07:43 PM
[SOLVED] Upgrade to QT 4.7.1 breaks KDE 2handband Slackware 17 11-22-2010 03:34 PM
Xorg upgrade breaks acpid kellinjar Linux - Software 4 02-11-2006 02:09 PM
upgrade breaks phpldapadmin gdsword Debian 2 11-04-2005 03:41 AM
Partial System Breaks Down after upgrade to v10.1 Manuel-H Slackware 1 03-09-2005 05:32 PM

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

All times are GMT -5. The time now is 06:45 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