[Çözüldü] sudo aptitude safe-upgrade

Başlatan ecoxx, 12 Temmuz 2010 - 23:36:27

« önceki - sonraki »

0 Üyeler ve 2 Ziyaretçi konuyu incelemekte.

ecoxx

yukaridaki komutu yazdigimda assagidaki hatayi aliyorum..sanirim cekirdek ile ilgili bir durum var..

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information     
Initializing package states... Done
The following partially installed packages will be configured:
  linux-headers-2.6.32-23-generic linux-headers-generic
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up linux-headers-2.6.32-23-generic (2.6.32-23.37) ...
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error processing linux-headers-2.6.32-23-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-2.6.32-23-generic; however:
  Package linux-headers-2.6.32-23-generic is not configured yet.
dpkg: error processing linux-headers-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
linux-headers-2.6.32-23-generic
linux-headers-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up linux-headers-2.6.32-23-generic (2.6.32-23.37) ...
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error processing linux-headers-2.6.32-23-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-2.6.32-23-generic; however:
  Package linux-headers-2.6.32-23-generic is not configured yet.
dpkg: error processing linux-headers-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-2.6.32-23-generic
linux-headers-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initializing package states... Done


hakperest

sudo dpkg --configure -a

komutunu yazmanız önerilmiş http://ubuntuforums.org/showthread.php?p=9579475 burada. Ama sanırım yine çözüm olmamış, deneyebilirsiniz.

Bir başka konuda sırayla http://ubuntuforums.org/showthread.php?t=835282;

sudo apt-get -f

sudo dpkg --remove

komutlarını yazmanız önerilmiş.

Burada da http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg2358688.html bug bildirimi var.

Burada http://www.linuxquestions.org/questions/debian-26/sub-process-usr-bin-dpkg-returned-an-error-code-1-a-171107/ bir çözüm var gibi.

Alıntı YapI had a similar problem and what i found that worked for me was going into /var/lib/dpkg/info and deleting everything that had that name and you may also have to go into /var/cache/apt/archives and do the same thing. I'm fairly new to linux so if this breaks anything i am sorry. i haven't run into any problems yet that this has caused.

Konu hakkında bilgisi olan bir arkadaşın teyidini bekleyebilirsiniz bu işlemi yapmak için.

Küçük bir anketimiz var, katılımınız için şimdiden teşekkür ederiz. Anketimize http://h2b.co/anket adresinden ulaşabilirsiniz.

http://mustafaalkan.kimdir.com

eribol

Sorun çıkaran paketi kaldırmayı deneyin önce. Eğer sorun pakette ise ona bakılır, yok eğer sorun safe-upgrade komutunda ise ona bakılır. Ancak ikinci durumda iş biraz sorunlu olur.

ecoxx

onerileriniz icin tesekkur ederim...

linux-headers-2.6.32-23-generic
linux-headers-generic

yukaridaki paketleri kaldirip tekrar kurunca sorun duzeldi...