Устранение зависимостей для mobilemediaconverter и monodevelop [дубликат]

Недавно я установил программное обеспечение для конвертации видео, а позже удалил его.

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

Теперь я хочу установить monodevelop, но он снова уведомляет о таком количестве зависимостей!

Вот что говорит мой терминал:

$ sudo apt-get install monodevelop
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 mobilemediaconverter:i386 : Depends: libglib2.0-0:i386 (>= 2.2.0)
                             Depends: libgtk2.0-0:i386 (>= 2.2.0)
                             Depends: mencoder:amd64
 monodevelop : Depends: gnome-icon-theme (>= 1.1.3) but it is not going to be installed
               Depends: monodoc-manual (>= 1.1.9) but it is not going to be installed
               Depends: mono-runtime-sgen but it is not going to be installed
               Depends: mono-xbuild but it is not going to be installed
               Depends: mono-runtime (>= 3.0~) but it is not going to be installed
               Depends: libgconf2.0-cil (>= 2.24.0) but it is not going to be installed
               Depends: libglade2.0-cil (>= 2.12.10-1ubuntu1) but it is not going to be installed
               Depends: libglib2.0-cil (>= 2.12.10-1ubuntu1) but it is not going to be installed
               Depends: libgnome-vfs2.0-cil (>= 2.24.0) but it is not going to be installed
               Depends: libgnome2.24-cil (>= 2.24.0) but it is not going to be installed
               Depends: libgtk2.0-cil (>= 2.12.10-1ubuntu1) but it is not going to be installed
               Depends: libmono-cairo4.0-cil (>= 4.0.4.1) but it is not going to be installed
               Depends: libmono-corlib4.5-cil (>= 4.2.0) but it is not going to be installed
               Depends: libmono-microsoft-build-engine4.0-cil (>= 3.2.1) but it is not going to be installed
               Depends: libmono-microsoft-build-framework4.0-cil (>= 3.6.0) but it is not going to be installed
               Depends: libmono-microsoft-build-utilities-v4.0-4.0-cil (>= 4.2.0) but it is not going to be installed
               Depends: libmono-microsoft-csharp4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-posix4.0-cil (>= 4.0.0~alpha1) but it is not going to be installed
               Depends: libmono-sharpzip4.84-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-componentmodel-dataannotations4.0-cil (>= 4.0.0~alpha1) but it is not going to be installed
               Depends: libmono-system-configuration4.0-cil (>= 4.0.0~alpha1) but it is not going to be installed
               Depends: libmono-system-core4.0-cil (>= 4.2.0) but it is not going to be installed
               Depends: libmono-system-data-services-client4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-data4.0-cil (>= 4.2.0) but it is not going to be installed
               Depends: libmono-system-design4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-drawing4.0-cil (>= 3.0.6) but it is not going to be installed
               Depends: libmono-system-numerics4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-runtime-serialization4.0-cil (>= 4.2.0) but it is not going to be installed
               Depends: libmono-system-runtime4.0-cil (>= 2.10.1) but it is not going to be installed
               Depends: libmono-system-security4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-servicemodel4.0a-cil (>= 3.2.3) but it is not going to be installed
               Depends: libmono-system-web-mvc3.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-web-razor2.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-web-services4.0-cil (>= 4.2.0) but it is not going to be installed
               Depends: libmono-system-web-webpages-razor2.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-web4.0-cil (>= 2.10.3) but it is not going to be installed
               Depends: libmono-system-windows-forms4.0-cil (>= 1.0) but it is not going to be installed
               Depends: libmono-system-xaml4.0-cil (>= 4.2.0) but it is not going to be installed
               Depends: libmono-system-xml-linq4.0-cil (>= 4.2.0) but it is not going to be installed
               Depends: libmono-system-xml4.0-cil (>= 4.2.0) but it is not going to be installed
               Depends: libmono-system4.0-cil (>= 4.2.0) but it is not going to be installed
               Depends: libmono-windowsbase4.0-cil (>= 4.2.0) but it is not going to be installed
               Depends: libwebkitgtk-1.0-0 (>= 1.3.9) but it is not going to be installed
               Depends: monodoc-base (>= 3.2.1) but it is not going to be installed
               Recommends: libglade2.0-cil-dev but it is not going to be installed
               Recommends: libgtk2.0-cil-dev but it is not going to be installed
               Recommends: mono-devel but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Пожалуйста, дайте мне какое-нибудь решение проблемы.

0
задан 13 December 2017 в 02:33

1 ответ

При чтении вывода из Кв., это говорит:

...Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:......
E: Unmet dependencies. Try 'apt-get -f install' with no packages

От man apt-get:

   -f, --fix-broken
       Fix; attempt to correct a system with broken dependencies in place.
       This option, when used with install/remove, can omit any packages
       to permit APT to deduce a likely solution. If packages are
       specified, these have to completely correct the problem. The option
       is sometimes necessary when running APT for the first time; APT
       itself does not allow broken package dependencies to exist on a
       system. It is possible that a system's dependency structure can be
       so corrupt as to require manual intervention (which usually means
       using dpkg --remove to eliminate some of the offending packages).
       Use of this option together with -m may produce an error in some
       situations. Configuration Item: APT::Get::Fix-Broken.

После этого я могу предложить, чтобы Вы попробовали:

sudo apt-get build-dep monodevelop

Кв. будет искать все зависимости, связанные с monodevelop.

После этого,

sudo apt-get install monodevelop

В конечном счете можно проверить все, с чем Вы ищете

sudo apt search packagename 

Искать репозитории packagename.

sudo apt show packagename

Показать подробное описание packagename.

Можно моделировать Кв. - получают процесс при помощи

sudo apt-get -s install packagename

и

sudo apt-get -s build-dep packagename

От man apt-get:

-s, --simulate, --just-print, --dry-run, --recon, --no-act
       No action; perform a simulation of events that would occur based on
       the current system state but do not actually change the system.
       Locking will be disabled (Debug::NoLocking) so the system state
       could change while apt-get is running. Simulations can also be
       executed by non-root users which might not have read access to all
       apt configuration distorting the simulation. A notice expressing
       this warning is also shown by default for non-root users
       (APT::Get::Show-User-Simulation-Note). Configuration Item:
       APT::Get::Simulate.

"Теперь, я хочу установить, моноразрабатывают, но это снова уведомляет так много зависимости!"

Зависимости - обычно необходимость, но иногда могут опускаться, когда они упоминаются, как Рекомендует.

От man apt-get

   --no-install-recommends
       Do not consider recommended packages as a dependency for
       installing. Configuration Item: APT::Install-Recommends.

Обычно хорошо build-dep затем пакет установки.

Привыкните использовать страницы справочника.

От типа оболочки:

man command

и читайте.

1
ответ дан 3 November 2019 в 09:24

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

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