Недавно я установил программное обеспечение для видео конвертера, а позже удалил его.
После удаления, я не могу установить какое-либо другое программное обеспечение. Кажется, что когда я удалил программное обеспечение видео конвертера, он также удалил некоторую библиотеку, необходимую для установки другого программного обеспечения.
Теперь я хочу установить 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).
Пожалуйста, можете ли вы дать мне какое-либо решение проблемы.
Если вы читаете вывод из apt, он говорит:
...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
Apt будет искать все зависимости, связанные с monodevelop.
После этого
sudo apt-get install monodevelop
В конечном счете вы можете проверить все, что ищете с помощью
sudo apt search packagename
Поиск репозиториев для packagename.
sudo apt show packagename
Показать подробное описание имени пакета.
Вы можете имитировать процесс apt-get используя
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.
«Теперь я хочу для установки monodevelop, но он снова уведомляет столько зависимостей! " Зависимости обычно являются обязательными, но иногда их можно опустить, если они называются рекомендациями.
From man apt-get
--no-install-recommends
Do not consider recommended packages as a dependency for
installing. Configuration Item: APT::Install-Recommends.
Как правило, это [
Получить привычку использовать страницы руководства.
Из типа оболочки:
man command
и читать .
Если вы читаете вывод из apt, он говорит:
...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
Apt будет искать все зависимости, связанные с monodevelop.
После этого
sudo apt-get install monodevelop
В конечном счете вы можете проверить все, что ищете с помощью
sudo apt search packagename
Поиск репозиториев для packagename.
sudo apt show packagename
Показать подробное описание имени пакета.
Вы можете имитировать процесс apt-get используя
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.
«Теперь я хочу для установки monodevelop, но он снова уведомляет столько зависимостей! " Зависимости обычно являются обязательными, но иногда их можно опустить, если они называются рекомендациями.
From man apt-get
--no-install-recommends
Do not consider recommended packages as a dependency for
installing. Configuration Item: APT::Install-Recommends.
Как правило, это [
Получить привычку использовать страницы руководства.
Из типа оболочки:
man command
и читать .