سلام دوستان
در اوبونتو بعد از انجام دستور upgrade به این ارور بر میخورم:
E: Sub-process /usr/bin/dpkg returned an error code
هیچ برنامه ای هم نمیتونم نصب کنم
خروجی هم اینطوریه:Setting up linux-image-3.16.0-46-generic (3.16.0-46.62~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-46-generic /boot/vmlinuz-3.16.0-46-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-46-generic /boot/vmlinuz-3.16.0-46-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-46-generic /boot/vmlinuz-3.16.0-46-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-46-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.16.0-46-generic /boot/vmlinuz-3.16.0-46-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.16.0-46-generic /boot/vmlinuz-3.16.0-46-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.16.0-46-generic /boot/vmlinuz-3.16.0-46-generic
/usr/sbin/grub-mkconfig: 11: /etc/default/grub: quiet: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-46-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-46-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.16.0-51-generic (3.16.0-51.69~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-51-generic /boot/vmlinuz-3.16.0-51-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-51-generic /boot/vmlinuz-3.16.0-51-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-51-generic /boot/vmlinuz-3.16.0-51-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-51-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.16.0-51-generic /boot/vmlinuz-3.16.0-51-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.16.0-51-generic /boot/vmlinuz-3.16.0-51-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.16.0-51-generic /boot/vmlinuz-3.16.0-51-generic
/usr/sbin/grub-mkconfig: 11: /etc/default/grub: quiet: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-51-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-51-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.16.0-53-generic (3.16.0-53.72~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-53-generic /boot/vmlinuz-3.16.0-53-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-53-generic /boot/vmlinuz-3.16.0-53-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-53-generic /boot/vmlinuz-3.16.0-53-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-53-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.16.0-53-generic /boot/vmlinuz-3.16.0-53-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.16.0-53-generic /boot/vmlinuz-3.16.0-53-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.16.0-53-generic /boot/vmlinuz-3.16.0-53-generic
/usr/sbin/grub-mkconfig: 11: /etc/default/grub: quiet: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-53-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-53-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up grub-pc (2.02~beta2-9ubuntu1.4) ...
/var/lib/dpkg/info/grub-pc.config: 11: /etc/default/grub: quiet: not found
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
dpkg: error processing package grub-pc (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-53-generic:
linux-image-extra-3.16.0-53-generic depends on linux-image-3.16.0-53-generic; however:
Package linux-image-3.16.0-53-generic is not configured yet.
dpkg: error processing package linux-image-extra-3.16.0-53-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic-lts-utopic:
linux-image-generic-lts-utopic depends on linux-image-3.16.0-53-generic; however:
Package linux-image-3.16.0-53-generic is not configured yet.
linux-image-generic-lts-utopic depends on linux-image-extra-3.16.0-53-generic; however:
Package linux-image-extra-3.16.0-53-generic is not configured yet.
dpkg: error processing package linux-image-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-lts-utopic:
linux-generic-lts-utopic depends on linux-image-generic-lts-utopic (= 3.16.0.53.44); however:
Package linux-image-generic-lts-utopic is not configured yet.
dpkg: error processing package linux-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-46-generic:
linux-image-extra-3.16.0-46-generic depends on linux-image-3.16.0-46-generic; however:
Package linux-image-3.16.0-46-generic is not configured yet.
dpkg: error processing package linux-image-extra-3.16.0-46-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-51-generic:
linux-image-extra-3.16.0-51-generic depends on linux-image-3.16.0-51-generic; however:
Package linux-image-3.16.0-51-generic is not configured yet.
dpkg: error processing package linux-image-extra-3.16.0-51-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-3.16.0-46-generic
linux-image-3.16.0-51-generic
linux-image-3.16.0-53-generic
grub-pc
linux-image-extra-3.16.0-53-generic
linux-image-generic-lts-utopic
linux-generic-lts-utopic
linux-image-extra-3.16.0-46-generic
linux-image-extra-3.16.0-51-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
با تموم این دستور ها هم حل نشد:
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get -f install
dpkg-reconfigure -a
sudo apt-get update --fix-missing
اینم خروجی دستور sudo apt-get -f install:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
9 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-3.16.0-46-generic (3.16.0-46.62~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-46-generic /boot/vmlinuz-3.16.0-46-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-46-generic /boot/vmlinuz-3.16.0-46-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-46-generic /boot/vmlinuz-3.16.0-46-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-46-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.16.0-46-generic /boot/vmlinuz-3.16.0-46-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.16.0-46-generic /boot/vmlinuz-3.16.0-46-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.16.0-46-generic /boot/vmlinuz-3.16.0-46-generic
/usr/sbin/grub-mkconfig: 11: /etc/default/grub: quiet: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-46-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-46-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.16.0-51-generic (3.16.0-51.69~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-51-generic /boot/vmlinuz-3.16.0-51-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-51-generic /boot/vmlinuz-3.16.0-51-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-51-generic /boot/vmlinuz-3.16.0-51-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-51-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.16.0-51-generic /boot/vmlinuz-3.16.0-51-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.16.0-51-generic /boot/vmlinuz-3.16.0-51-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.16.0-51-generic /boot/vmlinuz-3.16.0-51-generic
/usr/sbin/grub-mkconfig: 11: /etc/default/grub: quiet: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-51-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-51-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.16.0-53-generic (3.16.0-53.72~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-53-generic /boot/vmlinuz-3.16.0-53-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-53-generic /boot/vmlinuz-3.16.0-53-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-53-generic /boot/vmlinuz-3.16.0-53-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-53-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.16.0-53-generic /boot/vmlinuz-3.16.0-53-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.16.0-53-generic /boot/vmlinuz-3.16.0-53-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.16.0-53-generic /boot/vmlinuz-3.16.0-53-generic
/usr/sbin/grub-mkconfig: 11: /etc/default/grub: quiet: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-53-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-53-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up grub-pc (2.02~beta2-9ubuntu1.4) ...
/var/lib/dpkg/info/grub-pc.config: 11: /etc/default/grub: quiet: not found
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
dpkg: error processing package grub-pc (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-53-generic:
linux-image-extra-3.16.0-53-generic depends on linux-image-3.16.0-53-generic; however:
Package linux-image-3.16.0-53-generic is not configured yet.
dpkg: error processing package linux-image-extra-3.16.0-53-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic-lts-utopic:
linux-image-generic-lts-utopic depends on linux-image-3.16.0-53-generic; however:
Package linux-image-3.16.0-53-generic is not configured yet.
linux-image-generic-lts-utopic depends on linux-image-extra-3.16.0-53-generic; however:
Package linux-image-extra-3.16.0-53-generic is not configured yet.
dpkg: error processing package linux-image-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-lts-utopic:
linux-generic-lts-utopic depends on linux-image-generic-lts-utopic (= 3.16.0.53.44); however:
Package linux-image-generic-lts-utopic is not configured yet.
dpkg: error processing package linux-generic-lts-utopic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-46-generic:
linux-image-extra-3.16.0-46-generic depends on linux-image-3.16.0-46-generic; however:
Package linux-image-3.16.0-46-generic is not configured yet.
dpkg: error processing package linux-image-extra-3.16.0-46-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-51-generic:
linux-image-extra-3.16.0-51-generic depends on linux-image-3.16.0-51-generic; however:
Package linux-image-3.16.0-51-generic is not configured yet.
dpkg: error processing package linux-image-extra-3.16.0-51-generic (--configure):
dependency problems - leaving unconfigured
E: Sub-process /usr/bin/dpkg returned an error code (1)