I had also tried the 'touch /sbin/udevadm.upgrade' workaround, and it
failed to work. However, instead of deleting the '--convert-db' line in
/var/lib/dpkg/info/udev.postinst, I changed it from:
udevadm info --convert-db
to:
udevadm.upgrade info --convert-db
This let the install finish
Nonsense. Ubuntu has limited resources and can't develop for and test
every possible method for doing things.
Debian does not support upgrades from oldstable to testing, so you can't
skip versions their either. The only difference is that since Debian
has so many fewer versions the situation is
If I may Scott, this is an answer one might except from microsoft telling you
you can't upgrade from XP to W7 without going through Vista. Obviously you know
of ubuntu bug #1.
I could understand "sorry, we don't have the resources to test upgrades from
any release to any release, but let me see
> I just got this exact same issue going from 10.10 to 11.10. In the end I
> solved it by doing this:
Upgrading directly to 11.10 from 10.10 isn't supported. If you'd followed the
supported upgrade path and upgraded through 11.04, it would have been fine.
--
You received this bug notification
I want to add to this in case somebody runs into the same problem.
I just got this exact same issue going from 10.10 to 11.10. In the end I
solved it by doing this:
touch /sbin/udevadm.upgrade
apt-get install udev # gave me an error
rm /sbin/udevadm.upgrade
apt-get install udev # worked fine thi
I just got this error when upgrading from Lucid.
It might have been fixed for Natty, but how about when upgrading from Lucid?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/745011
Title:
"info: unrec
This bug was fixed in the package udev - 167-0ubuntu2
---
udev (167-0ubuntu2) natty; urgency=low
* debian/udev.{postinst,postrm,preinst}: Update diversions to use fake-udev
instead of udev as the package. Otherwise the diversion will be ignored.
(LP: #745011)
-- Stephane Gr
Thanks Raphaël, that explains it.
I'll upload a udev using the fake-udev --package as suggested.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/745011
Title:
"info: unrecognized option '--convert-db'
Running dpkg in debug mode, I see:
root@stgraber-upgrade:/var/cache/apt/archives# dpkg -D10 -i
udev_167-0ubuntu1_amd64.deb 2>&1 | grep udevadm
Adding 'diversion of /sbin/udevadm to /sbin/udevadm.upgrade by udev'
D10: tarobject ti->name='./sbin/udevadm' mode=100755 owner=0.0 type=48(-)
ti->lin
This is a bug in udev only... if udev wants to diverts its own file it
must not use "--package udev" otherwise it instructs dpkg to divert the
file EXCEPT when it's provided by udev (which it does). So in reality
the replacement /sbin/udevadm is only there for a short time and
overwritten by the ne
** Changed in: dpkg (Ubuntu)
Assignee: (unassigned) => Michael Vogt (mvo)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/745011
Title:
"info: unrecognized option '--convert-db'" on upgrade
--
The strace looks like the divert database is correctly written
(including the new udev entry) and also correctly (re)read by dpkg. But
for some reason not used. That is my reading of the strace so far at
least.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which i
Here is another strace, this time only with the --unpack operation.
** Attachment added: "a strace -f -s4096 of the dpkg run"
https://bugs.edge.launchpad.net/ubuntu/+source/udev/+bug/745011/+attachment/1978007/+files/dpkg-strace
--
You received this bug notification because you are a member
Based on previous comment, adding a dpkg task to the bug.
** Also affects: dpkg (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/745011
Title:
"inf
I looked at older version of this and its only a problem for maverick
(and later). It seems like dpkg-divert has a bug now, older versions
work as expected. Probably releated to the rewrite in C that 1.15.8
features.
--
You received this bug notification because you are a member of Ubuntu
Bugs, w
Here is what I found out so far in a maverick chroot:
# dpkg --version
Debian `dpkg' package management program version 1.15.8.4ubuntu1 (amd64).
# dpkg --unpack /var/cache/apt/archives/udev_167-0ubuntu1_amd64.deb
(Reading database ... 13758 files and directories currently installed.)
Preparing to
** Attachment added: "LZMA version of the strace (didn't realise it was 60MB
large)"
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/745011/+attachment/1975758/+files/strace.lzma
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Attachment added: "strace"
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/745011/+attachment/1975749/+files/strace
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/745011
Title:
"info: unre
I reproduced udev's postrm,preinst,postinst scripts in a test package
and found nothing weird in dpkg-divert's behaviour there.
I also tried reinstalling the udev package with a --reinstall --purge
but that doesn't help:
root@stgraber-upgrade:~# apt-get install --reinstall --purge udev
Reading pa
Ok, so quickly going through the postrm, preinst and postinst script,
assuming a working scenario (the upgrade doesn't get cancelled):
postrm: Nothing happens
preinst: disable_udevadm (diverts the OLD udevadm to /sbin/udevadm.upgrade,
then puts a shell script to replace udevadm)
postinst: remove
Found the issue.
Apparently on upgrade udevadm isn't actually updated (as in, we still have the
old binary).
On my laptop, with a clean Natty 64bit install:
root@castiana:~# debsums -sa udev
root@castiana:~#
root@castiana:~# md5sum /sbin/udevadm
848c4c6c4368d5a0ca84b7b763d7ddfb /sbin/udevadm
r
I tried reproducing the mythbuntu one above by doing:
1) Clean install of Mythbuntu 10.10 (amd64)
2) Dist-upgrade to be up to date
3) do-release-upgrade -d
Everything went fine without any error message.
After I did that I noticed that the automated upgrade was on 32bit, so I'll
download the i38
** Changed in: udev (Ubuntu)
Assignee: (unassigned) => Stéphane Graber (stgraber)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/745011
Title:
"info: unrecognized option '--convert-db'" on upgra
23 matches
Mail list logo