Я хочу настроить Flutter на моем Ubuntu 18.10.Я искал много предложений, но не сработает.Ошибка при установке необходимого пакета от Flutter.Вывод при запуске flutter doctor --verbose
выглядит примерно так:
[!] Flutter (Channel stable, v1.2.1, on Linux, locale en_US.UTF-8)
• Flutter version 1.2.1 at /home/akhyar/flutter
• Framework revision 8661d8aecd (9 weeks ago), 2019-02-14 19:19:53 -0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)
✗ Downloaded executables cannot execute on host.
See https://github.com/flutter/flutter/issues/6207 for more information
On Debian/Ubuntu/Mint: sudo apt-get install lib32stdc++6
On Fedora: dnf install libstdc++.i686
On Arch: pacman -S lib32-libstdc++5 (you need to enable multilib: https://wiki.archlinux.org/index.php/Official_repositories#multilib)
, а затем я попытался установить пакет с sudo apt-get install lib32stdc++6
, но Ubuntu дал мне такой результат:
sudo apt-get install lib32stdc++6
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:
lib32stdc++6 : Depends: gcc-8-base (= 8.2.0-7ubuntu1) but 8.3.0-6ubuntu1~18.04 is to be installed
Depends: lib32gcc1 (>= 1:4.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Я пытался sudo apt -f install
, но ничего не было установлено или удалено.кто-нибудь получает такие же проблемы, как это?Пожалуйста, помогите мне