[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#742392: hurd: Hang during apt-get upgrade from last image release



I managed to upgrade the hurd packages by building my own where the
hurd-console init.d script no longer is started on package
installation or stopped on package removal, and also commented out the
hurd-console block in /var/lib/dpkg/info/hurd.prerm:

  root@debian:~# cat /var/lib/dpkg/info/hurd.prerm 
  #!/bin/sh
  set -e

  if [ "$1" = remove ]; then
       update-alternatives --remove random /dev/random-hurd
  fi

  # Automatically added by dh_installinit
  #if [ -x "/etc/init.d/hurd-console" ]; then
  #      invoke-rc.d hurd-console stop || exit $?
  #fi
  # End automatically added section

  root@debian:~# 

This made sure the console was not touched during upgrade, and now I
was able to install the packages.

But after boot, the machine got stuck trying to run the scripts in
rc2.d/, and I was no longer able to log into the machine.  So the
"fix" is most likely not the correct one.

-- 
Happy hacking
Petter Reinholdtsen


Reply to: