PDA

View Full Version : [ubuntu] 10.04 to 11.10 upgrade: broken udev & perl-base



nerohj
November 8th, 2011, 06:22 PM
Hi All,

I've recently upgrade my server from Ubuntu 10.04 to 11.10 and although most of the upgrade went fine, there was one point where I was getting udev errors and the upgrade process aborted. I couldn't finish the upgrade, and after doing some searches I found some suggestions to delete the udev files in /var/lib/dpkg/info/udev.* after doing that I continued the upgrade and had no more errors.

Anyway, I thought everything was fine, but then noticed bugzilla errors. Some pages would come up blank, and there would be no information in the apache error log. Running checksetup.pl would segfault halfway through, and checking dmesg I found these errors:



[ 146.781304] checksetup.pl[3122]: segfault at 12 ip 00007f90f6748d0b sp 00007fff15650020 error 4 in libperl.so.5.12.4[7f90f668d000+16c000]
[ 228.441732] checksetup.pl[3123]: segfault at 12 ip 00007f880ef8dd0b sp 00007fff729a7400 error 4 in libperl.so.5.12.4[7f880eed2000+16c000]
[ 460.955530] checksetup.pl[3125]: segfault at 12 ip 00007f39d0d2fd0b sp 00007fffb688be70 error 4 in libperl.so.5.12.4[7f39d0c74000+16c000]
[ 472.886153] checksetup.pl[3126]: segfault at 12 ip 00007fe3ab195d0b sp 00007fffe3f7d190 error 4 in libperl.so.5.12.4[7fe3ab0da000+16c000]
[ 3452.939135] checksetup.pl[10850]: segfault at 12 ip 00007f7435ac2d0b sp 00007fff682a3670 error 4 in libperl.so.5.12.4[7f7435a07000+16c000]
[ 3506.658653] buglist.cgi[10852] general protection ip:7ff8a79f1d0b sp:7fff5b27fc20 error:0 in libperl.so.5.12.4[7ff8a7936000+16c000]
[ 3767.324429] editusers.cgi[10855] general protection ip:7f2e10de8d0b sp:7fff65d8a8f0 error:0 in libperl.so.5.12.4[7f2e10d2d000+16c000]


I also noticed these apparent udev related dmesg errors:


[ 5.989045] init: udev-fallback-graphics main process (2355) terminated with status 1
[ 6.008584] init: setvtrgb main process (2361) terminated with status 22
[ 6.055559] init: plymouth main process (339) killed by SEGV signal
[ 6.056283] init: plymouth-splash main process (2359) terminated with status 2
[ 6.187458] init: plymouth-log main process (2372) terminated with status 1
[ 6.676195] init: failsafe main process (2373) killed by TERM signal
[ 6.781130] init: plymouth-upstart-bridge main process (2421) terminated with status 1


After toying around with the various apt and dpkg configuration/fix commands I could find, I ended up downloading and re-installing the udev, perl-base and libperl packages.

Now, I don't any any apt or dpkg errors at all. My udev files are back in /var/lib/dpkg/info/udev.* and dpkg seems to think everything is fine but I'm still getting these errors, and bugzilla is still segfaulting on libperl.

I tried to reconfigure all my packages with


# dpkg-reconfigure --all


And I go through some basic stuff like console settings, and then it seems to abort with this output:


Couldn't get a file descriptor referring to the console
/bin/setupcon: 447: cannot open /dev/tty2: No such device
/bin/setupcon: 447: cannot open /dev/tty3: No such device
/bin/setupcon: 447: cannot open /dev/tty4: No such device
/bin/setupcon: 447: cannot open /dev/tty5: No such device
/bin/setupcon: 447: cannot open /dev/tty6: No such device
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service cron stop

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) utility, e.g. stop cron
dpkg-maintscript-helper: error: couldn't identify the package
#



Not sure if those /dev/tty errors are relevant or not, but I figured I'd add it as well.


Does anyone have any advice on how I can fix these underlying issues with my system? I'd really like to avoid re-installing as this is an actively used development server.

Thanks in advance for any help!
-Nick