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

Bug#595257: upgrade-reports: Lenny->Squeeze upgrade was hard because udev (160_1) created deppendency hell



Package: upgrade-reports
Severity: important

Yesterday i managed to upgrade from lenny 5.0.5 to squeeze but i got
some error so i wanted to report them.

I installed lenny from 5.0.5 dvd (#1) and i installed with gnome desktop
env (there is an option in ncurses installer for this). After a while i
removed whole gnome and i used dwm. Iremove whole gnome desktop
including all packages that was not crucial for system.

I used the following method to upgrade to squeeze:
- i changed my repos in /etc/apt/sources.list (from lenny to squeeze (i used squeeze word instead of testing)
- i executed "apt-get update && apt-get dist-upgrade"

Apt downloaded 750mb of updates and it started to upgrade but there was some error at udev package (160_1). I got help at #debian on freenode that i should install squeeze kernel first and then reboot so that udev could contionue installation. The problem was that apt went into deppendency hell. I tried to remove udev but xserver, hal and initramfs-tools deppend on udev so apt got stuck there. I flushed my apt cache several times but apt could not continue before udev depp hell was fixed. Then i tried to install squeeze kernel (2.6.32-5 at the time of writing this). Apt could not install any package since there was udev depp problem. I tried to create /etc/udev/kernel-upgrade but i still got stuck on my kernel installation. I used "apt-get install linux-image-686" command to install my kernel but there was error:

  Reading package lists...
  Building dependency tree...
  Reading state information...
  You might want to run `apt-get -f install' to correct these:
  The following packages have unmet dependencies:
    hal: Depends: udev (>= 0.065) but it is not going to be installed
      initramfs-tools: Depends: udev (>= 0.086-1) but it is not going to
      be installed
        linux-image-686: Depends: linux-image-2.6.32-5-686 but it is not
        going to be installed
          xserver-xorg-core: Depends: udev (>= 149) but it is not going to
          be installed

At the end i had to install manually kernel from squeeze to continue my upgrade.
"linux-image-686" package for squeeze had 3 deppendencies to solve (i downloaded them manually in wget):
1. linux-base (for 2.6.32)
2. libuuid-perl

I installed them manually with dpkg and rebooted my pc. After that i was
able to continue my upgrade which went good after all this.
I hope that i helped somebody with this :))




-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



Reply to: