LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 04-02-2011, 08:00 AM   #1
colotd
LQ Newbie
 
Registered: Jan 2009
Location: Banja Luka Bosnia and Herzegovina
Distribution: unstable
Posts: 10

Rep: Reputation: 0
Half installing linux-image 2.6.38-2_amd64.deb


Hi everybody,
I try ti install linux-image 2.6.38-2 via aptitude and i got this in the terminal:
Preconfiguring packages ...
(Reading database ... 357945 files and directories currently installed.)
Preparing to replace linux-image-2.6.38-2-amd64 2.6.38-2 (using .../linux-image-2.6.38-2-amd64_2.6.38-2_amd64.deb) ...
Unpacking replacement linux-image-2.6.38-2-amd64 ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.38-2-amd64 /boot/vmlinuz-2.6.38-2-amd64
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 2.6.38-2-amd64 /boot/vmlinuz-2.6.38-2-amd64
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-2.6.38-2-amd64...
P: Writing config for /boot/vmlinuz-2.6.38-1-amd64...
P: Updating /boot/extlinux/linux.cfg...
No volume groups found
E: /usr/share/syslinux/debian/extlinux: No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.38-2-amd64.postrm line 235.
dpkg: warning: subprocess old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.38-2-amd64 /boot/vmlinuz-2.6.38-2-amd64
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 2.6.38-2-amd64 /boot/vmlinuz-2.6.38-2-amd64
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-2.6.38-2-amd64...
P: Writing config for /boot/vmlinuz-2.6.38-1-amd64...
No volume groups found
E: /usr/share/syslinux/debian/extlinux: No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 235.
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.38-2-amd64_2.6.38-2_amd64.deb (--unpack):
subprocess new post-removal script returned error exit status 1
configured to not write apport reports
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.38-2-amd64 /boot/vmlinuz-2.6.38-2-amd64
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 2.6.38-2-amd64 /boot/vmlinuz-2.6.38-2-amd64
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-2.6.38-1-amd64...
P: Updating /boot/extlinux/linux.cfg...
No volume groups found
E: /usr/share/syslinux/debian/extlinux: No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 235.
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 1
Preparing to replace gmsh 2.5.0.dfsg-3 (using .../gmsh_2.5.0.dfsg-5_amd64.deb) ...
Unpacking replacement gmsh ...
Preparing to replace libpdfbox-java 1:0.7.3+dfsg-4 (using .../libpdfbox-java_1%3a1.5.0+dfsg-1_amd64.deb) ...
Unpacking replacement libpdfbox-java ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for menu ...
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-2.6.38-2-amd64_2.6.38-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up gmsh (2.5.0.dfsg-5) ...
Setting up libpdfbox-java (1:1.5.0+dfsg-1) ...
Processing triggers for menu ...
Press return to continue.

Linux Sid
Kernel 2.6.38-1 amd64
Intel Q9450
4GB RAM
NVIDIA QuadroFX 3700
3x72 GB WDRaptor

After this my comp work still fine with old linux-image 2.6.38-1 but it is unable to uninstall new one half installed.

When i try to uninstall linux-image-2.6.38-2amd64 thats appear:
dragan:/home/dragan# apt-get remove linux-image-2.6.38-2-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-image-2.6.38-2-amd64
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 105 MB disk space will be freed.
Do you want to continue [Y/n]? y
dpkg: error processing linux-image-2.6.38-2-amd64 (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
configured to not write apport reports
Errors were encountered while processing:
linux-image-2.6.38-2-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

I steel have no idea what is the solution of this problem. Why I can`t remove half installed kernel package?
Any suggestion...
Thanks....
 
Old 04-02-2011, 10:12 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,627

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
Quote:
P: Writing config for /boot/vmlinuz-2.6.38-1-amd64...
P: Updating /boot/extlinux/linux.cfg...
No volume groups found
E: /usr/share/syslinux/debian/extlinux: No such file or directory
chase that bit. Run your script as root. Read /boot/extlinux/linux.cfg. It's not finding your discs.
 
Old 04-02-2011, 10:56 AM   #3
colotd
LQ Newbie
 
Registered: Jan 2009
Location: Banja Luka Bosnia and Herzegovina
Distribution: unstable
Posts: 10

Original Poster
Rep: Reputation: 0
# /boot/extlinux/linux.cfg
##
## IMPORTANT WARNING
##
## The configuration of this file is generated automatically.
## Do not edit this file manually, use: extlinux-update



label l0
menu label Debian GNU/Linux, kernel 2.6.38-1-amd64
kernel /boot/vmlinuz-2.6.38-1-amd64
append initrd=/boot/initrd.img-2.6.38-1-amd64 root=UUID=1af7f57f-f91c-4e83-a03c-a412dbb877c7 ro quiet

label l0r
menu label Debian GNU/Linux, kernel 2.6.38-1-amd64 (recovery mode)
kernel /boot/vmlinuz-2.6.38-1-amd64
append initrd=/boot/initrd.img-2.6.38-1-amd64 root=UUID=1af7f57f-f91c-4e83-a03c-a412dbb877c7 ro single
text help
This option boots the system into recovery mode (single-user)
endtext
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Help with the following; Installing themes, Installing Mp3 support, .deb packages Kittie Rose Linux - General 2 11-26-2006 02:27 PM
how do I install half windows98 half linux? xandar Linux - General 3 09-07-2005 04:23 AM
kernel-image-2.6.12-686.deb harlemno1 Debian 1 07-05-2005 04:24 AM
Is "kernel-image-x_i386.deb or i586.deb the right image for P4 processor? davidas Debian 1 04-06-2004 04:50 AM


All times are GMT -5. The time now is 01:13 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration