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

Cannot upgrade circular udev dependency




Hi -- I have a machine, Linux ancient 2.6.36.2 #1 SMP Sun Dec 26 06:19:57 PST 2010 x86_64 GNU/Linux.

I can install a new kernel, but it won't boot into any of the new kernels:

root@ancient:~# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-4.9.0-16-amd64
Found initrd image: /boot/initrd.img-4.9.0-16-amd64
Found linux image: /boot/vmlinuz-3.16.0-6-amd64
Found initrd image: /boot/initrd.img-3.16.0-6-amd64
Found linux image: /boot/vmlinuz-2.6.36.2
Found linux image: /boot/vmlinuz-2.6.36.1


I also cannot upgrade udev:

root@ancient:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
...
The following additional packages will be installed:
  udev
The following packages will be upgraded:
  udev
1 upgraded, 0 newly installed, 0 to remove and 476 not upgraded.
Need to get 0 B/1,112 kB of archives.
After this operation, 6,381 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Reading database ... 64907 files and directories currently installed.)
Preparing to unpack .../udev_232-25+deb9u13_amd64.deb ...
Since release 198, udev requires support for the following features in
the running kernel:

- inotify(2)            (CONFIG_INOTIFY_USER)
- signalfd(2)           (CONFIG_SIGNALFD)
- accept4(2)
- open_by_handle_at(2)  (CONFIG_FHANDLE)
- timerfd_create(2)     (CONFIG_TIMERFD)
- epoll_create(2)       (CONFIG_EPOLL)
dpkg: error processing archive /var/cache/apt/archives/udev_232-25+deb9u13_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Errors were encountered while processing:
 /var/cache/apt/archives/udev_232-25+deb9u13_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm also unable to download or install anything else; it's all blocked by udev. I cannot for instance install any of these available versions:

root@ancient:~# just available udev
udev:
  Installed: 175-7.2
  Candidate: 232-25+deb9u13
  Version table:
     241-5~bpo9+1 100
        100 http://ftp.debian.org/debian stretch-backports/main amd64 Packages
     232-25+deb9u13 500
        500 http://security.debian.org stretch/updates/main amd64 Packages
     232-25+deb9u12 500
        500 http://mirrors.kernel.org/debian stretch/main amd64 Packages
        500 http://debian.lcs.mit.edu/debian stretch/main amd64 Packages
     215-17+deb8u13 500
        500 http://security.debian.org jessie/updates/main amd64 Packages
     215-17+deb8u7 500
        500 http://mirrors.kernel.org/debian jessie/main amd64 Packages
 *** 175-7.2 100
        100 /var/lib/dpkg/status

I'm not finding udev packages in pool. Where are they located in the repository tree? Is there an intermediate udev package that would allow me for instance to boot linux 3.16.0-6-amd64?

At one point there was an option to use "touch /etc/udev/kernel-upgrade" to overcome this exact problem, but it's not working to get me out of
2.6.36.2 and udev 175-7.2.

Finally. I tried using another machine to download udev 215-17+deb8u7 -- it lets me download libudev 215-17+deb8u7, but even just downloading the udev package is blocked by the dependency check.

    apt-get install --download-only udev=215-17+deb8u7 <== fails
    apt-get install --nodeps --download-only udev=215-17+deb8u7
E: Command line option --nodeps is not understood in combination with the other options

There are clearly lots of barriers put in to keep people from making mistakes, but it's also keeping me from upgrading. Is there a solution?

Cheers,
Dave



Reply to: