Наутилус бросил SEGFAULT, обработчик ошибок Ubuntu обнаружил сбой и сгенерировал отчет о сбое. Все идет нормально. В отчете об ошибке сказано, что есть несколько устаревших пакетов. Хорошо, я бы хотел их обновить. Однако обновление одного пакета вызывает множество проблем с зависимостями других пакетов.
$ sudo apt-get upgrade apt cpp-5 apt-utils dosfstools gcc-5-base init-system-helpers libapt-inst2.0 libapt-pkg5.0 libgd3 libstdc++6 Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... 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: g++-5 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed gcc-5 : Depends: cpp-5 (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed lib32stdc++6 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed libasan2 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed libatomic1 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed libcc1-0 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed libcilkrts5 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed libgcc-5-dev : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed libgfortran3 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed libgomp1 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed libitm1 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed liblsan0 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed libmpx0 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed libquadmath0 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed libstdc++-5-dev : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed libtsan0 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed libubsan0 : Depends: gcc-5-base (= 5.3.1-14ubuntu2) but 5.3.1-14ubuntu2.1 is to be installed E: Broken packages $
Есть ли способ решить эту проблему? Я посмотрел этот пост , и я не уверен, что мне это нравится: я предполагаю, что эти зависимости существуют по причине. Этот предлагает некоторые дополнительные способы устранения неполадок. Не уверен, что это уместно здесь, но лучше предоставить вам информацию, которая вам не нужна, чем не предоставить вам информацию, которую вы делаете.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
$
$ grep -e '^deb\s' /etc/apt/sources.list /etc/apt/sources.list.d/*.list
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://us.archive.ubuntu.com/ubuntu/) xenial main restricted
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://us.archive.ubuntu.com/ubuntu/) xenial-updates main restricted
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://us.archive.ubuntu.com/ubuntu/) xenial universe
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://us.archive.ubuntu.com/ubuntu/) xenial-updates universe
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://us.archive.ubuntu.com/ubuntu/) xenial multiverse
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://us.archive.ubuntu.com/ubuntu/) xenial-updates multiverse
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://us.archive.ubuntu.com/ubuntu/) xenial-backports main restricted universe multiverse
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://security.ubuntu.com/ubuntu) xenial-security main restricted
/etc/apt/sources.list:deb [us.archive.ubuntu.com](http://security.ubuntu.com/ubuntu) xenial-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu) xenial-security multiverse
/etc/apt/sources.list.d/embrosyn-ubuntu-cinnamon-xenial.list:deb [us.archive.ubuntu.com](http://ppa.launchpad.net/embrosyn/cinnamon/ubuntu) xenial main
/etc/apt/sources.list.d/google-chrome.list:deb [arch=amd64] [us.archive.ubuntu.com](http://dl.google.com/linux/chrome/deb/) stable main
/etc/apt/sources.list.d/google-webdesigner.list:deb [us.archive.ubuntu.com](http://dl.google.com/linux/webdesigner/deb/) stable main
$
Я думаю, что эта проблема не важна, потому что Наутилус в основном работает, и я не знал о проблеме, пока репортер не сообщил о сбое. Кроме того, я не занимаюсь разработкой на C или C ++.
Спасибо за вашу помощь.
Для решения этой проблемы зависимости делают sudo apt-get update
сопровождаемый sudo apt-get dist-upgrade
.
Это должно решить Ваши вопросы зависимости, нормальный upgrade
главным образом не может решить вопросы, столь же хорошие как dist-upgrade
.