I googled for some kind of solution to my problem and found this post from the ubuntu mail archive: [Bug 398214] Re: Karmic Koala stopps dead after /scripts/init-bottom
The solution there is the following:
1. Ensure you are connected to your router by DHCP.I am running kernel 2.6.28-rt3 from UbuntuStudio 9.04 but I do not think that will be a problem. For the remainder of this post replace 2.6.31-39 with 2.6.28-rt3 (in my case) or what ever kernel you are running (within reason ;-)
2. Start your machine and select the "recovery kernel linux 2.6.31-10" with the
"down" button. Press "e" on your keyboard.
3. Select the "kernel uuid=..." entry with the "down" button and type "e" again.
4. Change "ro single" to "rw init=/bin/bash". Press "Enter" and "b" on the
keyboard.
5. Wait until booting stops and press "Enter".
6. "root@(none):" is displayed. Type in the konsole:
dhclient eth0
7. After this operation the connection to the internet is activated and you can
type in the konsole:
apt-get dist-upgrade
8. Wait 10 min until upgrade is done.
9. Reboot your machine and select "kernel linux 2.6.31-9" in grub.
I did #1-7 but got this error message:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
As I was already in the root recovery shell there was no need for sudo so I did:
#dpkg --configure -a
I got various dependency problems but they were not the main showstoppers. However I got:
* Mounting securityfs on /sys/kernel/security
[357.593965] type=1505 audit(12xxxxxx32.173:2): operation="profile_replace" info="failed to unpack profile" name="/usr/sbin/mysqld" pid=2180
/sbin/apparmor_parser: unable to replace "/usr/sbin/mysqld" profile doesn't conform to protocol
[357.xxxxxx] type=1505 audit(12xxxxxx32.604:3): operation="profile_load" name="/sbin/dhclient_script" name2="default" pid=2181
[357.xxxxxx] type=1505 audit(12xxxxxx32.605:4): operation="profile_replace" info="failed to unpack profile" name="/sbin/dhclient3" pid=2181
[... several other lines both kernel and dpkg lines ...]
Recursive error fixed. Need to reboot.
Here i had to do
I did #1-5 after the reboot and then
#dpkg --configure -a
Still dependency problems but dpkg finishes this time.
Did #6 and got this response:
You might want to run 'apt-get -f install' to correct these
The following packages have unmet dependencies:
libgnomekbdei4: Depends: libgomekbd4 but it is not installed
libice-dev: Depends: libice6 (=2:1.0.5-1) but 2:1.0.4-1 is installed
ubuntu-minimal: Depends: rsyslog but it is not installed
xserver-xorg: Depends: console-setup (>= 1.29) or
console-setup-mini (>= 1.29) but it is not installed
#apt-get -f install
which finishes apparently without problems
#apt-get dist-upgrade
[ ... several lines from apt-get listing packages ... ]
1241 upgraded, 320 newly installed, 18 to remove and 3 not upgraded
1 not fully installed or removed
Need to get 0B/1938 MB of archives
After this operation 859 MB of additional disk space will be used
Do you want to continue [Y/n]?
Well normally I would answer yes here BUT - from a recent df I remembered I had only about 350 MB available disk space. From part I you might remember that I resized the / partition (/dev/sda1) and did an install of Ubuntu-Studio 9.04 on the freed 3 GB from this rezise. Now it seems it is time to delete this install and re-resize the sda1 partition to its former size to continue with the fix.
I will return with part III when this is done ...
1 comment:
[url=http://ivlkrwnnz.com]eAdaHLR[/url] - yJXysateTnwFqkWk , http://yuxeflk.com
Post a Comment