Всунутый бесконечный цикл невстреченных зависимостей из-за поврежденных пакетов

Я отправил этот вопрос в ТАК, но не нашел предложения. Следовательно я отправляю его здесь для надежды. Этот вопрос может появиться дубликат других однако, я попробовал их решения, но не мог получить успех. Я недавно удалил Индиго ROS использование следующей команды -

ravi@lab:~$ sudo apt-get remove ros-*
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.

Теперь, мне был нужен он. Таким образом, я пытался установить его снова использование следующей команды -

ravi@lab:~$ sudo apt-get install ros-indigo-desktop-full
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ros-indigo-desktop-full : Depends: ros-indigo-perception but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

К сожалению, вышеупомянутое не работало. Таким образом, я попытался установить зависимости, но не получил успеха -

ravi@lab:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
ravi@lab:~$ sudo dpkg --configure -a
ravi@lab:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.

Я пытался установить зависимость ros-indigo-perception вручную, но никакой шанс -

ravi@lab:~$ sudo apt-get install ros-indigo-perception
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ros-indigo-perception : Depends: ros-indigo-perception-pcl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Я попробовал больше и думал об установке другой зависимости ros-indigo-perception-pcl но добрался напрасно -

ravi@lab:~$ sudo apt-get install ros-indigo-perception-pcl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ros-indigo-perception-pcl : Depends: ros-indigo-pcl-conversions but it is not going to be installed
                             Depends: ros-indigo-pcl-ros but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Все еще пробуя без любого успеха -

ravi@lab:~$ sudo apt-get install ros-indigo-pcl-conversions
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ros-indigo-pcl-conversions : Depends: libpcl-1.7-all but it is not going to be installed
                              Depends: libpcl-1.7-all-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ravi@lab:~$ sudo apt-get install libpcl-1.7-all
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libpcl-1.7-all : Depends: libpcl-1.7-all-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ravi@lab:~$ sudo apt-get install libpcl-1.7-all-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libpcl-1.7-all-dev : Depends: libpcl-apps-1.7-dev but it is not going to be installed
                      Depends: libpcl-io-1.7-dev but it is not going to be installed
                      Depends: libpcl-outofcore-1.7-dev but it is not going to be installed
                      Depends: libpcl-people-1.7-dev but it is not going to be installed
                      Depends: libpcl-recognition-1.7-dev but it is not going to be installed
                      Depends: libpcl-visualization-1.7-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Моя цель состоит в том, чтобы установить Индиго ROS на моем LTS Ubuntu 14.04 ПК (не переустанавливая ОС :D)

Какое-либо обходное решение?

0
задан 30 May 2018 в 06:38

2 ответа

Я зафиксировал его наконец. Я должен был вырыть больше в него, и я наконец понял, что проблема происходит из-за libusb.

Для устранения этой проблемы я сначала удалил libusb (извините, я не помнил точной версии в настоящее время). После этого я работаю apt-get autoclean. Затем apt-get update и apt-get upgrade только для проверки все в корректном месте.

Наконец, я использовал sudo apt-get install ros-indigo-desktop-full и это работало.

Примечание:

После перезапуска ПК не работает вход в систему, и он говорит Failed to start sesssion. Не паникуйте, во время входа в систему, экран нажимает CTRL+ALT+F1. Это возьмет Вас к терминалу. Используйте свое имя пользователя и пароль для входа в систему. Наконец восстановите настольное использование после команды sudo apt-get install ubuntu-desktop

0
ответ дан 29 October 2019 в 05:43

Попробовать

sudo apt update
sudo apt upgrade

и после

sudo apt install -f

или можно попробовать

sudo apt autoremove

Существует, немного случаются, обновление помогает Вам устранить свои проблемы зависимостей

0
ответ дан 29 October 2019 в 05:43

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

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