TurnKey Linux Virtual Appliance Library

TKL-Lucid-Core: apt-get upgrade - freeze installing udev (151-12.1)

Jeremy's picture

Please note I have also posted this on the Ubuntu forums where I have added a bit more info.

Basically I have just done a fresh install of TKL-Core-Lucid in a KVM VM (under ProxmoxVE) and all went well. I have done some minor customisations (disabled byobu, added my custom sources.list which uses my local mirror and added 01proxy file for my LAN apt-cacher) and still all seemed well. FYI my custom sources.list has lucid-updates uncommented (not sure if that deviates from default).

Then I ran apt-get update && apt-get upgrade and all seemed to go fine until installing udev. It froze (using 0% CPU according to Proxmox). I waited about 20 mins and rebooted the VM. Now in the (Proxmox) VNC window it doesn't complete the boot and seems to hang, although I can log in fine via SSH. But when I try to run any apt related stuff it complains that udev not installed properly (as you'd expect). Rerunning the install just results in the same freeze. Grrr!

So where to now? I know I could probably quite easily work around this (by reinstalling and simply not running apt-get upgrade) but I'd rather work it out and lodge a bug with the relevant party (assuming its not something stupid I've done).

Jeremy's picture

Tried again, slightly different but still errors...

Did a clean install from ISO to a new VM. This time I commented out my local mirror, just leaving lucid-updates from archive.ubuntu.com and cleared my apt-cacher of the other version of udev (to make sure it downloaded a clean copy). I did the same 3 customisations (disabled byobu, added my custom sources.list which uses my local mirror and added 01proxy file for my LAN apt-cacher) but this time only did apt-get install udev (after apt-get update). It didn't freeze/hang this time but it still took way longer than I think it should and this time it threw up a few errors. Here's what happened:

The following packages will be upgraded:
  udev
1 upgraded, 0 newly installed, 0 to remove and 56 not upgraded.
Need to get 408kB of archives.
After this operation, 4096B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ lucid-updates/main udev 151-12.1 [408kB]
Fetched 408kB in 3s (104kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 21224 files and directories currently installed.)
Preparing to replace udev 151-12 (using .../udev_151-12.1_i386.deb) ...
Adding `local diversion of /sbin/udevadm to /sbin/udevadm.upgrade'
Unpacking replacement udev ...
Processing triggers for man-db ...
Setting up udev (151-12.1) ...
udev start/running, process 2628
Removing `local diversion of /sbin/udevadm to /sbin/udevadm.upgrade'
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-22-generic
.: 13: Can't open /scripts/casper-functions
.: 6: Can't open /scripts/casper-functions

But it seems to reboot ok and when I tried to reinstall it said the udev was at the latest version (so obviously TKL thinks its installed ok).

To double check, I installed again to another clean VM on my PVE host. This time I made no changes at all, just a clean default install. I got exactly the same result as above. Neither of these installs had any other modifications or packages installed exept from the ISO (first boot auto updates didn't run due to no DHCP server available).

Are these errors a problem? Do you think the hanging of the first is related to the errors on the second and third attempts? Or was it perhaps just a dodgey file on my local mirror (it has happened before). Should I try downloading the ISO again?

I think there's a bug somewhere

I've seen reports of this kind on other forums. But I don't have a clue what can be happening. 

Jeremy's picture

Thanks for your input Adrian

I haven't had a lot of success over on the Ubuntu forums, but that's ok.

I just didn't worry about it tonight and carried on with my KnowledgeTree investigstions and it didn't seem to cause any issues so obvioulsy its non-fatal.

Perhaps in my initial trial there was another package that upgraded that added to the issue, or perhaps as I mentioned it was a(n extra) dodgey udev from my local mirror? I guess I'll just ignore it.

I've just had exactly the same problem as JedMeister

I did a clean install of TKL-Lucid-Core in ProxmoxVE, SFTP'ed cntlm over & configured it, did apt-get update then apt-get upgrade which stops at "setting up udev (151-12.1)".

Is there a way of doing apt-get upgrade in TKL-Lucid-Core for everything except udev?


Jeremy's picture

Upgrading udev on its own works - but I'd just wait for now...

So if you upgrade udev first (apt-get install udev) then run apt-get upgrade it will work (at least it did for me). But I wouldn't yet because not only is there the udev bug, there is also a bug in the Webmin package. Webmin stops working after apt-get upgrade! FYI the bug reports I filed are here (udev) and here (webmin).

For now just upgrade the packages that you need to upgrade. Don't worry about packages with security issues as they are automatically handled daily by cron (ie auto security updates).

Hang tight for now. I'm sure there will be some resolution to this soon as the TKL devs are looking to re-release all the current appliances on top of Core-Lucid. That will mean will some sort fix or workaround cause they are like that! :)

Alon Swartz's picture

TurnKey Lucid beta builds are around the corner

Hey folks. I haven't had a chance to look into the above stated issues, and not sure I will. The beta Lucid builds are almost complete, and are up to date with the latest available packages. We never came across any udev/webmin issues during the builds, so all seems well.

As you know, we don't like to commit to exact time frames, but we are pushing for release in a week or two, and are currently on schedule.

Jeremy's picture

Awesome

If the new images include all the latest packages and everything works then the bugs I filed will be irrelevant and all will be well in my world. Nice :)

No Solution on Turnkey (11.3-lucid-x86)

Hi Alon, all,

Turnkey is brilliant in execution as well as concept.  And everything 'works', most of the time. I want to point out that the post you added was in 2010-Oct, and I still have this problem with the download from last week in 2012-May.

I assert that it wasn't fixed/worked out in prior releases since 2010.

I think it is a good idea to offer some directions in a readme or some place about what to do with this issue.  I've made a few attempts and still I don't have a definitive receipie.  When I get 'my' solution, I'll post it at the bottom.  However ... from what I've seen, everyone reads the threads, and reinvents the wheel because what gets posted more than likely is a subjective experience of how they "think it worked".

For myself, I'm using a VirtualBox configuration and making step-by-step backups so I don't need to lose hours retracing mysteps to after checking a promising option. 

Suggestion:

  • Put a not in the readme or download area
  • Provide a couple of tools to help out (like a Appliance-stop-all-servers) script.
  • Maintain a wiki page with the top few options, that people have found reliable.

Hope that helps :-)

 /w


Same error for me

I have had the same experience with the Lucid RC for Joomla.   I am new to Linux but I have played with the Joomla Turnkey appliance a couple years ago and just wanted to share my results.  It wasnt until I went to the console that I found what was causing the hang which lead me to this post.

Jeremy's picture

Hmm ok, I haven't tried on the RC

Are you using KVM too? (Under ProxmoxVE?) The only other person to post above having the same issue as me was someone using KVM under ProxmoxVE. I wonder if thats somehow related?

It may be a bit too late now, but it seems that upgrading udev on its own first was a work around for me previously. Be interesting if that also works in this instance.

UDEV install follow-up

I am installing the Joomla Lucid RC on ESXi 4.1 via the iso.  Doing the udev upgrade first like you mentioned work for this situation also.  I have been able to reproduce this on two different installs and it worked on each one.

Same Issue, no fix working

I have the same issue but doing apt-get install udev by itself still breaks things...

Same issue

I am having this same issue also. I am installing the Turnkey Base in VMware player on Windows 7. apt-get upgrade hangs on udev indefinitely. 

I'm getting same error over &

I'm getting same error over & over in virtual environments.  Fresh installs.  

turnkey-wordpress-11.0rc-lucid-x86.iso in VMware 7.1.0 build-261

I installed turnkey-wordpress-11.0rc-lucid-x86.iso in VMware 7.1.0 build-261024, installed and configured cntlm (package to get out to public web from behind ISA gateway/proxy) & then tried to install just udev by itself.  It hung during the update process as shown below:

root@wordpress /home# apt-get update

root@wordpress /home# apt-get install udev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  webmin-mount
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  udev
1 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
Need to get 410kB of archives.
After this operation, 4096B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ lucid-updates/main udev 151-12.2 [410kB]
Fetched 410kB in 0s (1825kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 25442 files and directories currently installed.)
Preparing to replace udev 151-12.1 (using .../udev_151-12.2_i386.deb) ...
Adding `local diversion of /sbin/udevadm to /sbin/udevadm.upgrade'
Unpacking replacement udev ...
Processing triggers for man-db ...
Setting up udev (151-12.2) ...

Peter's picture

Workaround

I had the same problem. What I did to solve it:

Logged in on another terminal, from there I killed ("ps aux | grep apt" and "kill -15 ...") the offending process. This renders the update mechanism temporarily useless.

It will complain about a lock, just remove it (with rm) as the system suggests.

Do "dpkg --configure -a" to repair the package system, when it hangs with udev do "Ctrl-C".

"apt-get update" and "apt-get upgrade" should give you a working system again.


DARN IT!

Wish I saw this workaround earlier. Restarted the VM in VMware Workstation 7. Ended up with busybox. 

I found that the "udev

I found that the "udev --restart" process was hung (stalled?) whenever this happened (which seems 100% of the time). I just invoke the kill on the restart process and all worked from there. -- YMMV --

Jeremy's picture

I found Peter's workaround useful

but killing the restart process may be a better one? Thanks for that.

I have tested in a couple of different environments and it only seems to happen in a VM (experienced it both in KVM and VirtualBox). Interestingly, I've found that it doesn't do it in a chroot environment, even if the chroot host does do it.

Peter's picture

Killing the offending process is probably better

because I just worked on the assumption that the problem lies within the package system. By just killing the offending process you can circumvent all the measures to restore it to a working state. I am not sure though what this means for the functionality for the overall system.


>JedMeister - Mon, 2010/12/13

>JedMeister - Mon, 2010/12/13 - 05:52.
>but killing the restart process may be a better one? Thanks for that.

Works for me.

> I have tested in a couple of different environments and it only seems to happen in a VM

Experienced the same issue on 3 different rel hardware install :-(


Jeremy's picture

That's not good!

I have changed the bug report to 'confirmed' as I think we have enough feedback here to suggest that this is quite a problem for many. It seems to me to be an upstream bug (Ubuntu?) but as I haven't found much on this issue anywhere else or experienced it on my desktop Ubuntu I haven't linked it to Ubuntu.

As the udev update is not security related perhaps the package should be held back from upgrade in TKL? I know its a hack but so long as its documented and there aren't any security updates to udev it shouldn't be a problem should it?

To hold back udev from further updates:

echo udev hold | dpkg --set-selections

If the condition only happens

If the condition only happens in virtual environments, then the risk is rather low assuming people are doing snapshots prior to any changes. (and everyone should be doing this anyway).

I just offered the kill solution since... and I am making a huge assumption here... the process in question is just doing a restart/reload of the udev process. Now... if there are events in queue that rely on udev that are not getting notified as a result, then yes there might be some untoward results.  

Another try: confirmed issue

Just unpacked a brand new machine (an interesting hp proliant microserver), installed the same lucid based Turnkey RC.

Bad things: got exactly the same issue.

Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.32-25-generic
.: 13: Can't open /scripts/casper-functions
.: 6: Can't open /scripts/casper-functions
.: 6: Can't open /scripts/casper-functions
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.32-25.44 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.32-25.44 was configured last, according to dpkg)
Running postinst hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-25-generic
Found initrd image: /boot/initrd.img-2.6.32-25-generic
done

Setting up libssl-dev (0.9.8k-7ubuntu8.5) ...
Setting up udev (151-12.2) ...

Killed from another console session to workaroud...

root@core ~# ps aux|grep udev
root     10629  0.0  0.0   2260   868 pts/1    S+   11:57   0:00 restart udev
root@core ~# kill -15 10629


Good things: all hardware recognized (not tried the embedded raid mode).
 


Another confirmed

Same issue on the Lucid based LAMP turnkey.  I was testing out the TKLBAM, which I must say is an amazing and extremely worthwhile add-on to the Turnkey line.  You guys rock!  Thanks everyone for the udev hang workaround.

Killed the restart process and applied the hold back as well. 

Jeremy's picture

Still an issue in 11.0 (newly released stable - not RC)

I just ran apt-get upgrade on a clean install of v11.0 (stable - as yet officially announced - see here) and this bug still exists (as tested in VirtualBox v3.2.8_OSE under Ubuntu 10.04). Upgrade stalls at:

Setting up udev (151-12.3) ...

The workaround above still works though. For clarity I will reiterate here:

Create a new SSH connection to your server. In the new session find the PID of the offending process:

ps aux|grep "restart udev"

which returns something similar to (PID 1928 in this instance):

root      1928  0.0  0.0   2260   868 pts/1    S+   05:25   0:00 restart udev

Then kill the process (substtute 1928 for the PID discovered above):

kill -15 1928

It still takes a long time to complete but it did for me. I then put a hold on udev so this problem doesn't happen again:

echo udev hold | dpkg --set-selections

killing udev

Thanks for the detailed post Jeremy. I'm returning to linux after a 5 year hiatus and need the extra detail right now.

I have access to my server hardware and was able to issue the kill command from the command line. The process killed immediately and the rest of the upgrade proceeded with some errors.

R

Same issue here

Hi,

Got the same issue with torrent server final version on a VM running under XEN.

If it helps...

David Killingsworth's picture

I'm getting this problem on

I'm getting this problem on the latest Trac appliance trac-11.0-lucid-x86

I used

ps aux|grep "restart udev"

and killed the process to finish the apt-get upgrade process.

I re-ran apt-get install udev and it thinks that it's at the latest version.


Jeremy's picture

It should be

AFAIK its the restart process that hangs, after updating so it should now be at the latest version.

John Carver's picture

I encountered this problem while upgrading from 11.0-RC

I experienced this problem while upgrading from 11.0-RC.  The upgrade hung when upgrading from udev (151-12.1) to udev (151-12.3).  After 15 minutes of waiting, I started googling and found this thread.  Killing 'restart udev' allowed the upgrade to complete, but left udev status "start/starting" not "start/running" and no udevd daemons were running.  All attempts to start or restart udev failed.  Finally crossed my fingers and rebooted afterwhich udev was running as expected.  As an experiment, I tried 'restart udev' again to see if it was functional.  Once again, udev stopped and then refused to start again.  Additional googling turned up the following bug report which I think is related.  https://bugs.launchpad.net/ubuntu/+source/udev/+bug/674704 Note that the bug report refers to a 'headless server' which I'm guessing would apply to a TurnKey appliance.  I'll include my console output and a stack trace of 'start udev' in the hope it will be useful.  Checkout the following warnings I just spotted in the console capture.  I think stop and start may have the wrong runlevels assigned.
Nevermind smiley different start & stop here.

Setting up inithooks (0.9+8+g1b40e56) ...
Installing new version of config file /etc/init.d/inithooks ...
update-rc.d: warning: inithooks start runlevel arguments (2) do not match LSB Default-Start values (2 3 4 5)
update-rc.d: warning: inithooks stop runlevel arguments (none) do not match LSB Default-Stop values (0 1 6)

# apt-get  upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  linux-image-generic
The following packages will be upgraded:
  confconsole di-live dpkg e2fslibs e2fsprogs grub-common grub-pc ifupdown
  inithooks libc-bin libc-dev-bin libc6 libc6-dev libcomerr2 libmysqlclient16
  libplymouth2 libss2 libudev0 linux-libc-dev man-db mysql-client
  mysql-client-5.1 mysql-client-core-5.1 mysql-common mysql-server
  mysql-server-5.1 mysql-server-core-5.1 plymouth rsyslog tklbam turnkey-pylib
  tzdata udev webmin webmin-apache webmin-custom webmin-file webmin-firewall
  webmin-mount webmin-mysql webmin-net webmin-passwd webmin-phpini
  webmin-postfix webmin-shell webmin-software webmin-sshd webmin-syslog
  webmin-text-editor webmin-theme-stressfree webmin-updown webmin-useradmin
52 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 49.2MB of archives.
After this operation, 1877kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin 1.520-turnkey+4+ga5a493f [1816kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libc-dev-bin 2.11.1-0ubuntu7.6 [213kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libc6-dev 2.11.1-0ubuntu7.6 [4839kB]
Get:4 http://archive.turnkeylinux.org/ubuntu/ lucid/main turnkey-pylib 0.2+10+gcb57296 [13.4kB]
Get:5 http://archive.turnkeylinux.org/ubuntu/ lucid/main confconsole 0.9.4+25+gefb2943 [12.5kB]
Get:6 http://archive.turnkeylinux.org/ubuntu/ lucid/main di-live 0.9.3+9+gf1c21ec [1631kB]
Get:7 http://archive.turnkeylinux.org/ubuntu/ lucid/main inithooks 0.9+8+g1b40e56 [3502B]
Get:8 http://archive.turnkeylinux.org/ubuntu/ lucid/main tklbam 1.1+3+g9f68770 [56.2kB]
Get:9 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-apache 1.520-turnkey+4+ga5a493f [483kB]
Get:10 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-custom 1.520-turnkey+4+ga5a493f [93.5kB]
Get:11 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-file 1.520-turnkey+4+ga5a493f [700kB]
Get:12 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-firewall 1.520-turnkey+4+ga5a493f [111kB]
Get:13 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-mount 1.520-turnkey+4+ga5a493f [329kB]
Get:14 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-mysql 1.520-turnkey+4+ga5a493f [286kB]
Get:15 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-net 1.520-turnkey+4+ga5a493f [166kB]
Get:16 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-useradmin 1.520-turnkey+4+ga5a493f [328kB]
Get:17 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-passwd 1.520-turnkey+4+ga5a493f [34.2kB]
Get:18 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-phpini 1.520-turnkey+4+ga5a493f [36.3kB]
Get:19 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-postfix 1.520-turnkey+4+ga5a493f [444kB]
Get:20 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-postfix 1.520-turnkey+4+ga5a493f [444kB]
Get:21 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-shell 1.520-turnkey+4+ga5a493f [60.5kB]
Get:22 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-software 1.520-turnkey+4+ga5a493f [160kB]
Get:23 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-sshd 1.520-turnkey+4+ga5a493f [103kB]
Get:24 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-syslog 1.520-turnkey+4+ga5a493f [59.8kB]
Get:25 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-text-editor 1.520-turnkey+4+ga5a493f [4018B]
Get:26 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-theme-stressfree 1.520-turnkey+4+ga5a493f [1411kB]
Get:27 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libc-bin 2.11.1-0ubuntu7.6 [723kB]
Get:28 http://archive.turnkeylinux.org/ubuntu/ lucid/main webmin-updown 1.520-turnkey+4+ga5a493f [38.4kB]
Get:29 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libc6 2.11.1-0ubuntu7.6 [3779kB]
Get:30 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-libc-dev 2.6.32-27.49 [823kB]
Get:31 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main tzdata 2010o-0ubuntu0.10.04 [677kB]
Get:32 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main grub-pc 1.98-1ubuntu9 [638kB]
Get:33 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main grub-common 1.98-1ubuntu9 [1510kB]
Get:34 http://us.archive.ubuntu.com/ubuntu/ lucid-security/main dpkg 1.15.5.6ubuntu4.5 [2192kB]
Get:35 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main e2fslibs 1.41.11-1ubuntu2.1 [140kB]
Get:36 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main e2fsprogs 1.41.11-1ubuntu2.1 [792kB]
Get:37 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main mysql-common 5.1.41-3ubuntu12.8 [99.3kB]
Get:38 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main mysql-server 5.1.41-3ubuntu12.8 [94.8kB]
Get:39 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main mysql-client 5.1.41-3ubuntu12.8 [94.6kB]
Get:40 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libmysqlclient16 5.1.41-3ubuntu12.8 [1933kB]
Get:41 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main mysql-client-core-5.1 5.1.41-3ubuntu12.8 [177kB]
Get:42 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main mysql-client-5.1 5.1.41-3ubuntu12.8 [8135kB]
Get:43 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main mysql-server-core-5.1 5.1.41-3ubuntu12.8 [4710kB]
Get:44 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main mysql-server-5.1 5.1.41-3ubuntu12.8 [7018kB]
Get:45 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libcomerr2 1.41.11-1ubuntu2.1 [50.7kB]
Get:46 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libss2 1.41.11-1ubuntu2.1 [55.7kB]
Get:47 http://us.archive.ubuntu.com/ubuntu/ lucid-security/main ifupdown 0.6.8ubuntu29.2 [60.5kB]
Get:48 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main rsyslog 4.2.0-2ubuntu8.1 [278kB]
Get:49 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main udev 151-12.3 [410kB]
Get:50 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main plymouth 0.8.2-2ubuntu2.1 [115kB]
Get:51 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libplymouth2 0.8.2-2ubuntu2.1 [92.4kB]
Get:52 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libudev0 151-12.3 [119kB]
Get:53 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main man-db 2.5.7-2ubuntu1 [1082kB]
Fetched 49.2MB in 1min 30s (541kB/s)                                           
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 31459 files and directories currently installed.)
Preparing to replace libc-dev-bin 2.11.1-0ubuntu7.5 (using .../libc-dev-bin_2.11.1-0ubuntu7.6_i386.deb) ...
Unpacking replacement libc-dev-bin ...
Preparing to replace libc6-dev 2.11.1-0ubuntu7.5 (using .../libc6-dev_2.11.1-0ubuntu7.6_i386.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc-bin 2.11.1-0ubuntu7.5 (using .../libc-bin_2.11.1-0ubuntu7.6_i386.deb) ...
Unpacking replacement libc-bin ...
Processing triggers for man-db ...
Setting up libc-bin (2.11.1-0ubuntu7.6) ...

(Reading database ... 31459 files and directories currently installed.)
Preparing to replace libc6 2.11.1-0ubuntu7.5 (using .../libc6_2.11.1-0ubuntu7.6_i386.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.11.1-0ubuntu7.6) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 31459 files and directories currently installed.)
Preparing to replace linux-libc-dev 2.6.32-26.48 (using .../linux-libc-dev_2.6.32-27.49_i386.deb) ...
Unpacking replacement linux-libc-dev ...
Preparing to replace tzdata 2010m-0ubuntu0.10.04 (using .../tzdata_2010o-0ubuntu0.10.04_all.deb) ...
Unpacking replacement tzdata ...
Setting up tzdata (2010o-0ubuntu0.10.04) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Fri Jan  7 14:59:01 UTC 2011.
Universal Time is now:  Fri Jan  7 14:59:01 UTC 2011.
Run 'dpkg-reconfigure tzdata' if you wish to change it.


(Reading database ... 31459 files and directories currently installed.)
Preparing to replace grub-pc 1.98-1ubuntu7 (using .../grub-pc_1.98-1ubuntu9_i386.deb) ...
Unpacking replacement grub-pc ...
Preparing to replace grub-common 1.98-1ubuntu7 (using .../grub-common_1.98-1ubuntu9_i386.deb) ...
Unpacking replacement grub-common ...
Preparing to replace dpkg 1.15.5.6ubuntu4.3 (using .../dpkg_1.15.5.6ubuntu4.5_i386.deb) ...
Unpacking replacement dpkg ...
Processing triggers for man-db ...
Setting up dpkg (1.15.5.6ubuntu4.5) ...

(Reading database ... 31459 files and directories currently installed.)
Preparing to replace e2fslibs 1.41.11-1ubuntu2 (using .../e2fslibs_1.41.11-1ubuntu2.1_i386.deb) ...
Unpacking replacement e2fslibs ...
Setting up e2fslibs (1.41.11-1ubuntu2.1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 31459 files and directories currently installed.)
Preparing to replace e2fsprogs 1.41.11-1ubuntu2 (using .../e2fsprogs_1.41.11-1ubuntu2.1_i386.deb) ...
Unpacking replacement e2fsprogs ...
Processing triggers for man-db ...
Setting up e2fsprogs (1.41.11-1ubuntu2.1) ...
(Reading database ... 31459 files and directories currently installed.)
Preparing to replace mysql-common 5.1.41-3ubuntu12.7 (using .../mysql-common_5.1.41-3ubuntu12.8_all.deb) ...
Unpacking replacement mysql-common ...
Preparing to replace mysql-server 5.1.41-3ubuntu12.7 (using .../mysql-server_5.1.41-3ubuntu12.8_all.deb) ...
Unpacking replacement mysql-server ...
Preparing to replace mysql-client 5.1.41-3ubuntu12.7 (using .../mysql-client_5.1.41-3ubuntu12.8_all.deb) ...
Unpacking replacement mysql-client ...
Preparing to replace libmysqlclient16 5.1.41-3ubuntu12.7 (using .../libmysqlclient16_5.1.41-3ubuntu12.8_i386.deb) ...
Unpacking replacement libmysqlclient16 ...
Preparing to replace mysql-client-core-5.1 5.1.41-3ubuntu12.7 (using .../mysql-client-core-5.1_5.1.41-3ubuntu12.8_i386.deb) ...
Unpacking replacement mysql-client-core-5.1 ...
Preparing to replace mysql-client-5.1 5.1.41-3ubuntu12.7 (using .../mysql-client-5.1_5.1.41-3ubuntu12.8_i386.deb) ...
Unpacking replacement mysql-client-5.1 ...
Preparing to replace mysql-server-core-5.1 5.1.41-3ubuntu12.7 (using .../mysql-server-core-5.1_5.1.41-3ubuntu12.8_i386.deb) ...
Unpacking replacement mysql-server-core-5.1 ...
Processing triggers for man-db ...
Setting up mysql-common (5.1.41-3ubuntu12.8) ...
(Reading database ... 31459 files and directories currently installed.)
Preparing to replace mysql-server-5.1 5.1.41-3ubuntu12.7 (using .../mysql-server-5.1_5.1.41-3ubuntu12.8_i386.deb) ...
mysql stop/waiting
Unpacking replacement mysql-server-5.1 ...
Preparing to replace webmin 1.510-turnkey+5+gcda8ca2 (using .../webmin_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin ...
Preparing to replace libcomerr2 1.41.11-1ubuntu2 (using .../libcomerr2_1.41.11-1ubuntu2.1_i386.deb) ...
Unpacking replacement libcomerr2 ...
Processing triggers for man-db ...
Setting up libcomerr2 (1.41.11-1ubuntu2.1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 31536 files and directories currently installed.)
Preparing to replace libss2 1.41.11-1ubuntu2 (using .../libss2_1.41.11-1ubuntu2.1_i386.deb) ...
Unpacking replacement libss2 ...
Setting up libss2 (1.41.11-1ubuntu2.1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 31536 files and directories currently installed.)
Preparing to replace ifupdown 0.6.8ubuntu29.1 (using .../ifupdown_0.6.8ubuntu29.2_i386.deb) ...
Unpacking replacement ifupdown ...
Preparing to replace rsyslog 4.2.0-2ubuntu8 (using .../rsyslog_4.2.0-2ubuntu8.1_i386.deb) ...
Unpacking replacement rsyslog ...
Preparing to replace udev 151-12.1 (using .../udev_151-12.3_i386.deb) ...
Adding `local diversion of /sbin/udevadm to /sbin/udevadm.upgrade'
Unpacking replacement udev ...
Preparing to replace plymouth 0.8.2-2ubuntu2 (using .../plymouth_0.8.2-2ubuntu2.1_i386.deb) ...
Unpacking replacement plymouth ...
Preparing to replace libplymouth2 0.8.2-2ubuntu2 (using .../libplymouth2_0.8.2-2ubuntu2.1_i386.deb) ...
Unpacking replacement libplymouth2 ...
Preparing to replace libudev0 151-12.1 (using .../libudev0_151-12.3_i386.deb) ...
Unpacking replacement libudev0 ...
Preparing to replace man-db 2.5.7-2 (using .../man-db_2.5.7-2ubuntu1_i386.deb) ...
Unpacking replacement man-db ...
Preparing to replace turnkey-pylib 0.2+8+g86cd7ab (using .../turnkey-pylib_0.2+10+gcb57296_i386.deb) ...
Unpacking replacement turnkey-pylib ...
Preparing to replace confconsole 0.9.4+24+gcdf0c76 (using .../confconsole_0.9.4+25+gefb2943_all.deb) ...
Unpacking replacement confconsole ...
Preparing to replace di-live 0.9.3+6+gb7ffabd (using .../di-live_0.9.3+9+gf1c21ec_i386.deb) ...
Unpacking replacement di-live ...
Preparing to replace inithooks 0.9+5+g6dc798e (using .../inithooks_0.9+8+g1b40e56_all.deb) ...
Unpacking replacement inithooks ...
Preparing to replace tklbam 1.1 (using .../tklbam_1.1+3+g9f68770_all.deb) ...
Unpacking replacement tklbam ...
Preparing to replace webmin-apache 1.510-turnkey+5+gcda8ca2 (using .../webmin-apache_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-apache ...
Preparing to replace webmin-custom 1.510-turnkey+5+gcda8ca2 (using .../webmin-custom_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-custom ...
Preparing to replace webmin-file 1.510-turnkey+5+gcda8ca2 (using .../webmin-file_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-file ...
Preparing to replace webmin-firewall 1.510-turnkey+5+gcda8ca2 (using .../webmin-firewall_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-firewall ...
Preparing to replace webmin-mount 1.510-turnkey+5+gcda8ca2 (using .../webmin-mount_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-mount ...
Preparing to replace webmin-mysql 1.510-turnkey+5+gcda8ca2 (using .../webmin-mysql_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-mysql ...
Preparing to replace webmin-net 1.510-turnkey+5+gcda8ca2 (using .../webmin-net_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-net ...
Preparing to replace webmin-useradmin 1.510-turnkey+5+gcda8ca2 (using .../webmin-useradmin_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-useradmin ...
Preparing to replace webmin-passwd 1.510-turnkey+5+gcda8ca2 (using .../webmin-passwd_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-passwd ...
Preparing to replace webmin-phpini 1.510-turnkey+5+gcda8ca2 (using .../webmin-phpini_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-phpini ...
Preparing to replace webmin-postfix 1.510-turnkey+5+gcda8ca2 (using .../webmin-postfix_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-postfix ...
Preparing to replace webmin-shell 1.510-turnkey+5+gcda8ca2 (using .../webmin-shell_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-shell ...
Preparing to replace webmin-software 1.510-turnkey+5+gcda8ca2 (using .../webmin-software_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-software ...
Preparing to replace webmin-sshd 1.510-turnkey+5+gcda8ca2 (using .../webmin-sshd_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-sshd ...
Preparing to replace webmin-syslog 1.510-turnkey+5+gcda8ca2 (using .../webmin-syslog_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-syslog ...
Preparing to replace webmin-text-editor 1.510-turnkey+5+gcda8ca2 (using .../webmin-text-editor_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-text-editor ...
Preparing to replace webmin-theme-stressfree 1.510-turnkey+5+gcda8ca2 (using .../webmin-theme-stressfree_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-theme-stressfree ...
Preparing to replace webmin-updown 1.510-turnkey+5+gcda8ca2 (using .../webmin-updown_1.520-turnkey+4+ga5a493f_i386.deb) ...
Unpacking replacement webmin-updown ...
Setting up libc-dev-bin (2.11.1-0ubuntu7.6) ...
Setting up linux-libc-dev (2.6.32-27.49) ...
Setting up libc6-dev (2.11.1-0ubuntu7.6) ...
Setting up grub-common (1.98-1ubuntu9) ...
Installing new version of config file /etc/grub.d/10_linux ...

Setting up grub-pc (1.98-1ubuntu9) ...
No terminal, and no DISPLAY set, can't fork shell.
Installation finished. No error reported.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-26-generic
Found initrd image: /boot/initrd.img-2.6.32-26-generic
Found linux image: /boot/vmlinuz-2.6.32-25-generic
Found initrd image: /boot/initrd.img-2.6.32-25-generic
done

Setting up libmysqlclient16 (5.1.41-3ubuntu12.8) ...

Setting up mysql-client-core-5.1 (5.1.41-3ubuntu12.8) ...
Setting up mysql-client-5.1 (5.1.41-3ubuntu12.8) ...
Setting up mysql-server-core-5.1 (5.1.41-3ubuntu12.8) ...
Setting up mysql-server-5.1 (5.1.41-3ubuntu12.8) ...
Installing new version of config file /etc/init/mysql.conf ...
mysql start/running, process 5488

Setting up mysql-server (5.1.41-3ubuntu12.8) ...
Setting up mysql-client (5.1.41-3ubuntu12.8) ...
Setting up webmin (1.520-turnkey+4+ga5a493f) ...
update-rc.d: warning: /etc/init.d/webmin missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>

Setting up ifupdown (0.6.8ubuntu29.2) ...
start: Job is already running: network-interface-security

Setting up rsyslog (4.2.0-2ubuntu8.1) ...
Installing new version of config file /etc/init/rsyslog.conf ...
rsyslog start/running, process 6010

Setting up udev (151-12.3) ...
Terminated
Removing `local diversion of /sbin/udevadm to /sbin/udevadm.upgrade'
update-initramfs: deferring update (trigger activated)

Setting up libplymouth2 (0.8.2-2ubuntu2.1) ...

Setting up plymouth (0.8.2-2ubuntu2.1) ...
update-initramfs: deferring update (trigger activated)

Setting up libudev0 (151-12.3) ...

Setting up man-db (2.5.7-2ubuntu1) ...
Updating database of manual pages ...

Setting up turnkey-pylib (0.2+10+gcb57296) ...
Setting up confconsole (0.9.4+25+gefb2943) ...
Installing new version of config file /etc/init.d/confconsole ...
update-rc.d: warning: confconsole start runlevel arguments (2) do not match LSB Default-Start values (2 3 4 5)
update-rc.d: warning: confconsole stop runlevel arguments (none) do not match LSB Default-Stop values (0 1 6)

Setting up di-live (0.9.3+9+gf1c21ec) ...
Installing new version of config file /etc/init.d/di-live ...
update-rc.d: warning: di-live start runlevel arguments (S) do not match LSB Default-Start values (1)

Setting up inithooks (0.9+8+g1b40e56) ...
Installing new version of config file /etc/init.d/inithooks ...
update-rc.d: warning: inithooks start runlevel arguments (2) do not match LSB Default-Start values (2 3 4 5)
update-rc.d: warning: inithooks stop runlevel arguments (none) do not match LSB Default-Stop values (0 1 6)

Setting up tklbam (1.1+3+g9f68770) ...
Installing new version of config file /etc/tklbam/hooks.d/fixclock ...

Setting up webmin-apache (1.520-turnkey+4+ga5a493f) ...
Installed Apache Webserver in /usr/share/webmin/apache (2476 kb)

Setting up webmin-custom (1.520-turnkey+4+ga5a493f) ...
Installed Custom Commands in /usr/share/webmin/custom (1260 kb)

Setting up webmin-file (1.520-turnkey+4+ga5a493f) ...
Installed File Manager in /usr/share/webmin/file (3256 kb)

Setting up webmin-firewall (1.520-turnkey+4+ga5a493f) ...
Installed Linux Firewall in /usr/share/webmin/firewall (576 kb)

Setting up webmin-mount (1.520-turnkey+4+ga5a493f) ...
Installed Disk and Network Filesystems in /usr/share/webmin/mount (2012 kb)

Setting up webmin-mysql (1.520-turnkey+4+ga5a493f) ...
Installed MySQL Database Server in /usr/share/webmin/mysql (2188 kb)

Setting up webmin-net (1.520-turnkey+4+ga5a493f) ...
Installed Network Configuration in /usr/share/webmin/net (1072 kb)

Setting up webmin-useradmin (1.520-turnkey+4+ga5a493f) ...
Installed Users and Groups in /usr/share/webmin/useradmin (3072 kb)

Setting up webmin-passwd (1.520-turnkey+4+ga5a493f) ...
Installed Change Passwords in /usr/share/webmin/passwd (304 kb)

Setting up webmin-phpini (1.520-turnkey+4+ga5a493f) ...
Installed PHP Configuration in /usr/share/webmin/phpini (292 kb)

Setting up webmin-postfix (1.520-turnkey+4+ga5a493f) ...
Installed Postfix Mail Server in /usr/share/webmin/postfix (4352 kb)

Setting up webmin-shell (1.520-turnkey+4+ga5a493f) ...
Installed Command Shell in /usr/share/webmin/shell (232 kb)

Setting up webmin-software (1.520-turnkey+4+ga5a493f) ...
Installed Software Packages in /usr/share/webmin/software (1476 kb)

Setting up webmin-sshd (1.520-turnkey+4+ga5a493f) ...
Installed SSH Server in /usr/share/webmin/sshd (804 kb)

Setting up webmin-syslog (1.520-turnkey+4+ga5a493f) ...
Installed System Logs in /usr/share/webmin/syslog (488 kb)

Setting up webmin-text-editor (1.520-turnkey+4+ga5a493f) ...
Installed Text Editor in /usr/share/webmin/text-editor (60 kb)

Setting up webmin-theme-stressfree (1.520-turnkey+4+ga5a493f) ...
Installed StressFree theme in /usr/share/webmin/theme-stressfree (4732 kb)

Setting up webmin-updown (1.520-turnkey+4+ga5a493f) ...
Installed Upload and Download in /usr/share/webmin/updown (212 kb)

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-26-generic
.: 13: Can't open /scripts/casper-functions
.: 6: Can't open /scripts/casper-functions
.: 6: Can't open /scripts/casper-functions

Stack Trace
# strace start udev
execve("/sbin/start", ["start", "udev"], [/* 20 vars */]) = 0
brk(0)                                  = 0x20e30000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7765000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=14562, ...}) = 0
mmap2(NULL, 14562, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7761000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnih.so.1", O_RDONLY)      = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0PM\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=75080, ...}) = 0
mmap2(NULL, 78072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xcde000
mmap2(0xcf0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0xcf0000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnih-dbus.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`&\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=30024, ...}) = 0
mmap2(NULL, 32792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x12e000
mmap2(0x135000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0x135000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libdbus-1.so.3", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340Q\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=227000, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7760000
mmap2(NULL, 230212, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xe58000
mmap2(0xe8f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x36) = 0xe8f000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0pI\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=116824, ...}) = 0
mmap2(NULL, 94696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x59e000
mmap2(0x5b2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14) = 0x5b2000
mmap2(0x5b4000, 4584, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x5b4000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/librt.so.1", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\30\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=30684, ...}) = 0
mmap2(NULL, 33364, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x67e000
mmap2(0x685000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0x685000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 m\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1335560, ...}) = 0
mmap2(NULL, 1345896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x137000
mprotect(0x279000, 4096, PROT_NONE)     = 0
mmap2(0x27a000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x142) = 0x27a000
mmap2(0x27d000, 10600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x27d000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb775f000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb775e000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb775e6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0x27a000, 8192, PROT_READ)     = 0
mprotect(0x685000, 4096, PROT_READ)     = 0
mprotect(0x5b2000, 4096, PROT_READ)     = 0
mprotect(0xe8f000, 4096, PROT_READ)     = 0
mprotect(0x135000, 4096, PROT_READ)     = 0
mprotect(0xcf0000, 4096, PROT_READ)     = 0
mprotect(0x468000, 4096, PROT_READ)     = 0
mprotect(0xf15000, 4096, PROT_READ)     = 0
munmap(0xb7761000, 14562)               = 0
set_tid_address(0xb775e728)             = 2210
set_robust_list(0xb775e730, 0xc)        = 0
futex(0xbfefad10, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0xbfefad10, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, bfefad20) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x5a23b0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x5a2850, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="ns02", ...})  = 0
brk(0)                                  = 0x20e30000
brk(0x20e51000)                         = 0x20e51000
getuid32()                              = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path=@"/com/ubuntu/upstart"}, 22) = 0
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
geteuid32()                             = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
poll([{fd=3, events=POLLOUT}], 1, 0)    = 1 ([{fd=3, revents=POLLOUT}])
write(3, "\0", 1)                       = 1
write(3, "AUTH EXTERNAL 30\r\n", 18)    = 18
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
read(3, "OK f00101fabd39ea23d091cc714d275"..., 2048) = 37
poll([{fd=3, events=POLLOUT}], 1, -1)   = 1 ([{fd=3, revents=POLLOUT}])
write(3, "BEGIN\r\n", 7)                = 7
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"l\1\2\1\t\0\0\0\1\0\0\0_\0\0\0\1\1o\0\23\0\0\0/com/ubu"..., 112}, {"\4\0\0\0udev\0", 9}], 2) = 121
gettimeofday({1294429423, 414004}, NULL) = 0
poll([{fd=3, events=POLLIN}], 1, 25000) = 1 ([{fd=3, revents=POLLIN}])
read(3, "l\2\1\1\"\0\0\0\1\0\0\0\17\0\0\0\5\1u\0\1\0\0\0\10\1g\0\1o\0\0"..., 2048) = 66
read(3, 0x20e31958, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(3, [{"l\1\2\1\10\0\0\0\2\0\0\0i\0\0\0\1\1o\0\35\0\0\0/com/ubu"..., 128}, {"\0\0\0\0\1\0\0\0", 8}], 2) = 136
poll([{fd=3, events=POLLIN}], 1, -1
Hang occurred here ...

Had to reboot to get udev running again.

Information is free, knowledge is acquired, but wisdom is earned.

Jeremy's picture

Thanks John

Finding that Ubuntu Bug report was good. It confirms that its an Ubuntu issue rather than something specific to TKL.

I wonder if it's hardware specific?

Same issue with different ending

Same problem here with the wordpress Appliance, Just downloaded it and tested today, I did the workaround and tried to install udev again, hit ctrl+c and apt continued installing everything (not udev, the other packages to upgrade), then I did "apt-get install udev" and install went trough with an error complaining about a previous error (lol), but after that now systems says that udev is already the newest version. But now everytime I do apt-get update I get this error:

Setting up initramfs-tools (0.92ubuntu78)...

No apport report written because the error message indicates its a followup error from a previous failure

No apport report written because MaxReport is reached already

E: sub-process /usr/bin/dpkg returned an error code (1)

With Microsoft you get windows and gates, with Linux you get the whole house!!!

Jeremy's picture

Try this:

To repair the package management system use

dpkg --configure -a

when it hangs with udev follow the steps in this post. Actually here's a copy-paste to make it really easy:

Create a new SSH connection to your server. In the new session find the PID of the offending process:

ps aux|grep "restart udev"

which returns something similar to (PID 1928 in this instance):

root      1928  0.0  0.0   2260   868 pts/1    S+   05:25   0:00 restart udev

Then kill the process (substtute 1928 for the PID discovered above):

kill -15 1928

It still takes a long time to complete but it did for me. I then put a hold on udev so this problem doesn't happen again:

echo udev hold | dpkg --set-selections

Abkrim Mateos's picture

For also problem wiht KVM Proxmox

Confimr. LAtes Proxmox 1.7 on KVM VPS fails...

 

try apt-get install udev 

 

Reading package lists... Done
Building dependency tree       
Reading state information... Done
udev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
2 not fully installed or removed.
 
After this operation, 0B of additional disk space will be used.
[master 98a7ca5] saving uncommitted changes in /etc prior to apt run
 26 files changed, 446 insertions(+), 8 deletions(-)
 create mode 100644 default/grub.ucf-dist
 create mode 100644 samba/smb.conf.ucf-dist
 create mode 100644 udev/rules.d/70-persistent-net.rules
 create mode 100755 update-motd.d/00-header
 create mode 100755 update-motd.d/10-help-text
Setting up udev (151-12.3) ...
 
hung up

Yo solo se que no se nada...

http://islaserver.com/
http://tamainut.com/

i have the same problem on

i have the same problem on the prestashop appliance with udev, it hangs up when doing an apt-upgrade


Still exists on fresh wordpress appliance installation

Bug still present, workaround still works, tried it on the turnkey wordpress appliance with no customization, using Virtualbox

With Microsoft you get windows and gates, with Linux you get the whole house!!!

Jeremy's picture

I would've thought v11.2 would include latest udev!?

Which would mean no issue (until the next time udev is updated in the repos). Seems strange that the latest maintenance release doesn't include the latest udev.

That's exactly what I thought

That was one of the reasons I did a clean install, unfortunately bug is still there, I wonder if it's ubuntu or Turnkey package version issue?

With Microsoft you get windows and gates, with Linux you get the whole house!!!

Jeremy's picture

It's an upstream Ubuntu bug

But it appears that it only occurs in certain headless scenarios (which unfortunately covers the whole TKL range). At this late stage I doubt that it will ever be fixed.

I anticipated that udev would be at the latest version in the v11.2 release meaning that it wouldn't resurface until the next udev update. But that's obviously not the case.

Oh well, doesn't really make that much difference. Seeing as TKL automatically takes care of security updates, there's no need to apply updates anyway, unless you really want to.

Exclude udev

So what is the best command to exclude udev from the package manager? To avoid this issue altogether?

Is this one the best way to do it:

echo udev hold | dpkg --set-selections

I've had 50% luck with it.  It didn't appear to work on the last system I setup.

Jeremy's picture

Not sure

That's what I've used and its worked for me on all systems I've used it on. You can also do that sort of thing with aptitude (a more advanced commandline package management app than apt-get) but you'll need to install it first (apt-get update && apt-get install aptitude).

Andrei Ene's picture

I think it work's (i don't get the error anymore )

Hey Jer,

I think i got it...

if you use apt-get install aptitude

after the installation has finished

try aptitude install update

then aptitude install udev and it works...

 

Hope it helps !!!


Jeremy's picture

Perhaps the udev package has been fixed?

AFAIK using aptitude or apt-get shouldn't make any difference as they are both front-ends for dpkg. So although the front-end handling is a little different, the back-end processing should be identical.

So my guess is either that the udev package in Ubuntu has been fixed. Or if you are using the latest v11.3 TKL release, the version of udev included is the latest and doesn't need to be updated (hence no error).

Sorry to burst your bubble... But glad its working for you! :)

Although there is obviously a 3rd possibility, and that is that aptitude does indeed do something slightly differently with the dpkg commands it calls which makes a difference (but I'm not convinced).

Andrei Ene's picture

Hey... i was'nt using the

Hey... i was'nt using the last version...

I had the error.. i could'nt do the undev update... but i play'd around with it.. and after i installed aptitude it worked... any way... just want to let you know.. :)


Jeremy's picture

Thanks for posting

I don't mean to sound ungrateful, I just don't exactly understand why installing aptitude seems to work around this bug for you. The bug is actually with the udev package itself (nothing to do with apt-get) so I don't understand how installing an alternative package management app can have any bearing on it.

But I guess bottom line is that it works for you now which is great! Did you also put a hold on udev? So it doesn't happen again! If not I'd recommend that you do, although it's possible there won't be any new updates to udev now at this late stage (although you never know...)

And although apt-get upgrade should really work flawlessly, I find the best workaround is to just not do it! :) Security updates install automatically and it's a server, not a desktop so IMO there isn't really any need to upgrade the packages manually.

its works!

1º apt-get update && apt-get install aptitude

2º echo udev hold | dpkg --set-selections

3º apt-get upgrade

 

Its works with openerpappliance.iso

Jeremy's picture

Second part of step one not required

The 'apt-get install aptitude' bit (from step 1) installs a commandline app called aptitude and as is not required (assuming the rest works ok for you). The '&&' just means that the part after it will execute once the part before has completed successfully.

On the other hand if you wish to use aptitude to hold the package (instead of step 2) then you'll need to check google cause I don't use it.

When the udev update freezes

When the udev update freezes send a reboot command to the virtual machine. When the guest returns run "dpkg --configure -a" to finish updating.

Jeremy's picture

That can work

But I have had mixed result from that way of doing it. The above method is preferred (using a second ssh connection to kill the udev restart process) IMO.

Same Issue here

Have performed the work-around and it finished the upgrade for remaining packages and seems happy but not rebooted it yet.

Thanks for the work arounds

Ran into this problem while trying to put together a clean build that I could launch to amazon (cause the one I did launch had issues, such as webmin was inaccessible, couldn't access PHPMyAdmin, etc.).

ps aux | grep "restart udev" followed by a kill and a hold worked great

Better, was the advice by Jeremy that I didn't need to upgrade all those packages, just let tlk do the security upgrades

Is there no way to download

Is there no way to download and update udev manually so that it doesn't get automatically updated and kills the server?

This is ridiculous. This issue has been around for ages now, ubuntu can't fix it? BAH.

A server that isn't updated is a security issue, and not a small one.

Jeremy's picture

There should be no security risk in not upgrading

All the main components have security patches applied automatically (it's set up as a daily cron job OOTB). So doing a system wide upgrade is only applying the non-security updates. Therefore is generally not required.

Like it is described above, if you do still wish to do a full system upgrade, then just put a hold on udev. I haven't checked recently, but none of the previous udev updates have involved security issues.

Figured out how to get this to work without error!

I've tested this several times on multiple installs.

What I ended up doing was just after the install, be it using the image or iso.

1) connect with putty
2) stop all services that work with udev ( I also added a few more just to be safe)

  1. /etc/init.d/apache2 stop
  2. /etc/init.d/mysql stop
  3. /etc/init.d/webmin stop
  4. /etc/init.d/ntp stop
  5. /etc/init.d/udev stop

3) apt-get update
4) apt-get dist-upgrade

This will result with every needed update completeing without issue.

 

Note: you can also use ps -e to check to ensure services has been stopped before embarking on the upgrade.

 

-Jason

UDEV Freeze error

Testing TKL on Virualbox on Windows 7 Host before implementing on Amazon EC2 for Production.

Got stuck at UDEV Freeze error. Google redirected to this thread. Decided to test the suggested solutions provided on this thread.

Test success criteria - Must do a clean install on VM before approving for Production environment. Choice 1: Install aptitude - Didn't make much sense based on Ubuntu's explanation of diff between apt-get and aptitude.

Choice 2: Stop Services - More convincing (exactly what we do on IBM websphere servers, sorry off topic, ignore).

Applied Solution: To ensure clean install, we decided to apply both. Following are the steps

Create new VM

Log in to server (not Webmin, as we are going to stop this service)

apt-get install aptitude

apt-get install wajig (nothing to do with this thread. we need this for our work)

Stop all the services

  1. /etc/init.d/apache2 stop
  2. /etc/init.d/mysql stop
  3. /etc/init.d/webmin stop
  4. /etc/init.d/ntp stop
  5. /etc/init.d/udev stop

wajig update (same as apt-get update)
apt-get dist-upgrade

Two alerts during the upgrade:

new version of grub identified but local version has been modified.
Selected keep the local version
(assumption: TKL may have modified files for appropriate reasons. To maintain the integrity of TKL appliance, decided to keep local version)
Same alert for inithooks and same selection (keep local version)

Upgrade completed: No issues

Reboot 0

Interestingly, during the reboot, encountered Turnkey screens to reset root passwords (OS, MYSQl). In my experience these screens comes only during the first installation. (Not a biggie, just observation)

Login to server - Success

Login thru Webmin - Success

Test Success - 100%

My 2C:

We feel, dist-upgrade and stop services before upgrade are the solutions. (not just hyere but common practice on many IBM platforms). Thanks to Jason for reminding this.

From the man-page:
"upgrade is used to install the newest versions of all packages currently installed on the system
"dist-upgrade, in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages"

Ven

Failed Webmin update - apparent udev issue

Thank you thank you thank you to everyone who has provided solutions.  I stupidly did a webmin update and it borked my turnkey torrentserver.  I have tried many different procedures over the past week, but what ultimately worked was:

1.  logging in with putty from a windows machine

2.  following Jeremy's solution (Jeremy (aka JedMe... - Wed, 2010/12/29 - 07:47.), however (and interestingly) when I typed "ps aux|grep "restart udev"", I was getting some process that kept changing its PID, UNTIL I typed just "ps aux|grep "udev"" (hit return) and then "ps aux|grep "restart udev"".  Then the correct (unchanging) PID came up (along with the one that changed).  After that it was smooth sailing!

3.  killed the process, echo hold, and reboot.

I mention it in case anyone else runs into the same problem.  Also, I did all commands as sudo. just in case.  I did not have to do a clean install.  Now I just have to figure out how to get MLDonkey going again!

 

Thanks again!


TKL Update hangs at udev

I have been messing around with TKL, and found this problem out with four servers I was testing. After reading this thread I tried a few things and this is what I found to work for me

 

To prevent the hang up

stop the udev service then do your upgrade

#service udev stop

#apt-get update

#apt-get upgrade

 

To get out of the hang up

If you found your self looking at  "Setting up udev (xxx-xx.x) ..

I found that if you SSH into the box again, and stop the udev service You should see the upgrade start back up.

# service udev stop

 

 

Hope this help, worked for each of the four servers I rebuilt.

 

-Ken

 

 

 

 

 

 

Ken Robinson's picture

Worked perfect for me

This worked for me

#service udev stop

#apt-get update

#apt-get upgrade

Regards,

Ken  
":0)

What I do

Just in case you are setting up and haven't port forwarded SSH or are too lazy to open another terminal...

Update as normal "apt-get update; apt-get upgrade -y" and when it says "Setting up udev" send an alt-ctrl-del to reboot. Then "dpkg --configure -a" to complete the upgrade process. :)

Udev Hang

This thread just saved me a lot of time and headaches.  Thanks!

can't apt-get update, fails..

I had udev problems before, it freezes... but now i want to update again and i get the following:

 

root@vps525 /tmp# apt-get update
Err http://archive.turnkeylinux.org lucid-security Release.gpg
  Temporary failure resolving 'archive.turnkeylinux.org'
Err http://archive.turnkeylinux.org lucid Release.gpg
  Temporary failure resolving 'archive.turnkeylinux.org'
Err http://archive.ubuntu.com lucid-security Release.gpg
  Temporary failure resolving 'archive.ubuntu.com'
Err http://archive.ubuntu.com lucid Release.gpg
  Temporary failure resolving 'archive.ubuntu.com'
Err http://archive.ubuntu.com lucid-updates Release.gpg
  Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://archive.turnkeylinux.org/ubuntu/dists/lucid-security/Release.gpg  Temporary failure resolving 'archive.turnkeylinux.org'
 
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-security/Release.gpg  Temporary failure resolving 'archive.ubuntu.com'
 
W: Failed to fetch http://archive.turnkeylinux.org/ubuntu/dists/lucid/Release.gpg  Temporary failure resolving 'archive.turnkeylinux.org'
 
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/Release.gpg  Temporary failure resolving 'archive.ubuntu.com'
 
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/Release.gpg  Temporary failure resolving 'archive.ubuntu.com'
 
W: Some index files failed to download, they have been ignored, or old ones used instead.
root@vps525 /tmp#
 
 
I'm lost now... 
I did stop udev, but did not work....

Solved finaly after 6 hours

Solved finaly after 6 hours and it was realy simple ;) 

for others who had the same stupid error...

Add DNS servers!!

Jeremy's picture

Bit slow getting to you...

Obviously you've fixed it, but problems like that are almost always caused by networking issues (connectivity/proxy/firewall/DNS/etc).

No Solution on Turnkey (11.3-lucid-x86)

Hi gang,

I hope you are going well.  I also had this problem with the udev upgrade.  I did the

sudo service udev stop  

Command and ran the upgrade.  When I did that I ran fowl of a circular error between initramfs and casper packages.  I tried out the various receipes suggested in the article mentioned below, but the entanglement with the casper upgrade stopped all these options.

Luck we are on a virtual machine.  I wiped everything and started with a fresh copy of the redmine server vm.  At each step, I took a numbered back-up snapshot of the vm-image files.  By trial and back-stepping to the last working image, I got to a point were all the other upgrades worked except for the ones that depend on initframfs (9 in all, including casper & udev).  My plan is to again look at the suggestions here:

If you look at the blog, you need initframs problems repaired before a reboot.  That's true I had a few failed-to-boot trials.  So, I recommend using the (equivalent) virtualbox "save machine state" Quit option when making the back-up snapshots.  Then, test the re-boot ;-)  It will save hours.

I saw with sym-link problems with initframs in the console output, so my gut feel is that none of the nine packages that depend on initframs package actually upgraded successfully, including udev.  At least with the current ubuntu archive and this turnkey-redmine vm.

I'd love to hear if someone has a receipe to remove the initframs, clean apt and then install it afresh?

Good luck and let us (all) know if you do better than I've got so far.

 

/ will


Jeremy's picture

Easiest solution IMO...

The easiest solution I think is to just not run apt-get upgrade! Unless you have a specific reason to, there is no issue not running it as all security updates are auto installed every day. If there is a specific package you wish to update then just 'apt-get update && apt-get install <package-name>' and that package (and it's dependancies) will upgrade and nothing else.

Hopefully it won't be too long and we can all move on to TKL v12 and be done with this bug...

initramfs / casper deadly embrace ...

Hi all,

Just for fun (  ) I created a new redmine vm from the download and watched the very first "Security updates" console output.  The deadly embrace between casper and initramfs I documented above, is there at the begining in the output on-screen for the current security updates.  I observe,

there is no issue not running it as all security updates are auto installed every day

That this premise is false (at present) imho.  Quite a few things will not actually update.  I feel that the answer will be in the ubuntu forums.  For me, I'm going to skip the initial security update on a virgin machine and see if that lets me individually upgrade the casper and initramfs package or not.

It is kind of annoying so if one of you is a wizard perhaps you can let me know how to fix the problem manually?  I'm more fussed about the other things that also depend on initramfs myself.  Here I was thinking it was only udev failing.  No such luck, a lot of red shows on the aptitude preview screen.

Looking forward to comments and suggestions ...

  / Will


Jeremy's picture

Not sure about initramfs, but casper errors don't matter

Casper is only required for live systems (and AFAIK the install process) but once you have installed it can have as many errors as it likes without being a problem. I haven't had any initramfs problems. And if they are anything more than warnings you will know because your sysytem won't reboot (from my understanding initramfs is the RAM image that linux first boots into prior to mounting the full filesystem).

Daloradius VM falls foul of this

had to:

/etc/init.d/apache2 stop

/etc/init.d/mysql stop

/etc/init.d/webmin stop

/etc/init.d/ntp stop

/etc/init.d/udev stop

and then:

rm /etc/initramfs-tools/modules && apt-get update && apt-get upgrade

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)