LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


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

Rep: Reputation: 0
Problem installing Linux-image 2.6.38-2


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 x64

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.

Any suggestion...
Thanks....
 
Old 03-31-2011, 12:28 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Looks like a bad download, run apt-get clean then try again.
 
Old 03-31-2011, 02:29 PM   #3
colotd
LQ Newbie
 
Registered: Jan 2009
Location: Banja Luka Bosnia and Herzegovina
Distribution: unstable
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for replay,
But situation is unchanged. The same errors appears again.
 
Old 03-31-2011, 05:56 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
E: /usr/share/syslinux/debian/extlinux: No such file or directory
This is a non existing file, according to the package lists :
http://packages.debian.org/sid/syslinux
http://packages.debian.org/sid/syslinux-common
http://packages.debian.org/sid/extlinux
Please look for[list of files]

So unless it is a file generated at install / setup, it isn't there.
 
Old 03-31-2011, 06:46 PM   #5
colotd
LQ Newbie
 
Registered: Jan 2009
Location: Banja Luka Bosnia and Herzegovina
Distribution: unstable
Posts: 10

Original Poster
Rep: Reputation: 0
This file isn`t there. What is problem? Bad package of kernel or something else? Thill now my debian sid work excellent. Now usb printer isn`t work. All other seems to work fine.
Linux Sid
Kernel 2.6.38-1 amd64
Intel Q9450
4GB RAM
NVIDIA QuadroFX 3700
3x72 GB WDRaptor

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?
 
  


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
Problem Installing fedora11 (iso image) through guest OS machine..... prashni0 Linux - Virtualization and Cloud 1 12-16-2009 10:58 AM
Installing Acronis True Image - SnapAPI problem PlymWS SUSE / openSUSE 1 03-26-2008 02:09 AM
problem in installing boot image in kubuntu micro_xii Linux - Newbie 2 04-06-2007 03:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:34 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