Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.