LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-24-2010, 10:15 AM   #1
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Rep: Reputation: 24
grub-pc will not configure


If I use any Synaptic function or apt-get install I receive the following message;

Quote:
E: grub-pc: subprocess installed post-installation script returned error exit status 10
I have tried to reinstall but still have the error. Is there a solution? I'm running;

Home built
MSI K9N6PGM 2V mainboard
AMD Phenom Black Triple core
2 gig RAM
Ubuntu 10.04
 
Old 11-24-2010, 10:34 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Are there more error messages than this one? If so then please post them.
 
Old 11-24-2010, 12:12 PM   #3
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by TobiSGD View Post
Are there more error messages than this one? If so then please post them.
The very first time I saw this, yes, there were. They were samba and winbind errors of the same config nature. Since I am not using any samba for my machines I uninstalled them.

This all began when my Dual Core AMD crashed and I installed the new MOBO combo with a 320 gig hdd to replace the 80 and two 40s.
 
Old 11-25-2010, 08:31 AM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
post the output of

Code:
sudo dpkg --configure -a
 
Old 11-25-2010, 09:12 AM   #5
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Original Poster
Rep: Reputation: 24
Quote:
th1bill@home:~$ sudo dpkg --configure -a
[sudo] password for th1bill:
Setting up grub-pc (1.98-1ubuntu8) ...
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
grub-pc
th1bill@home:~$
I hope this tells you something, I have found no answers on the web.
 
Old 11-25-2010, 09:53 AM   #6
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
How about:
Code:
sudo apt-get -f install
 
Old 11-25-2010, 10:45 AM   #7
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Original Poster
Rep: Reputation: 24
Quote:
th1bill@home:~$ sudo apt-get -f install
[sudo] password for th1bill:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up grub-pc (1.98-1ubuntu8) ...
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
th1bill@home:~$
Looks like no change.
 
Old 11-25-2010, 10:57 AM   #8
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
How about:

Code:
sudo apt-get purge grub-pc
then reinstall
 
Old 11-25-2010, 11:19 AM   #9
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Original Poster
Rep: Reputation: 24
It doesn't look good.

Quote:
s no files currently installed.

dpkg: warning: files list file for package `x11-xkb-utils' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `wireless-crda' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-twisted-bin' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-gtkspell' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `pulseaudio-module-x11' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xfonts-mathml' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `shared-mime-info' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-gnome2' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `pitivi' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `sane-utils' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `tcpd' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-pkg-resources' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-input-vmmouse' missing, assuming package has no files currently installed.
(Reading database ... 168508 files and directories currently installed.)
Unpacking grub-pc (from .../grub-pc_1.98-1ubuntu8_i386.deb) ...
Processing triggers for man-db ...
Setting up grub-pc (1.98-1ubuntu8) ...
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
th1bill@home:~$
 
Old 11-25-2010, 11:30 AM   #10
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
can you install other packages now?

Code:
sudo apt-get update && sudo apt-get upgrade
 
Old 11-25-2010, 11:31 AM   #11
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Original Poster
Rep: Reputation: 24
Looking on the web with google I found apt-get -f install followed by apt-get upgrade. the results are here;
Quote:
dpkg: warning: files list file for package `python-cups' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `yelp' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xdg-utils' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-r128' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-glade2' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `smartdimmer' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `x11-common' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `x11-apps' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `rtkit' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-cirrus' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-ark' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `update-notifier' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-speechd' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ubuntu-sounds' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-serial' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ubuntu-wallpapers' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `uuid-runtime' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `x11-utils' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-louis' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ttf-wqy-microhei' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xfonts-100dpi' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `radeontool' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ttf-unfonts-core' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xfonts-scalable' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-smbc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `splix' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ttf-punjabi-fonts' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-tdfx' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `tcpdump' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `sed' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-sisusb' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xfonts-base' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xinit' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ttf-freefont' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `usbutils' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-pyorbit' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ubuntu-artwork' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ttf-kacst-one' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-rendition' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `telepathy-haze' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-cairo' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ppp' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `tasksel-data' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `rsync' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `system-tools-backends' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-appindicator' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-vesa' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-input-synaptics' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-pycurl' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-gmenu' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `pcmciautils' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ttf-lao' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `psfontmgr' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `pppconfig' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `tasksel' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ttf-indic-fonts-core' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `policykit-1-gnome' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python2.6' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-all' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-support' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-newt' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-lazr.uri' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `os-prober' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-xkit' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-gnomecanvas' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `zlib1g' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-gdbm' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ttf-liberation' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-protobuf' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-pexpect' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ttf-takao-pgothic' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-input-evdev' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-fbdev' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-savage' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `x11-session-utils' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-radeon' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xterm' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-input-wacom' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-apport' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-vmware' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-openchrome' missing, assuming package has no files currently installed.
(Reading database ... 5%
dpkg: warning: files list file for package `whiptail' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-indicate' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `pulseaudio-module-gconf' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `pxljr' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `telepathy-gabble' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-launchpad-integration' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ubuntu-standard' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `pciutils' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-brlapi' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `sgml-base' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `policykit-desktop-privileges' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `telepathy-mission-control-5' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `sysv-rc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-egenix-mxdatetime' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `perl-base' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xorg' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-gnupginterface' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ttf-thai-tlwg' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-egenix-mxtools' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `vim-common' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-s3virge' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ssl-cert' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xdg-user-dirs-gtk' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `update-inetd' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-twisted-web' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-voodoo' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-fstab' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `sensible-utils' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `seahorse' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-apm' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `perl-modules' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ucf' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `psmisc' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-gnomeapplet' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `wamerican' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `tcl8.4' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-zope.interface' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `whois' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-ibus' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-minimal' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `wpasupplicant' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `procps' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `tk8.4' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `screensaver-default-images' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-wnck' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-sis' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-dbus' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xcursor-themes' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-video-v4l' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `pulseaudio-utils' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xscreensaver-data' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `telnet' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `x11-xkb-utils' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `wireless-crda' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-twisted-bin' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-gtkspell' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `pulseaudio-module-x11' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xfonts-mathml' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `shared-mime-info' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-gnome2' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `pitivi' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `sane-utils' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `tcpd' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-pkg-resources' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `xserver-xorg-input-vmmouse' missing, assuming package has no files currently installed.
(Reading database ... 168731 files and directories currently installed.)
Preparing to replace gwibber 2.30.2-0ubuntu3 (using .../gwibber_2.30.3-0ubuntu1_all.deb) ...
Unpacking replacement gwibber ...
Preparing to replace gwibber-service 2.30.2-0ubuntu3 (using .../gwibber-service_2.30.3-0ubuntu1_all.deb) ...
Unpacking replacement gwibber-service ...
Preparing to replace linux-libc-dev 2.6.32-25.45 (using .../linux-libc-dev_2.6.32-26.47_i386.deb) ...
Unpacking replacement linux-libc-dev ...
Preparing to replace ttf-thai-tlwg 1:0.4.13-4 (using .../ttf-thai-tlwg_1%3a0.4.13-4ubuntu0.1_all.deb) ...
Unpacking replacement ttf-thai-tlwg ...
Preparing to replace indicator-sound 0.2.5-0ubuntu1 (using .../indicator-sound_0.2.6-0ubuntu1_i386.deb) ...
Unpacking replacement indicator-sound ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Processing triggers for fontconfig ...
Setting up grub-pc (1.98-1ubuntu8) ...
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 10
Setting up gwibber-service (2.30.3-0ubuntu1) ...

Setting up linux-libc-dev (2.6.32-26.47) ...
Setting up ttf-thai-tlwg (1:0.4.13-4ubuntu0.1) ...

Configuration file `/etc/fonts/conf.avail/89-ttf-thai-tlwg-synthetic.conf'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** 89-ttf-thai-tlwg-synthetic.conf (Y/I/N/O/D/Z) [default=N] ? I
Installing new version of config file /etc/fonts/conf.avail/89-ttf-thai-tlwg-synthetic.conf ...
Setting up indicator-sound (0.2.6-0ubuntu1) ...

Processing triggers for python-central ...
Setting up gwibber (2.30.3-0ubuntu1) ...

Processing triggers for python-central ...
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
th1bill@home:~$ apt-get -f install grub-pc
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
th1bill@home:~$ sudo apt-get -f install grub-pc
Reading package lists... Done
Building dependency tree
Reading state information... Done
grub-pc is already the newest version.
grub-pc set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up grub-pc (1.98-1ubuntu8) ...
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
th1bill@home:~$
 
Old 11-25-2010, 11:54 AM   #12
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Something must be wrong with your dpkg status file.
What does
Code:
sudo apt-get check
output?
 
Old 11-25-2010, 12:16 PM   #13
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Original Poster
Rep: Reputation: 24
Quote:
th1bill@home:~$ sudo apt-get check
[sudo] password for th1bill:
Reading package lists... Done
Building dependency tree
Reading state information... Done
th1bill@home:~$ sudo apt-get -f install grub-pc
Reading package lists... Done
Building dependency tree
Reading state information... Done
grub-pc is already the newest version.
grub-pc set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up grub-pc (1.98-1ubuntu8) ...
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
th1bill@home:~$
It looks the same.
I'm going to disappear in just a bit... Going to the kids house for dinner.
 
Old 11-26-2010, 08:53 AM   #14
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Original Poster
Rep: Reputation: 24
I just tried the command below and it looks to me like I might need to sudo su and then gedit /usr/sbin//grub-probe to change /dev/sdX to sda, any help or thoughts?

Quote:
th1bill@home:~$ sudo dpkg-reconfigure grub-pc
/usr/sbin/dpkg-reconfigure: grub-pc is broken or not fully installed
th1bill@home:~$ sudo grub-install --recheck /dev/sdX
/usr/sbin/grub-probe: error: cannot stat `/dev/sdX'.
Invalid device `/dev/sdX'.
Try `/usr/sbin/grub-setup --help' for more information.
th1bill@home:~$
 
Old 11-26-2010, 11:04 AM   #15
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
You could try to reinstall from a liveCD

https://help.ubuntu.com/community/Gr...0from%20LiveCD
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i configure grub lampamp Linux - General 12 04-04-2010 09:14 PM
Configure GRUB don_wombat_73 Linux - Newbie 6 08-01-2008 07:57 AM
Cannot Configure Grub HonorableFool21 Linux - Software 8 06-25-2007 05:43 PM
Grub configure? harzfled Linux - Newbie 6 03-03-2005 08:21 AM
grub configure achal Linux - Newbie 16 02-24-2005 11:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration