BrokenLines
December 9th, 2012, 09:21 PM
Okay, so I'm not sure if I should post this here or what.. I'm not terrible at the command line, basically everything I've done I've used it for. But for some reason I keep getting an error when I try and install Build Essentials, only reason I have a desire for it is because I need it to *make install* one of the applications. Here's what shows every attempt I've done.
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
build-essential : Depends: g++ (>= 4:4.4.3) but it is not going to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
grub-pc : Depends: grub2-common (= 1.99-21ubuntu3.5) but 1.99-21ubuntu3.6 is to be installed
Depends: grub-pc-bin (= 1.99-21ubuntu3.5) but 1.99-21ubuntu3.6 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Then I try apt-get -f install and still here's what shows...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
gimp-help-en libbabl-0.0-0 libgegl-0.0-0 linux-headers-3.2.0-26
gimp-help-common linux-headers-3.2.0-26-generic-pae libgimp2.0
redeclipse-data libenet1a gimp-data
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
grub-pc
The following packages will be upgraded:
grub-pc
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
5 not fully installed or removed.
Need to get 0 B/140 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up linux-image-3.2.0-34-generic-pae (3.2.0-34.53) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-34-generic-pae /boot/vmlinuz-3.2.0-34-generic-pae
update-initramfs: Generating /boot/initrd.img-3.2.0-34-generic-pae
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-34-generic-pae /boot/vmlinuz-3.2.0-34-generic-pae
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-34-generic-pae /boot/vmlinuz-3.2.0-34-generic-pae
run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.2.0-34-generic-pae /boot/vmlinuz-3.2.0-34-generic-pae
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.2.0-35-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-34-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-29-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-27-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-26-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-23-generic-pae...
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-34-generic-pae /boot/vmlinuz-3.2.0-34-generic-pae
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-35-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-35-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-34-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-34-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-29-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-29-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-27-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-27-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-26-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-26-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-23-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-23-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Ubuntu 12.10 (12.10) on /dev/sda7
Found Ubuntu 12.04.1 LTS (12.04) on /dev/sda8
/etc/grub.d/40_custom: 1: /etc/grub.d/40_custom: menuentry: not found
/etc/grub.d/40_custom: 2: /etc/grub.d/40_custom: Syntax error: "(" unexpected
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-34-generic-pae.postinst line 1010.
dpkg: error processing linux-image-3.2.0-34-generic-pae (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.2.0-35-generic-pae (3.2.0-35.55) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-35-generic-pae /boot/vmlinuz-3.2.0-35-generic-pae
update-initramfs: Generating /boot/initrd.img-3.2.0-35-generic-pae
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-35-generic-pae /boot/vmlinuz-3.2.0-35-generic-pae
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-35-generic-pae /boot/vmlinuz-3.2.0-35-generic-pae
run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.2.0-35-generic-pae /boot/vmlinuz-3.2.0-35-generic-pae
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.2.0-35-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-34-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-29-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-27-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-26-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-23-generic-pae...
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-35-generic-pae /boot/vmlinuz-3.2.0-35-generic-pae
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-35-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-35-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-34-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-34-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-29-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-29-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-27-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-27-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-26-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-26-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-23-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-23-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Ubuntu 12.10 (12.10) on /dev/sda7
Found Ubuntu 12.04.1 LTS (12.04) on /dev/sda8
/etc/grub.d/40_custom: 1: /etc/grub.d/40_custom: menuentry: not found
/etc/grub.d/40_custom: 2: /etc/grub.d/40_custom: Syntax error: "(" unexpected
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-35-generic-pae.postinst line 1010.
dpkg: error processing linux-image-3.2.0-35-generic-pae (--configure):
subprocess installed post-installation script returned error exit status 2
E: Sub-process /usr/bin/dpkg returned an error code (1)
Yeah it was a lot and I had my hopes up, but it failed and now I'm lost.. Because I tried to install build essentials again and got the same as before. I tried running 'sudo apt-get update' but it didn't help at all. Anyone have advise?
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
build-essential : Depends: g++ (>= 4:4.4.3) but it is not going to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
grub-pc : Depends: grub2-common (= 1.99-21ubuntu3.5) but 1.99-21ubuntu3.6 is to be installed
Depends: grub-pc-bin (= 1.99-21ubuntu3.5) but 1.99-21ubuntu3.6 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Then I try apt-get -f install and still here's what shows...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
gimp-help-en libbabl-0.0-0 libgegl-0.0-0 linux-headers-3.2.0-26
gimp-help-common linux-headers-3.2.0-26-generic-pae libgimp2.0
redeclipse-data libenet1a gimp-data
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
grub-pc
The following packages will be upgraded:
grub-pc
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
5 not fully installed or removed.
Need to get 0 B/140 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up linux-image-3.2.0-34-generic-pae (3.2.0-34.53) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-34-generic-pae /boot/vmlinuz-3.2.0-34-generic-pae
update-initramfs: Generating /boot/initrd.img-3.2.0-34-generic-pae
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-34-generic-pae /boot/vmlinuz-3.2.0-34-generic-pae
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-34-generic-pae /boot/vmlinuz-3.2.0-34-generic-pae
run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.2.0-34-generic-pae /boot/vmlinuz-3.2.0-34-generic-pae
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.2.0-35-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-34-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-29-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-27-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-26-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-23-generic-pae...
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-34-generic-pae /boot/vmlinuz-3.2.0-34-generic-pae
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-35-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-35-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-34-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-34-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-29-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-29-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-27-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-27-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-26-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-26-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-23-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-23-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Ubuntu 12.10 (12.10) on /dev/sda7
Found Ubuntu 12.04.1 LTS (12.04) on /dev/sda8
/etc/grub.d/40_custom: 1: /etc/grub.d/40_custom: menuentry: not found
/etc/grub.d/40_custom: 2: /etc/grub.d/40_custom: Syntax error: "(" unexpected
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-34-generic-pae.postinst line 1010.
dpkg: error processing linux-image-3.2.0-34-generic-pae (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.2.0-35-generic-pae (3.2.0-35.55) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-35-generic-pae /boot/vmlinuz-3.2.0-35-generic-pae
update-initramfs: Generating /boot/initrd.img-3.2.0-35-generic-pae
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-35-generic-pae /boot/vmlinuz-3.2.0-35-generic-pae
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-35-generic-pae /boot/vmlinuz-3.2.0-35-generic-pae
run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.2.0-35-generic-pae /boot/vmlinuz-3.2.0-35-generic-pae
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.2.0-35-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-34-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-29-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-27-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-26-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-23-generic-pae...
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-35-generic-pae /boot/vmlinuz-3.2.0-35-generic-pae
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-35-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-35-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-34-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-34-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-29-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-29-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-27-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-27-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-26-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-26-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-23-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-23-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Ubuntu 12.10 (12.10) on /dev/sda7
Found Ubuntu 12.04.1 LTS (12.04) on /dev/sda8
/etc/grub.d/40_custom: 1: /etc/grub.d/40_custom: menuentry: not found
/etc/grub.d/40_custom: 2: /etc/grub.d/40_custom: Syntax error: "(" unexpected
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-35-generic-pae.postinst line 1010.
dpkg: error processing linux-image-3.2.0-35-generic-pae (--configure):
subprocess installed post-installation script returned error exit status 2
E: Sub-process /usr/bin/dpkg returned an error code (1)
Yeah it was a lot and I had my hopes up, but it failed and now I'm lost.. Because I tried to install build essentials again and got the same as before. I tried running 'sudo apt-get update' but it didn't help at all. Anyone have advise?