LINUX.ORG.RU

Проблемы с dpkg

 ,


0

1

Всем привет, я явно накосячил, что то по-удалял в системе, и теперь что бы я не делал с пакетами у меня постоянно вылетают ошибки по поводу dpkg, то такие:

Sub-process /usr/bin/dpkg returned an error code (1)

и даже такие

dpkg: warning: files list file for package 'x' missing; assuming package has no files currently installed

И дело в том что их просто тьма. Я читал что некоторые проблемы связаны с «зависшими» пакетами и что нужно просто в /var/lib/dpkg/info удалить те пакеты что зависли. НО У МЕНЯ ВСЕ нахрен пакеты зависшие получаются)) Что бы я новое не ставил/переустанавлив мне постоянно приходится идти по данному «пути» в dpkg и удалять эти пакеты по 40 раз, пока не встанет программа без ошибок.

Сейчас ситуация с «wine», решил его переустановить. Вначале удалил, стёр его полностью вроде, и теперь когда пытаюсь установить он ругается. Ок, не беда, пошел в /var/lib/dpkg/info удалил все связанное с wine, пытаюсь снова поставить и вылетает куча ошибок по типу

dpkg: warning: files list file for package 'installation-report' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedtea-6-jre-cacao:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'iptables' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedtea-netx-common' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedove' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'aspell' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'imagemagick' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwine-bin:i386' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwine-gl:i386' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'indicator-applet-complete' missing; assuming package has no files currently installed

Кто может пожалуйста помочь криворукому починить всё ? Статьи с левых «гавн*» форумов с умными советами больше нету желания читать. :(



Последнее исправление: cetjs2 (всего исправлений: 1)
Ответ на: комментарий от ziemin
root@kxc-pc:~# 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.

А что данная команда должна была сделать ?

kxc21
() автор топика
Ответ на: комментарий от ziemin

О, «aptitude» нашел «wine», ну и вот как раз эта куча ошибок)

root@kxc-pc:~# aptitude -f install
The following NEW packages will be installed:
  wine 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/54.0 kB of archives. After unpacking 81.9 kB 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
Selecting previously unselected package wine.
dpkg: warning: files list file for package 'icedtea-6-plugin:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'isc-dhcp-client' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'installation-report' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedtea-6-jre-cacao:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'iptables' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedtea-netx-common' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedove' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'aspell' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'imagemagick' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwine-bin:i386' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwine-gl:i386' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'indicator-applet-complete' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'indicator-messages' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'indicator-application' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'iputils-ping' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'info' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'indicator-status-provider-mc5' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'iso-codes' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'insserv' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'aspell-doc' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'ispell' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'iamerican' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'ienglish-common' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'initscripts' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'aspell-ru' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'intltool-debian' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'iproute' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwine-alsa:i386' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedtea-7-jre-cacao:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'imagemagick-common' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'indicator-session' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedtea-6-jre-jamvm:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icoutils' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'aspell-en' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'ifupdown' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libaspell15' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedtea-netx:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'wine-bin' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'irussian' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'nvidia-installer-cleanup' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'install-info' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'iw' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwine' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwine-gecko-1.4' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'isc-dhcp-common' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'man-db' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'initramfs-tools' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedtea-7-jre-jamvm:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'ia32-libs-i386' missing; assuming package has no files currently installed
(Reading database ... 159185 files and directories currently installed.)
Unpacking wine (from .../wine_1.4.1-4_amd64.deb) ...
Setting up wine (1.4.1-4) ...
                                         
root@kxc-pc:~# 
  
kxc21
() автор топика
Ответ на: комментарий от kxc21

И вот щас появились в приложениях значки wine, Wine Uninstall, Wine Configuration, но они оба не работают, и оповещение говорит failed to launch.

kxc21
() автор топика
Ответ на: комментарий от ziemin

Запустился aptitude, но wine он не работает, тыкай не тыкай не ощущение что только значки его установились.

kxc21
() автор топика
Ответ на: комментарий от ziemin

Кого переустановить ? У меня открылся в терминале интерфейс с пакетами, и из wine там есть только его библиотеки.

kxc21
() автор топика
Ответ на: комментарий от ziemin
# deb cdrom:[Debian GNU/Linux 7.2.0 _Wheezy_ - Official amd64 DVD Binary-1 20131012-14:05]/ wheezy contrib ma$
# deb cdrom:[Debian GNU/Linux 7.2.0 Update DVD 20131012: amd64 DVD 1]/ wheezy contrib main non-free
# deb cdrom:[Debian GNU/Linux 7.2.0 _Wheezy_ - Official amd64 DVD Binary-1 20131012-14:05]/ wheezy contrib ma$

# deb cdrom:[Debian GNU/Linux 7.2.0 _Wheezy_ - Official amd64 DVD Binary-2 20131012-14:05]/ wheezy contrib ma$

# deb cdrom:[Debian GNU/Linux 7.2.0 _Wheezy_ - Official amd64 DVD Binary-3 20131012-14:05]/ wheezy contrib ma$


deb http://ftp.debian.org/debian/ wheezy contrib main non-free
deb http://ftp.debian.org/debian wheezy-backports main

# Line commented out by installer because it failed to verify:
# deb http://security.debian.org/ wheezy/updates main contrib non-free
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/ wheezy/updates main contrib non-free

# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free

kxc21
() автор топика
Ответ на: комментарий от ziemin
root@kxc-pc:/home/kxc# aptitude install wine
The following NEW packages will be installed:
  wine 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/54.0 kB of archives. After unpacking 81.9 kB will be used.
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
Selecting previously unselected package wine.
dpkg: warning: files list file for package 'icedtea-6-plugin:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'isc-dhcp-client' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'installation-report' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedtea-6-jre-cacao:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'iptables' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedtea-netx-common' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedove' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'aspell' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'imagemagick' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwine-bin:i386' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwine-gl:i386' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'indicator-applet-complete' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'indicator-messages' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'indicator-application' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'iputils-ping' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'info' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'indicator-status-provider-mc5' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'iso-codes' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'insserv' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'aspell-doc' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'ispell' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'iamerican' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'ienglish-common' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'initscripts' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'aspell-ru' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'intltool-debian' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'iproute' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwine-alsa:i386' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedtea-7-jre-cacao:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'imagemagick-common' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'indicator-session' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedtea-6-jre-jamvm:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icoutils' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'aspell-en' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'ifupdown' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libaspell15' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedtea-netx:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'wine-bin' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'irussian' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'nvidia-installer-cleanup' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'install-info' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'iw' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwine' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwine-gecko-1.4' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'isc-dhcp-common' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'man-db' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'initramfs-tools' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'icedtea-7-jre-jamvm:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'ia32-libs-i386' missing; assuming package has no files currently installed
(Reading database ... 159185 files and directories currently installed.)
Unpacking wine (from .../wine_1.4.1-4_amd64.deb) ...
Setting up wine (1.4.1-4) ...
                                         
root@kxc-pc:/home/kxc# 

kxc21
() автор топика
Ответ на: комментарий от kxc21
aptitude reinstall icedtea-6-plugin:amd64 isc-dhcp-client installation-report icedtea-6-jre-cacao:amd64 iptables icedtea-netx-common icedove aspell imagemagick libwine-bin:i386 libwine-gl:i386 indicator-applet-complete indicator-messages indicator-application iputils-ping info indicator-status-provider-mc5 iso-codes insserv aspell-doc ispell iamerican ienglish-common initscripts aspell-ru intltool-debian iproute libwine-alsa:i386 icedtea-7-jre-cacao:amd64 imagemagick-common indicator-session icedtea-6-jre-jamvm:amd64 icoutils aspell-en ifupdown libaspell15 icedtea-netx:amd64 wine-bin irussian nvidia-installer-cleanup install-info iw libwine libwine-gecko-1.4 isc-dhcp-common man-db initramfs-tools icedtea-7-jre-jamvm:amd64 ia32-libs-i386
ziemin ★★
()
Ответ на: комментарий от ziemin

Сделал, в перемешку с кучей ошибок что то происходило :)) Скинуть происходящее в терминале после данной команды ? Там очень много чего.

kxc21
() автор топика
Ответ на: комментарий от ziemin
root@kxc-pc:/home/kxc# aptitude install wine
The following partially installed packages will be configured:
  aspell aspell-en aspell-ru iamerican ienglish-common irussian isc-dhcp-client ispell man-db 
  nvidia-installer-cleanup 
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
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.
U
dpkg: error processing ienglish-common (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of iamerican:
 iamerican depends on ienglish-common (= 3.3.02-6); however:
  Package ienglish-common is not configured yet.
 iamerican depends on ispell; however:
  Package ispell is not configured yet.

dpkg: error processing iamerican (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of irussian:
 irussian depends on ispell; however:
  Package ispell is not configured yet.

dpkg: error processing irussian (--configure):
 dependency problems - leaving unconfigured
Sett $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 aspell (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up isc-dhcp-client (4.2.2.dfsg.1-5+deb70u6) ...
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 isc-dhcp-client (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of irussian:
 irussian depends on ispell; however:
  Package ispell is not configured yet.
.........................

dpkg: error processing iamerican (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 man-db
 nvidia-installer-cleanup
 ispell
 aspell
 isc-dhcp-client
 irussian
 aspell-en
 aspell-ru
 ienglish-common
 iamerican
                       
kxc21
() автор топика
Ответ на: комментарий от darkenshvein

В смысле сам wine ? Ну как раньше, до того как работал. Через приложения в Gnome, кликом по иконке :)

kxc21
() автор топика
Ответ на: комментарий от ziemin

Ошибку выкинуло:

root@kxc-pc:/home/kxc# aptitude reinstall aspell aspell-en aspell-ru iamerican ienglish-common irussian isc-dhcp-client ispell man-db nvidia-installer-cleanup
The following packages will be REINSTALLED:
  aspell aspell-en aspell-ru iamerican ienglish-common irussian isc-dhcp-client ispell man-db 
  nvidia-installer-cleanup 
0 packages upgraded, 0 newly installed, 10 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
E: Internal Error, No file name for isc-dhcp-client:amd64
                                         
root@kxc-pc:/home/kxc# 

kxc21
() автор топика
Ответ на: комментарий от ziemin

Если без него, то так же само начинает ругаться на man-db, если убрать man-db, начинает ругаться на aspell и.т.д (

kxc21
() автор топика
Ответ на: комментарий от ziemin

Вот такое выдало:

root@kxc-pc:/home/kxc# aptitude reinstall wine
The following packages will be REINSTALLED:
  wine 
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/54.0 kB of archives. After unpacking 0 B will be used.
dpkg: warning: files list file for package 'wine-bin' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwine' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'ia32-libs-i386' missing; assuming package has no files currently installed
(Reading database ... 161512 files and directories currently installed.)
Preparing to replace wine 1.4.1-4 (using .../wine_1.4.1-4_amd64.deb) ...
Unpacking replacement wine ...
Setting up wine (1.4.1-4) ...
                                         
root@kxc-pc:/home/kxc# 

Ну уже вроде без тех бешеных ошибок :)

kxc21
() автор топика
Ответ на: комментарий от ziemin

Вооооооо...... !!!!! Работает всё, и вроде бы нету этих ошибок по поводу dpkg :)) Спасибо вам огромное за помощь, вы реально крут)

kxc21
() автор топика

Сейчас ситуация с «wine», решил его переустановить. Вначале удалил, стёр его полностью вроде

Ты его руками удалял что ли?

anonymous
()

Судя по ошибкам в /usr/share/perl5/Debconf/DbDriver/File.pm у Вас ещё база debconf полетела. Как будет свободных несколько часов (и порядочно места в /var/cache/apt/archives), попробуйте сделать aptitude reinstall ~i. Предварительно убедитесь в наличии директории /var/cache/debconf и файлов в ней.

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