با درود
من امروز سیستم رو از ۱۲.۰۴ به ۱۲.۱۰ بروز کردم
اما بعد از بروز رسانی نمیتونم هیچ برنامه ای رو نصب کنم و مشکلم هم با دستور sudo apt-get install -f حل نشد
شرح خطا
sudo apt-get install alacarte
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-image-3.2.0-23-generic
The following NEW packages will be installed:
alacarte
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/94.1 kB of archives.
After this operation, 147 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 254217 files and directories currently installed.)
Removing linux-image-3.2.0-23-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-23-generic /boot/vmlinuz-3.2.0-23-generic
update-initramfs: Deleting /boot/initrd.img-3.2.0-23-generic
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.2.0-23-generic /boot/vmlinuz-3.2.0-23-generic
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.5.0-17-generic...
P: Writing config for /boot/vmlinuz-3.4.4...
P: Writing config for Windows 7 (loader) on /dev/sda1...
P: Writing config for Windows Recovery Environment (loader) on /dev/sda12...
P: Writing config for Windows 7 (loader) on /dev/sda2...
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-23-generic /boot/vmlinuz-3.2.0-23-generic
Generating grub.cfg ...
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.2.0-23-generic.postrm line 328.
dpkg: error processing linux-image-3.2.0-23-generic (--remove):
subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
linux-image-3.2.0-23-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
hubuntu@TB:~$ sudo apt-get purge lin
lintian linux-headers-3.5.0-17 linux-image-generic
linux-firmware linux-headers-3.5.0-17-generic linux-libc-dev
linux-generic linux-headers-generic linux-sound-base
linux-headers-3.4.4-030404 linux-image-3.5.0-17-generic
linux-headers-3.4.4-030404-generic linux-image-extra-3.5.0-17-generic
hubuntu@TB:~$ sudo apt-get purge linux-image-3.2.0-23-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-image-3.2.0-23-generic
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 149 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 254217 files and directories currently installed.)
Removing linux-image-3.2.0-23-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-23-generic /boot/vmlinuz-3.2.0-23-generic
update-initramfs: Deleting /boot/initrd.img-3.2.0-23-generic
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.2.0-23-generic /boot/vmlinuz-3.2.0-23-generic
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.5.0-17-generic...
P: Writing config for /boot/vmlinuz-3.4.4...
P: Writing config for Windows 7 (loader) on /dev/sda1...
P: Writing config for Windows Recovery Environment (loader) on /dev/sda12...
P: Writing config for Windows 7 (loader) on /dev/sda2...
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-23-generic /boot/vmlinuz-3.2.0-23-generic
Generating grub.cfg ...
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.2.0-23-generic.postrm line 328.
dpkg: error processing linux-image-3.2.0-23-generic (--remove):
subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
linux-image-3.2.0-23-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
در ضمن من در گرابم هسته ۳.۵ رو ندارم و هنوز از هسته قدیمی اوبونتو استغاد میکنم و با اجرای دستور sudo update-grub هم هسته جدید به لیست گراب اضافه نمیشه
ممنون میشم راهنمایی کنید