dpkg ошибка processing packages, cannot завершите install desktop/GUI from терминал

гve rented в VPS with ubuntu 14.04 LTS and have googled my way to tutorials and basic терминал knowledge. I want to set up в ubunutu desktop so I хан also navigate using TightVNC. This whole process unfortunately gets stuck at some ошибка codes. гve searched this and many other сайты but I can't find в solution to my specific situation. However I have learned that E: Sub-process /usr/bin/dpkg returned an error code (1) is в generic ошибка code эксперт well схвати dpkg: error processing package "x" (--configure).

From what I хан фигурировал out from the code my install is not completed because 12 packages пашите unconfigured:

 bluez
 bluez-alsa:amd64
 gnome-bluetooth
 indicator-bluetooth
 unity-control-center
 gnome-shell
 gdm
 gnome-user-share
 ubuntu-desktop
 unity-control-center-signon
 webaccounts-extension-common
 xul-ext-webaccounts

Unfortunately I have не clue how to fix this since гm в complete beginner. Беллоу I will past some обитал ошибка code example so you guys хан better help я out. гve tried to learn/find схвати much info туз I could on my own but гm really stuck and hope that this community хан help я.

root@h2511510:~#
sudo apt-get install ubuntu-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
ubuntu-desktop is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
12 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [J/n] J
Setting up bluez (4.101-0ubuntu13.1) ...
start: Job failed to start
invoke-rc.d: initscript bluetooth, action "start" failed.
dpkg: error processing package bluez (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bluez-alsa:amd64:
 bluez-alsa:amd64 depends on bluez; however:
  Package bluez is not configured yet.

dpkg: error processing package bluez-alsa:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-bluetooth:
 gnome-bluetooth depends on bluez (>= 4.36); however:
  Package bluez is not configured yet.

  # ETC ETC ETC, same logs for all 12 processes #
Errors were encountered while processing:
 bluez
 bluez-alsa:amd64
 gnome-bluetooth
 indicator-bluetooth
 unity-control-center
 gnome-shell
 gdm
 gnome-user-share
 ubuntu-desktop
 unity-control-center-signon
 webaccounts-extension-common
 xul-ext-webaccounts
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@h2511510:~#
2
задан 4 January 2016 в 22:55

3 ответа

sudo apt-get autoremove
sudo apt-get --purge remove && sudo apt-get autoclean
sudo apt-get -f install
sudo apt-get update
sudo apt-get upgrade && sudo apt-get dist-upgrade
sudo dpkg-reconfigure -a
sudo dpkg --configure -a

В конце концов у меня сработало, надеюсь, кто-нибудь сможет использовать это для справок в будущем!

10
ответ дан 3 December 2019 в 06:19
rm /var/lib/dpkg/info/the-package-causing-error

Если у вас есть ошибка типа

dpkg: ошибка обработки пакета jitsi-meet-web-config (--remove): подпроцесс установленный скрипт после удаления возвратил статус ошибки выхода 1 При обработке обнаружены ошибки: some-package // для вас это было бы иначе E: Подпроцесс / usr / bin / dpkg вернул код ошибки (1)

, и ни одна из инструкций user489207 не сработала для вас, затем попробуйте

rm /var/lib/dpkg/info/some-package*
3
ответ дан 3 December 2019 в 06:19

Я тоже столкнулся с той же самой проблемой. Вместо dpkg я использовал gdebi.

sudo apt-get install gdebi-core

sudo gdebi dropbox_2015.10.28_amd64.deb
0
ответ дан 3 December 2019 в 06:19

Другие вопросы по тегам:

Похожие вопросы: