انجمن‌های فارسی اوبونتو

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید

نویسنده موضوع: مشکل عجیب در apt  (دفعات بازدید: 1503 بار)

0 کاربر و 2 مهمان درحال مشاهده موضوع.

آفلاین محمدامین

  • Full Member
  • *
  • ارسال: 208
  • جنسیت : پسر
مشکل عجیب در apt
« : 22 اردیبهشت 1393، 04:01 ب‌ظ »
یک‌بار حدود یک هفته پیش(دقیق نمی‌دونم) برای اوبونتو ۱۴.۱۴ - ۶۴بیت، آپدیت اومد و من هم چون معمولا اعتماد دارم خیلی دقت نکردم و دکمه‌ی آپدیت رو زدم. وسط آپدیت هیچ مشکلی پیش نیومد یا حداقل به نظر من هیچ مشکلی پیش نیومد ولی چند تا پکیج مشکل دار شدن. apt بصورت معمولی کار خودش رو انجام می‌ده ولی بصورت عجیبی همیشه هروقت جیزی نصب یا حذف می‌کنم آخرش یه چیزایی رو داره کانفیگ می‌کنه.
از دستور sudo apt-get -f install استفاده کردم تا شاید درست بشه اما فرقی نکرد و من هم از خروجی چیزی سر در نیاوردم.
خروجی:
[sudo] password for amin:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.103ubuntu4.1) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-3.13.0-24-generic (3.13.0-24.47) ...
Running depmod.
depmod: ERROR: Module 'hci_vhci' has devname (vhci) but lacks major and minor information. Ignoring.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.13.0-24.46 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.13.0-24.46 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
cp: cannot stat ‘/lib/modprobe.d/*’: No such file or directory
E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-24-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.13.0-24-generic.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-24-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-24-generic:
 linux-image-extra-3.13.0-24-generic depends on linux-image-3.13.0-24-generic; however:
  Package linux-image-3.13.0-24-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.13.0-24-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Processing triggers for initramfs-tools (0.103ubuntu4.1) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
cp: cannot stat ‘/lib/modprobe.d/*’: No such file or directory
E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-24-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 linux-image-3.13.0-24-generic
 linux-image-extra-3.13.0-24-generic
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

آفلاین x

  • High Sr. Member
  • *
  • ارسال: 561
  • جنسیت : پسر
پاسخ : مشکل عجیب در apt
« پاسخ #1 : 23 اردیبهشت 1393، 01:55 ق‌ظ »
سلام
error processing package linux-image-3.13.0-24-generic
ارور این رو میگه
خطا بسته پردازش لینوکس  3.13.0.24
فکر کنم مشکل از کرنل باشه
این دستور ها رو امتحان کن
sudo apt-get install -f
sudo dpkg --configure -a


 
« آخرین ویرایش: 23 اردیبهشت 1393، 02:00 ق‌ظ توسط faramarz42 »

آفلاین محمدامین

  • Full Member
  • *
  • ارسال: 208
  • جنسیت : پسر
پاسخ : مشکل عجیب در apt
« پاسخ #2 : 23 اردیبهشت 1393، 10:47 ق‌ظ »
فرمان اولی رو که در پست قبلی گذاشته‌بودم.
خروجی sudo dpkg --configure -a :
[sudo] password for amin:
Setting up initramfs-tools (0.103ubuntu4.1) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-3.13.0-24-generic (3.13.0-24.47) ...
Running depmod.
depmod: ERROR: Module 'hci_vhci' has devname (vhci) but lacks major and minor information. Ignoring.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.13.0-24.46 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.13.0-24.46 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
cp: cannot stat ‘/lib/modprobe.d/*’: No such file or directory
E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-24-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.13.0-24-generic.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-24-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-24-generic:
 linux-image-extra-3.13.0-24-generic depends on linux-image-3.13.0-24-generic; however:
  Package linux-image-3.13.0-24-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.13.0-24-generic (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.103ubuntu4.1) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
cp: cannot stat ‘/lib/modprobe.d/*’: No such file or directory
E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-24-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 linux-image-3.13.0-24-generic
 linux-image-extra-3.13.0-24-generic
 initramfs-tools