Извинения, если это - дубликат, я видел другие потоки с подобными ошибками, но никакой из ответов не устранил мои проблемы.
Я пытаюсь установить virtualbox, первой вещью, которую я попробовал, является ссылка на загрузку для "Ubuntu 18.04 / 18.10 / Debian 10" здесь https://www.virtualbox.org/wiki/Linux_Downloads однако, когда я дважды щелкаю по нему и нажимаю установку, ничего не происходит.
Таким образом, я пытался установить его через командную строку:
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -`
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
Производятся обе команды OK
.
sudo apt-get update
Вывод
Atteint:1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Atteint:2 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease
Atteint:3 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Réception de:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Atteint:5 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease
Atteint:6 http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu bionic InRelease
Ign:7 https://dl.google.com/linux/chrome/deb stable InRelease
Atteint:8 https://dl.google.com/linux/chrome/deb stable Release
Atteint:9 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease
Réception de:10 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [204 B]
Réception de:11 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2 464 B]
Atteint:13 http://download.virtualbox.org/virtualbox/debian cosmic InRelease
91,4 ko réceptionnés en 1s (110 ko/s)
Lecture des listes de paquets... Fait
N:The file configured "non-free/binary-i386/Packages" will not be taken into account because the repository "http://download.virtualbox.org/virtualbox/debian cosmic InRelease" does not support the "i386" architecture
N:The file configured "non-free/binary-i386/Packages" will not be taken into account because the repository "http://download.virtualbox.org/virtualbox/debian cosmic InRelease" does not support the "i386" architecture
Так, продержитесь, две строки, кажется, указывает, что команда пытается обновить для 32 битов, но моя система и ОС составляют 64 бита:
И наконец выполнение sudo apt-get install virtualbox-6.0
Вывод
Reading package lists ... Done
Building the dependency tree
Reading status information ... Done
Some packages can not be installed. This can mean
that you asked for the impossible, or, if you use
the unstable distribution, that some packages have not yet
were created or did not come out of Incoming.
The following information should help you resolve the situation:
The following packages contain unmet dependencies:
virtualbox-6.0: Depends: libqt5x11extras5 (> = 5.6.0) but it is not installable
E: Unable to fix problems, faulty packages are in "keep as is" mode.
Я полностью удалил virtualbox и попробовал еще раз, но без успеха. (использование ответа этого вопроса) Однако, когда я делаю sudo ps aux | grep -i "vbox"
Я имею louis 25612 0.0 0.0 15664 1060 pts/0 S+ 13:23 0:00 grep --color=auto -i vbox
Даже после выполнения sudo pkill VBox*
и sudo pkill vbox*
Таким образом, я не знаю, как решить мою проблему, и correctely устанавливают virtualbox
В terminal
...
cd /etc/apt
# изменяют каталог
grep -i virtualbox sources.list
# поиск virtualbox
, если найдено...
sudo -H gedit sources.list
редактирование # файл
находит строку, которая содержит virtualbox
...
изменение deb
к deb [arch=amd64]
и сохранили файл.
, если НЕ найденный...
cd sources.list.d
# изменяются на подкаталог
grep -i virtualbox *.list
, # находят файл, который содержит virtualbox
, редактируют определенный файл и редактируют как показано выше.
После поиска вокруг, я нашел https://www.virtualbox.org/ticket/17970, таким образом, я сделал sudo add-apt-repository universe
и sudo apt get update
, И я успешно установил virtualbox. Однако при выполнении sudo apt get update
у меня все еще есть два уведомления
N:The file configured "non-free/binary-i386/Packages" will not be taken into account because the repository "http://download.virtualbox.org/virtualbox/debian cosmic InRelease" does not support the "i386" architecture
N:The file configured "non-free/binary-i386/Packages" will not be taken into account because the repository "http://download.virtualbox.org/virtualbox/debian cosmic InRelease" does not support the "i386" architecture
поэтому, если бы кто-то находит способ исправить эти уведомления, я принял бы ответ