как установить virtualbox

Автор jkkkk, 19 марта 2023, 13:17:36

« назад - далее »

0 Пользователи и 7 гостей просматривают эту тему.

jkkkk

Цитата: dzhoser от 20 марта 2023, 06:35:27Приведите
# deb cdrom:[Debian GNU/Linux 10.3.0 _Buster_ - Official amd64 DVD Binary-1 20200208-12:08]/ buster contrib main
# deb cdrom:[Debian GNU/Linux 10.3.0 _Buster_ - Official amd64 DVD Binary-1 20200208-12:08]/ buster contrib mainb
# buster-updates, previously known as 'volatile'

deb [arch=all] http://ftp.ru.debian.org/debian/ buster main contrib non-free
deb-src [arch=all] http://ftp.ru.debian.org/debian/ buster main contrib non-free

deb [arch=all] http://ftp.ru.debian.org/debian/ buster-updates main contrib non-free
deb-src [arch=all] http://ftp.ru.debian.org/debian/ buster-updates main contrib non-free

deb [arch=all] http://security.debian.org/ buster/updates main contrib non-free
deb-src [arch=all] http://security.debian.org/ buster/updates main contrib non-free

deb [arch=all] http://deb.debian.org/ buster-backports main contrib non-free
deb-src [arch=all] http://deb.debian.org/ buster-backports main contrib non-free

так? закоментированные строки удалить?



Aalexeey

#16
Цитата: dzhoser от 19 марта 2023, 21:08:05sudo apt install virtualbox-7.0 7.0.6-155176~Ubuntu~bionic
А зачем ему VB для бунты если я ему дал ссылку где конкретно пакет для buster, к тому же хорошо работающий и у меня?

20 марта 2023, 09:56:58
jkkkk, а у вас что buster без GUI и DE - чистая консоль? Если нет то Synaptic и GDebi у вас установленны?
https://debianforum.ru/index.php?topic=6879 100% защиты от "Ааааа у меня всё поломалось"

jkkkk

Цитата: Aalexeey от 20 марта 2023, 09:41:47а у вас что buster без GUI и DE - чистая консоль? Если нет то Synaptic и GDebi у вас установленны?
у меня гном. Synaptic и GDebi у меня установлены

Aalexeey

#18
Цитата: jkkkk от 20 марта 2023, 10:08:14Synaptic и GDebi у меня установлены
Вы пользоваться ими умеете?
В Synaptic посмотреть набор этих пакетов:
linux-compiler-gcc-8-x86                4.19.260-1
linux-config-4.19                       4.19.260-1
linux-headers-4.19.0-22-amd64           4.19.260-1
linux-headers-4.19.0-22-common          4.19.260-1
linux-image-4.19.0-22-amd64             4.19.260-1
linux-kbuild-4.19                       4.19.260-1
linux-libc-dev                          4.19.260-1
у вас установлен? (у вас это версия 4.19.0-16)
https://debianforum.ru/index.php?topic=6879 100% защиты от "Ааааа у меня всё поломалось"

jkkkk

Цитата: Aalexeey от 20 марта 2023, 10:14:25В Synaptic посмотреть набор этих пакетов:
в синаптик поиск ни один из представленных пакетов не нашёл

Aalexeey

Состояние>Установленные и мотаете вниз.
https://debianforum.ru/index.php?topic=6879 100% защиты от "Ааааа у меня всё поломалось"

dzhoser

jkkkk, выполните
sudo apt updateпокажите
apt search virtualbox
Ubuntu->Linux mint->Astra Linux SE->Debian 12
Для новичков

jkkkk

#22
Цитата: dzhoser от 20 марта 2023, 06:35:27Приведите
/etc/apt/sources.listК следующему виду
deb [arch=all] http://ftp.ru.debian.org/debian/ buster main contrib non-free
deb-src [arch=all] http://ftp.ru.debian.org/debian/ buster main contrib non-free

deb [arch=all] http://ftp.ru.debian.org/debian/ buster-updates main contrib non-free
deb-src [arch=all] http://ftp.ru.debian.org/debian/ buster-updates main contrib non-free

deb [arch=all] http://security.debian.org/ buster/updates main contrib non-free
deb-src [arch=all] http://security.debian.org/ buster/updates main contrib non-free

deb [arch=all] http://deb.debian.org/ buster-backports main contrib non-free
deb-src [arch=all] http://deb.debian.org/ buster-backports main contrib non-free
выполните
sudo apt update && sudo apt upgrade -yДалее команды из #10 поста.
root@debian:~# nano /etc/apt/sources.list
root@debian:~# sudo apt update && sudo apt upgrade -y
Пол:1 http://ftp.ru.debian.org/debian buster InRelease [122 kB]
Сущ:2 http://download.virtualbox.org/virtualbox/debian bionic InRelease                                                                                                                                           
Пол:3 http://security.debian.org buster/updates InRelease [34,8 kB]                                                                                                                                               
Игн:4 http://deb.debian.org buster-backports InRelease                                                                                                                         
Ошб:5 http://deb.debian.org buster-backports Release                                                               
  404  Not Found [IP: 146.75.118.132 80]
Сущ:6 https://linux.teamviewer.com/deb stable InRelease                                                           
Пол:7 http://security.debian.org buster/updates/non-free Sources [688 B]                                           
Пол:8 http://ftp.ru.debian.org/debian buster-updates InRelease [56,6 kB]                       
Пол:9 http://security.debian.org buster/updates/main Sources [316 kB]       
Пол:10 http://ftp.ru.debian.org/debian buster/contrib Sources [42,5 kB]     
Пол:11 http://ftp.ru.debian.org/debian buster/non-free Sources [85,9 kB] 
Пол:12 http://ftp.ru.debian.org/debian buster/main Sources [7 852 kB]                 
Пол:13 http://security.debian.org buster/updates/main all Packages [205 kB]                 
Пол:14 http://security.debian.org buster/updates/main Translation-en [256 kB]           
Пол:15 http://security.debian.org buster/updates/non-free Translation-en [344 B]                 
Пол:16 http://ftp.ru.debian.org/debian buster/main all Packages [3 871 kB]                                                                                                                                       
Пол:17 http://ftp.ru.debian.org/debian buster/main Translation-en [5 969 kB]                                                                                                                                     
Пол:18 http://ftp.ru.debian.org/debian buster/main Translation-ru [516 kB]                                                                                                                                       
Пол:19 http://ftp.ru.debian.org/debian buster/main amd64 DEP-11 Metadata [3 807 kB]                                                                                                                               
Пол:20 http://ftp.ru.debian.org/debian buster/main DEP-11 48x48 Icons [3 770 kB]                                                                                                                                 
Пол:21 http://ftp.ru.debian.org/debian buster/main DEP-11 64x64 Icons [7 596 kB]                                                                                                                                 
Пол:22 http://ftp.ru.debian.org/debian buster/contrib all Packages [22,9 kB]                                                                                                                                     
Пол:23 http://ftp.ru.debian.org/debian buster/contrib Translation-en [44,2 kB]                                                                                                                                   
Пол:24 http://ftp.ru.debian.org/debian buster/contrib amd64 DEP-11 Metadata [11,5 kB]                                                                                                                             
Пол:25 http://ftp.ru.debian.org/debian buster/contrib DEP-11 48x48 Icons [56,4 kB]                                                                                                                               
Пол:26 http://ftp.ru.debian.org/debian buster/contrib DEP-11 64x64 Icons [110 kB]                                                                                                                                 
Пол:27 http://ftp.ru.debian.org/debian buster/non-free all Packages [44,7 kB]                                                                                                                                     
Пол:28 http://ftp.ru.debian.org/debian buster/non-free Translation-en [88,9 kB]                                                                                                                                   
Пол:29 http://ftp.ru.debian.org/debian buster/non-free amd64 DEP-11 Metadata [9 096 B]                                                                                                                           
Пол:30 http://ftp.ru.debian.org/debian buster/non-free DEP-11 48x48 Icons [3 491 B]                                                                                                                               
Пол:31 http://ftp.ru.debian.org/debian buster/non-free DEP-11 64x64 Icons [38,3 kB]                                                                                                                               
Пол:32 http://ftp.ru.debian.org/debian buster-updates/main Sources [4 616 B]                                                                                                                                     
Пол:33 http://ftp.ru.debian.org/debian buster-updates/main all Packages [3 132 B]                                                                                                                                 
Пол:34 http://ftp.ru.debian.org/debian buster-updates/main Translation-en [6 915 B]                                                                                                                               
Чтение списков пакетов... Готово                                                                                                                                                                                   
E: Репозиторий «http://deb.debian.org buster-backports Release» не содержит файла Release.
N: Обновление из этого репозитория нельзя выполнить безопасным способом, поэтому по умолчанию он отключён.
N: Информацию о создании репозитория и настройках пользователя смотрите в справочной странице apt-secure(8).
root@debian:~#
root@debian:~#
root@debian:~# sudo apt install virtualbox
Чтение списков пакетов... Готово
Построение дерева зависимостей       
Чтение информации о состоянии... Готово
Пакет virtualbox — виртуальный, его функции предоставляются пакетами:
  virtualbox-7.0 7.0.6-155176~Ubuntu~bionic
  virtualbox-6.1 6.1.42-155177~Ubuntu~bionic
  virtualbox-6.0 6.0.24-139119~Ubuntu~bionic
  virtualbox-5.2 5.2.44-139111~Ubuntu~bionic
  virtualbox-5.1 5.1.38-122592~Ubuntu~bionic
Вы должны явно указать, какой именно вы хотите установить.

E: Для пакета «virtualbox» не найден кандидат на установку
root@debian:~#
root@debian:~#
root@debian:~# sudo apt install linux-headers-$(uname -r)
Чтение списков пакетов... Готово
Построение дерева зависимостей       
Чтение информации о состоянии... Готово
E: Невозможно найти пакет linux-headers-4.19.0-16-amd64
E: Не удалось найти ни один пакет с помощью шаблона «linux-headers-4.19.0-16-amd64»
E: Не удалось найти ни один пакет с помощью регулярного выражения «linux-headers-4.19.0-16-amd64»
root@debian:~#


20 марта 2023, 11:28:09
Цитата: Aalexeey от 20 марта 2023, 10:32:21Состояние>Установленные и мотаете вниз.
в установленные ни один пакет начинающее с "Lin" нету

20 марта 2023, 11:41:42
Цитата: dzhoser от 20 марта 2023, 10:49:37выполните
root@debian:~# sudo apt update
Сущ:1 https://linux.teamviewer.com/deb stable InRelease
Сущ:2 http://security.debian.org buster/updates InRelease                                                                                                                                       
Игн:3 http://deb.debian.org buster-backports InRelease                                                                                                                                           
Сущ:4 http://ftp.ru.debian.org/debian buster InRelease                                                                                                   
Сущ:5 http://ftp.ru.debian.org/debian buster-updates InRelease                                                                                   
Ошб:6 http://deb.debian.org buster-backports Release                                                                                             
  404  Not Found [IP: 146.75.118.132 80]
Сущ:7 http://download.virtualbox.org/virtualbox/debian bionic InRelease                                 
Чтение списков пакетов... Готово           
E: Репозиторий «http://deb.debian.org buster-backports Release» не содержит файла Release.
N: Обновление из этого репозитория нельзя выполнить безопасным способом, поэтому по умолчанию он отключён.
N: Информацию о создании репозитория и настройках пользователя смотрите в справочной странице apt-secure(8).
root@debian:~#
root@debian:~#
root@debian:~#
root@debian:~# apt search virtualbox
Сортировка... Готово
Полнотекстовый поиск... Готово
imvirt/oldstable 0.9.6-4 all
  detects several virtualizations

libimvirt-perl/oldstable 0.9.6-4 all
  Perl module for detecting several virtualizations

libvirt-daemon/now 5.0.0-4+deb10u1 amd64 [установлен, локальный]
  Virtualization daemon

libvirt-doc/oldstable 5.0.0-4+deb10u1 all
  documentation for the libvirt library

libvirt0/now 5.0.0-4+deb10u1 amd64 [установлен, локальный]
  library for interfacing with different virtualization systems

vagrant/oldstable 2.2.3+dfsg-1 all
  создание и распределения виртуальных окружений для разработки

vagrant-lxc/oldstable 1.4.3-1 all
  Linux Containers provider for Vagrant

vagrant-mutate/oldstable 1.2.0-4 all
  convert vagrant boxes to work with different providers

vagrant-sshfs/oldstable 1.3.1-1 all
  vagrant plugin that adds synced folder support with sshfs

virtualbox-5.1/неизвестно 5.1.38-122592~Ubuntu~bionic amd64
  Oracle VM VirtualBox

virtualbox-5.2/неизвестно 5.2.44-139111~Ubuntu~bionic amd64
  Oracle VM VirtualBox

virtualbox-6.0/неизвестно 6.0.24-139119~Ubuntu~bionic amd64
  Oracle VM VirtualBox

virtualbox-6.1/неизвестно 6.1.42-155177~Ubuntu~bionic amd64
  Oracle VM VirtualBox

virtualbox-7.0/неизвестно 7.0.6-155176~Ubuntu~bionic amd64
  Oracle VM VirtualBox

virtualbox-guest-additions-iso/oldstable 6.0.4-1 all
  guest additions iso image for VirtualBox

volatility/oldstable 2.6.1-1 all
  advanced memory forensics framework

root@debian:~#

suny

Проще будет переустановить ОС чем разбираться в том что вы там натворили.

jkkkk

Цитата: suny от 20 марта 2023, 11:44:54Проще будет переустановить ОС чем разбираться в том что вы там натворили.
если переустанавливать, то наверно лучше ставить дебиан 11?. если у меня свободный раздел40 гб , и озу 6гб, то диск как разбить и файл подкачки какой делать?

dzhoser

#25
покажите 
cat /etc/os-releace

20 марта 2023, 12:22:42
Цитата: jkkkk от 20 марта 2023, 12:15:45
Цитата: suny от 20 марта 2023, 11:44:54Проще будет переустановить ОС чем разбираться в том что вы там натворили.
если переустанавливать, то наверно лучше ставить дебиан 11?. если у меня свободный раздел 40 гб , и озу 6гб, то диск как разбить и файл подкачки какой делать?
Да лучше 11, ставьте без разбиения если что размер файла подкачки можно отредактировать после установки.
Должно поставиться так
sudo apt install virtualbox-6.1
Ubuntu->Linux mint->Astra Linux SE->Debian 12
Для новичков

RoDoN

Цитата: jkkkk от 20 марта 2023, 11:25:52Сущ:2 http://download.virtualbox.org/virtualbox/debian bionic InRelease
Почему здесь bionic, ведь должно быть buster ? Поэтому пакеты от убунты и вылазят
Lenovo G500 (i3-3110M, 8 Гб, Intel + Radeon HD 8570)

jkkkk

Цитата: RoDoN от 20 марта 2023, 13:01:49
Цитата: jkkkk от 20 марта 2023, 11:25:52Сущ:2 http://download.virtualbox.org/virtualbox/debian bionic InRelease
Почему здесь bionic, ведь должно быть buster ? Поэтому пакеты от убунты и вылазят
если так, то как их удалить?

dzhoser

Тут нужно удалить файлы /etc/apt/sources.list.d/
Связанные с virtualbox
Ubuntu->Linux mint->Astra Linux SE->Debian 12
Для новичков

ek-nfn

#29
Цитата: RoDoN от 20 марта 2023, 13:01:49Почему здесь bionic, ведь должно быть buster ? Поэтому пакеты от убунты и вылазят

Экспериментатор же... Хотя в репозитории была и ветка buster http://download.virtualbox.org/virtualbox/debian/dists/buster/
Debian 12  -> Devuan 5 xfce -> MX Linux 23