Forum Home
Press F1
 
Thread ID: 116408 2011-03-02 22:15:00 Leeenux v4 - grub configuration failure causes boot failure Agent_24 (57) Press F1
Post ID Timestamp Content User
1183071 2011-03-02 22:15:00 I have Leeenux v4.01 installed on my Asus Eee PC. It works great but if one tries to update the kernel or grub, problems happen.

From day one, grub-pc has had problems configuring itself whenever software is upgraded\installed etc.


Setting up rsyslog (4.2.0-2ubuntu8.1) ...
dpkg: error processing rsyslog (--configure):
subprocess installed post-installation script returned error exit status 10
Setting up grub-pc (1.98-1ubuntu9) ...
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 10



Errors were encountered while processing:
rsyslog
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)


On the first installation I managed to render the OS unbootable so I reinstalled and made sure not to do anything that has a critital dependence upon the configuration of grub-pc succeeding.

How can I find what is causing this problem and fix it? I want to be able to upgrade everything without problems like this....
Agent_24 (57)
1183072 2011-03-03 01:25:00 Does it have aptitude?

aptitude install -f

or

dpkg --configure -a
fred_fish (15241)
1183073 2011-03-03 02:13:00 Thanks... With the first option I get this:


agent24@INTEL630:~$ sudo aptitude install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
The following partially installed packages will be configured:
rsyslog
0 packages upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up rsyslog (4.2.0-2ubuntu8.1) ...
dpkg: error processing rsyslog (--configure):
subprocess installed post-installation script returned error exit status 10
Setting up grub-pc (1.98-1ubuntu9) ...
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
rsyslog
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up grub-pc (1.98-1ubuntu9) ...
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 10
Setting up rsyslog (4.2.0-2ubuntu8.1) ...
dpkg: error processing rsyslog (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
grub-pc
rsyslog
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

And much the same wth the second:


agent24@INTEL630:~$ sudo dpkg --configure -a
Setting up grub-pc (1.98-1ubuntu9) ...
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 10
Setting up rsyslog (4.2.0-2ubuntu8.1) ...
dpkg: error processing rsyslog (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
grub-pc
rsyslog
Agent_24 (57)
1183074 2011-03-03 02:42:00 Have you tried purging them?
It may still complain if they are 'partially configured' but may work.
Then reinstall.

You are using the correct repo's for the distro?
You shouldn't normally get errors like this.

Haven't added any 3rd party or vanilla ubuntu ones?
I don't know anything about Leeenux so no idea what your sources.list should be.

Is grub-legacy available in the repo?
fred_fish (15241)
1183075 2011-03-06 20:18:00 I'm a bit wary of doing anything major with it in case I trash the whole thing again.

repos are default AFAIK, so shouldn't be a problem, but IIRC the grub-pc problem always existed. Don't know if it's a bug or something the Leeenux devs stuffed up themselves.
Agent_24 (57)
1183076 2011-03-06 20:44:00 Seems you are not alone.
forum.eeeuser.com
Something that the post-installation script is expecting to be there seems to have been removed.
You could inspect said script to figure out what, and try to work around it.
fred_fish (15241)
1