SirWeazel
March 6th, 2013, 06:42 AM
In short, i messed up. I tried to update ubuntu 12.04 to the latest hardware enablement stack, but it fails to install the 3.5 kernel and now i have unmet dependencies. The problem is because i have ubuntu 12.04 installed on non pae hardware when i foolishly ran
sudo apt-get install linux-generic-lts-quantal xserver-xorg-lts-quantal
So now i get the following error when trying to install or update anything. Thanks for you help. I don't remember exactly how i installed ubuntu 12.04 on this non pae laptop, the only reason i tried updating is because i've had some minor hardware issue and i thought there might be some added support in the newer kernal. I've tried to apt-get remove the same code, but it keeps complaining of dependecy issues when trying to remove. Thanks again for any help.
chris@HPDV1000:~$ sudo apt-get upgrade
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:
linux-image-generic-lts-quantal : Depends: linux-image-3.5.0-25-generic but it is not installed
E: Unmet dependencies. Try using -f.
chris@HPDV1000:~$
chris@HPDV1000:~$ sudo apt-get -f install
[sudo] password for chris:
Sorry, try again.
[sudo] password for chris:
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:
linux-headers-3.2.0-24 linux-headers-3.2.0-24-generic
linux-headers-3.2.0-24-generic-pae
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
linux-image-3.5.0-25-generic
Suggested packages:
fdutils linux-lts-quantal-doc-3.5.0 linux-lts-quantal-source-3.5.0
linux-lts-quantal-tools
The following NEW packages will be installed:
linux-image-3.5.0-25-generic
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/40.1 MB of archives.
After this operation, 118 MB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 660337 files and directories currently installed.)
Unpacking linux-image-3.5.0-25-generic (from .../linux-image-3.5.0-25-generic_3.5.0-25.39~precise1_i386.deb) ...
This kernel does not support a non-PAE CPU.
dpkg: error processing /var/cache/apt/archives/linux-image-3.5.0-25-generic_3.5.0-25.39~precise1_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.5.0-25-generic /boot/vmlinuz-3.5.0-25-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.5.0-25-generic /boot/vmlinuz-3.5.0-25-generic
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.5.0-25-generic_3.5.0-25.39~precise1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
chris@HPDV1000:~$
sudo apt-get install linux-generic-lts-quantal xserver-xorg-lts-quantal
So now i get the following error when trying to install or update anything. Thanks for you help. I don't remember exactly how i installed ubuntu 12.04 on this non pae laptop, the only reason i tried updating is because i've had some minor hardware issue and i thought there might be some added support in the newer kernal. I've tried to apt-get remove the same code, but it keeps complaining of dependecy issues when trying to remove. Thanks again for any help.
chris@HPDV1000:~$ sudo apt-get upgrade
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:
linux-image-generic-lts-quantal : Depends: linux-image-3.5.0-25-generic but it is not installed
E: Unmet dependencies. Try using -f.
chris@HPDV1000:~$
chris@HPDV1000:~$ sudo apt-get -f install
[sudo] password for chris:
Sorry, try again.
[sudo] password for chris:
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:
linux-headers-3.2.0-24 linux-headers-3.2.0-24-generic
linux-headers-3.2.0-24-generic-pae
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
linux-image-3.5.0-25-generic
Suggested packages:
fdutils linux-lts-quantal-doc-3.5.0 linux-lts-quantal-source-3.5.0
linux-lts-quantal-tools
The following NEW packages will be installed:
linux-image-3.5.0-25-generic
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/40.1 MB of archives.
After this operation, 118 MB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 660337 files and directories currently installed.)
Unpacking linux-image-3.5.0-25-generic (from .../linux-image-3.5.0-25-generic_3.5.0-25.39~precise1_i386.deb) ...
This kernel does not support a non-PAE CPU.
dpkg: error processing /var/cache/apt/archives/linux-image-3.5.0-25-generic_3.5.0-25.39~precise1_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No apport report written because MaxReports is reached already
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.5.0-25-generic /boot/vmlinuz-3.5.0-25-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.5.0-25-generic /boot/vmlinuz-3.5.0-25-generic
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.5.0-25-generic_3.5.0-25.39~precise1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
chris@HPDV1000:~$