LINUX.ORG.RU

Обрыв установки


0

1

При обновлении слетело соединение. Теперь обновиться не могу.

В терминале имею такой выхлоп:

piyavking@piyavking-desktop:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  linux-image-3.11.0-12-generic x11-common xserver-xorg
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
10 not fully installed or removed.

Как я нагуглил, эта проблема требует чистки файла /var/lib/dpkg/status. Кто владеет предметом, проинструктируйте, пожалуйста.

а потом заново
sudo apt-get update и sudo apt-get upgrade

gingerino ()
Ответ на: комментарий от gingerino
piyavking@piyavking-desktop:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  linux-image-3.11.0-12-generic
Suggested packages:
  fdutils linux-doc-3.11.0 linux-source-3.11.0 linux-tools
The following NEW packages will be installed:
  linux-image-3.11.0-12-generic
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
8 not fully installed or removed.
Need to get 0 B/13.6 MB of archives.
After this operation, 30.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
debconf: DbDriver "config": mkdir :No such file or directory
(Reading database ... 172037 files and directories currently installed.)
Unpacking linux-image-3.11.0-12-generic (from .../linux-image-3.11.0-12-generic_3.11.0-12.19_i386.deb) ...
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
debconf: DbDriver "config": mkdir :No such file or directory
dpkg: error processing /var/cache/apt/archives/linux-image-3.11.0-12-generic_3.11.0-12.19_i386.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.11.0-12-generic...
P: Writing config for Microsoft Windows XP Professional on /dev/sdb3...
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-3.11.0-12-generic_3.11.0-12.19_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
piyavking@piyavking-desktop:~$ 
piyavking ★★★ ()
Ответ на: комментарий от piyavking

dpkg: error processing /var/cache/apt/archives/linux-image-3.11.0-12-generic_3.11.0-12.19_i386.deb (--unpack):



ошибка распаковки... проверь еще доступное место df -h
удали старые неиспользуемые ядра

gingerino ()
Ответ на: комментарий от gingerino

места вроде хватает:

/dev/sdb1       9.5G  5.6G  3.5G  62% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
udev            489M   12K  489M   1% /dev
tmpfs           101M  696K  100M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            501M   68K  501M   1% /run/shm
none            100M   20K  100M   1% /run/user
/dev/sdb5       105G   89G   11G  90% /home
/dev/sdb6       105G   95G  4.8G  96% /share
/dev/sda1       9.1G  2.5G  6.2G  29% /backup
tmpfs           2.0M  4.0K  2.0M   1% /tmp/mem
piyavking@piyavking-desktop:~$ 

Ядро только одно - последнее.

piyavking ★★★ ()
Ответ на: комментарий от MikeDM

сейчас попробую. но чую, что придётся переставляться. пишу уже из-под запасной ХР.

piyavking ★★★ ()
Ответ на: комментарий от Valkeru

эти вещи годны, да, но у меня беда была не с каким-нибудь openoffice, а с самым, что ни на есть linux-image, так ша пришлось-таки переставляться.

piyavking ★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.