@vortexal@lemmy.ml avatar

vortexal

@vortexal@lemmy.ml

This profile is from a federated server and may be incomplete. Browse more on the original instance.

vortexal,
@vortexal@lemmy.ml avatar

It’s telling me that they are already installed: j@j-HP-Notebook:~$ sudo apt-get install linux-headers-$(uname -r) [sudo] password for j: Reading package lists… Done Building dependency tree… Done Reading state information… Done linux-headers-5.15.0-88-generic is already the newest version (5.15.0-88.98). linux-headers-5.15.0-88-generic set to manually installed. The following packages were automatically installed and are no longer required: brave-keyring libu2f-udev linux-headers-5.15.0-76 linux-headers-5.15.0-76-generic linux-headers-5.15.0-78 linux-headers-5.15.0-78-generic linux-headers-5.15.0-79 linux-headers-5.15.0-79-generic linux-headers-5.15.0-82 linux-headers-5.15.0-82-generic linux-headers-5.15.0-83 linux-headers-5.15.0-83-generic linux-headers-5.15.0-84 linux-headers-5.15.0-84-generic linux-headers-5.15.0-86 linux-headers-5.15.0-86-generic linux-image-5.15.0-76-generic linux-image-5.15.0-78-generic linux-image-5.15.0-79-generic linux-image-5.15.0-82-generic linux-image-5.15.0-83-generic linux-image-5.15.0-84-generic linux-image-5.15.0-86-generic linux-modules-5.15.0-76-generic linux-modules-5.15.0-78-generic linux-modules-5.15.0-79-generic linux-modules-5.15.0-82-generic linux-modules-5.15.0-83-generic linux-modules-5.15.0-84-generic linux-modules-5.15.0-86-generic linux-modules-extra-5.15.0-76-generic linux-modules-extra-5.15.0-78-generic linux-modules-extra-5.15.0-79-generic linux-modules-extra-5.15.0-82-generic linux-modules-extra-5.15.0-83-generic linux-modules-extra-5.15.0-84-generic linux-modules-extra-5.15.0-86-generic Use ‘sudo apt autoremove’ to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

vortexal,
@vortexal@lemmy.ml avatar

I already restarted my computer twice after installing it, is there any reason I would have restart my computer a third time?

vortexal,
@vortexal@lemmy.ml avatar

Is there something specific from that link that I’m supposed to use because I tired the top solution and it just gave me a bunch of error messages:


<span style="color:#323232;">j@j-HP-Notebook:~$ sudo apt-get install build-essential linux-headers-`uname -r` dkms virtualbox-dkms
</span><span style="color:#323232;">[sudo] password for j:  
</span><span style="color:#323232;">Reading package lists... Done
</span><span style="color:#323232;">Building dependency tree... Done
</span><span style="color:#323232;">Reading state information... Done
</span><span style="color:#323232;">dkms is already the newest version (2.8.7-2ubuntu2.1mint1).
</span><span style="color:#323232;">build-essential is already the newest version (12.9ubuntu3).
</span><span style="color:#323232;">linux-headers-5.15.0-88-generic is already the newest version (5.15.0-88.98).
</span><span style="color:#323232;">The following packages were automatically installed and are no longer required:
</span><span style="color:#323232;">  libqt5help5 libqt5sql5 libqt5sql5-sqlite libqt5xml5 libsdl-ttf2.0-0
</span><span style="color:#323232;">Use 'sudo apt autoremove' to remove them.
</span><span style="color:#323232;">The following additional packages will be installed:
</span><span style="color:#323232;">  libgsoap-2.8.117 liblzf1 libvncserver1 virtualbox virtualbox-qt
</span><span style="color:#323232;">Suggested packages:
</span><span style="color:#323232;">  vde2 virtualbox-guest-additions-iso
</span><span style="color:#323232;">The following packages will be REMOVED:
</span><span style="color:#323232;">  virtualbox-7.0
</span><span style="color:#323232;">The following NEW packages will be installed:
</span><span style="color:#323232;">  libgsoap-2.8.117 liblzf1 libvncserver1 virtualbox virtualbox-dkms virtualbox-qt
</span><span style="color:#323232;">0 upgraded, 6 newly installed, 1 to remove and 0 not upgraded.
</span><span style="color:#323232;">Need to get 0 B/46.5 MB of archives.
</span><span style="color:#323232;">After this operation, 43.0 MB disk space will be freed.
</span><span style="color:#323232;">Do you want to continue? [Y/n] y
</span><span style="color:#323232;">debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
</span><span style="color:#323232;">(Reading database ... 642834 files and directories currently installed.)
</span><span style="color:#323232;">Removing virtualbox-7.0 (7.0.12-159484~Ubuntu~jammy) ...
</span><span style="color:#323232;">debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
</span><span style="color:#323232;">dpkg: error processing package virtualbox-7.0 (--remove):
</span><span style="color:#323232;"> installed virtualbox-7.0 package pre-removal script subprocess returned error exit status 1
</span><span style="color:#323232;">dpkg: too many errors, stopping
</span><span style="color:#323232;">vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
</span><span style="color:#323232;">
</span><span style="color:#323232;">There were problems setting up VirtualBox.  To re-start the set-up process, run
</span><span style="color:#323232;">  /sbin/vboxconfig
</span><span style="color:#323232;">as root.  If your system is using EFI Secure Boot you may need to sign the
</span><span style="color:#323232;">kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
</span><span style="color:#323232;">them. Please see your Linux system's documentation for more information.
</span><span style="color:#323232;">Errors were encountered while processing:
</span><span style="color:#323232;"> virtualbox-7.0
</span><span style="color:#323232;">Processing was halted because there were too many errors.
</span><span style="color:#323232;">E: Sub-process /usr/bin/dpkg returned an error code (1)
</span><span style="color:#323232;">j@j-HP-Notebook:~$ sudo modprobe vboxdrv
</span><span style="color:#323232;">modprobe: ERROR: could not insert 'vboxdrv': Operation not permitted
</span>
vortexal,
@vortexal@lemmy.ml avatar

How similar to VirtualBox is virt-manager? I’ve only ever used VirtualBox but if virt-manager is easy to use, I have no problem trying it out.

vortexal,
@vortexal@lemmy.ml avatar

Ok thanks, I might try those later if I can’t get VirtualBox working.

vortexal,
@vortexal@lemmy.ml avatar

No, it’s giving me the following error message:


<span style="color:#323232;">j@j-HP-Notebook:~$ sudo modprobe vboxdrv
</span><span style="color:#323232;">[sudo] password for j:  
</span><span style="color:#323232;">modprobe: ERROR: could not insert 'vboxdrv': Operation not permitted
</span>
vortexal,
@vortexal@lemmy.ml avatar

I don’t know what that means, is there a way I can find out?

vortexal,
@vortexal@lemmy.ml avatar

When you say other packages, what are you referring to? If you are referring to downloading the package directly from their website verses just installing it through apt using Mint’s repository, I have done both and I have the same issue with both of them.

vortexal,
@vortexal@lemmy.ml avatar

That doesn’t work for me as they give me error messages:


<span style="color:#323232;">j@j-HP-Notebook:~$ sudo apt remove virtualbox-dkms
</span><span style="color:#323232;">[sudo] password for j:  
</span><span style="color:#323232;">Reading package lists... Done
</span><span style="color:#323232;">Building dependency tree... Done
</span><span style="color:#323232;">Reading state information... Done
</span><span style="color:#323232;">Package 'virtualbox-dkms' is not installed, so not removed
</span><span style="color:#323232;">0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
</span><span style="color:#323232;">j@j-HP-Notebook:~$ sudo apt-get install make gcc build-essential linux-headers-'uname -r' dkms
</span><span style="color:#323232;">Reading package lists... Done
</span><span style="color:#323232;">Building dependency tree... Done
</span><span style="color:#323232;">Reading state information... Done
</span><span style="color:#323232;">E: Unable to locate package linux-headers-uname -r
</span><span style="color:#323232;">j@j-HP-Notebook:~$ sudo apt install virtualbox-dkms
</span><span style="color:#323232;">Reading package lists... Done
</span><span style="color:#323232;">Building dependency tree... Done
</span><span style="color:#323232;">Reading state information... Done
</span><span style="color:#323232;">The following packages were automatically installed and are no longer required:
</span><span style="color:#323232;">  libqt5help5 libqt5sql5 libqt5sql5-sqlite libqt5xml5 libsdl-ttf2.0-0
</span><span style="color:#323232;">Use 'sudo apt autoremove' to remove them.
</span><span style="color:#323232;">The following additional packages will be installed:
</span><span style="color:#323232;">  libgsoap-2.8.117 liblzf1 libvncserver1 virtualbox virtualbox-qt
</span><span style="color:#323232;">Suggested packages:
</span><span style="color:#323232;">  vde2 virtualbox-guest-additions-iso
</span><span style="color:#323232;">The following packages will be REMOVED:
</span><span style="color:#323232;">  virtualbox-7.0
</span><span style="color:#323232;">The following NEW packages will be installed:
</span><span style="color:#323232;">  libgsoap-2.8.117 liblzf1 libvncserver1 virtualbox virtualbox-dkms virtualbox-qt
</span><span style="color:#323232;">0 upgraded, 6 newly installed, 1 to remove and 0 not upgraded.
</span><span style="color:#323232;">Need to get 0 B/46.5 MB of archives.
</span><span style="color:#323232;">After this operation, 43.0 MB disk space will be freed.
</span><span style="color:#323232;">Do you want to continue? [Y/n] y
</span><span style="color:#323232;">debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
</span><span style="color:#323232;">(Reading database ... 642834 files and directories currently installed.)
</span><span style="color:#323232;">Removing virtualbox-7.0 (7.0.12-159484~Ubuntu~jammy) ...
</span><span style="color:#323232;">debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
</span><span style="color:#323232;">dpkg: error processing package virtualbox-7.0 (--remove):
</span><span style="color:#323232;"> installed virtualbox-7.0 package pre-removal script subprocess returned error exit status 1
</span><span style="color:#323232;">dpkg: too many errors, stopping
</span><span style="color:#323232;">vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
</span><span style="color:#323232;">
</span><span style="color:#323232;">There were problems setting up VirtualBox.  To re-start the set-up process, run
</span><span style="color:#323232;">  /sbin/vboxconfig
</span><span style="color:#323232;">as root.  If your system is using EFI Secure Boot you may need to sign the
</span><span style="color:#323232;">kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
</span><span style="color:#323232;">them. Please see your Linux system's documentation for more information.
</span><span style="color:#323232;">Errors were encountered while processing:
</span><span style="color:#323232;"> virtualbox-7.0
</span><span style="color:#323232;">Processing was halted because there were too many errors.
</span><span style="color:#323232;">E: Sub-process /usr/bin/dpkg returned an error code (1)
</span>
vortexal,
@vortexal@lemmy.ml avatar

I actually just tried Gnome Boxes and it seems to work mostly fine but the only problem I’m having is that I’m trying to run a Windows XP virtual machine but I can’t figure out how to get files from my host to the guest. Apparently, I need some software to be running on the guest but the website that I need to download the software from doesn’t work in internet explorer and I obviously can’t just download it on the host and transfer it to the guest.

vortexal,
@vortexal@lemmy.ml avatar

I’m currently installing virt-manager but I ran into a problem with Gnome Boxes where I’m trying to run a Windows XP virtual machine but I can’t figure out how to get files from my host to the guest. Apparently, I need some software to be running on the guest but the website that I need to download the software from doesn’t work in internet explorer and I obviously can’t just download it on the host and transfer it to the guest.

vortexal,
@vortexal@lemmy.ml avatar

I just tried Gnome Boxes and it seems to work mostly fine but the only problem I’m having is that I’m trying to run a Windows XP virtual machine but I can’t figure out how to get files from my host to the guest. Apparently, I need some software to be running on the guest but the website that I need to download the software from doesn’t work in internet explorer and I obviously can’t just download it on the host and transfer it to the guest.

vortexal,
@vortexal@lemmy.ml avatar

I’m not sure what you mean but it doesn’t matter because VirtualBox still isn’t working and I’ve decided to uninstall it and try some alternatives that people have mentioned.

vortexal,
@vortexal@lemmy.ml avatar

So I tried virt-manager but it’s giving me an error message about not being able to connect to "libvirt qemu:///system" and it wont let me install a virtual machine. I’m assuming that I’m supposed to download “libvirtd”, but I can’t figure out how to install it. I think it wants me to build it from the source but there doesn’t seem to be a guide on how to do that.

vortexal,
@vortexal@lemmy.ml avatar

So I tried virt-manager but it’s giving me an error message about not being able to connect to "libvirt qemu:///system" and it wont let me install a virtual machine. I’m assuming that I’m supposed to download “libvirtd”, but I can’t figure out how to install it. I think it wants me to build it from the source but there doesn’t seem to be a guide on how to do that.

vortexal,
@vortexal@lemmy.ml avatar

I tried virt-manager but it’s giving me an error message about not being able to connect to "libvirt qemu:///system" and it wont let me install a virtual machine. I’m assuming that I’m supposed to download “libvirtd”, but I can’t figure out how to install it. I think it wants me to build it from the source but there doesn’t seem to be a guide on how to do that.

vortexal,
@vortexal@lemmy.ml avatar

I tried both virt-manager and Gnome Boxes but I’m having issues with both of them.

Gnome Boxes works mostly fine but I can’t seem to get files from the host to the guest. It says that the guest is supposed to have some special software but I’m trying to use Windows XP and I can’t seem to figure out how to get the required software because the website doesn’t work in internet explorer and I obviously can’t just download it from the host and transfer it over.

For virt-manager, it’s giving me an error message about not being able to connect to "libvirt qemu:///system" and it wont let me install a virtual machine. I’m assuming that I’m supposed to download “libvirtd”, but I can’t figure out how to install it. I think it wants me to build it from the source but there doesn’t seem to be a guide on how to do that.

vortexal, (edited )
@vortexal@lemmy.ml avatar

I installed it through apt with just sudo apt install virtualbox-7.0. I also downloaded the deb file from their website but, at least when installed through apt, it just ignores it and uses the version from Mint’s repository anyways.

Edit: Because I just checked and you can’t install it directly like that anymore, I first tried installing VirtualBox a few months ago, with an older version of Linux Mint. When I tried installing it several hours ago, it was with the deb file but for some reason apt still selects a different version when it actually installs it.

vortexal,
@vortexal@lemmy.ml avatar

It stated that they were already installed so I went through the process of re-installing them and rebooting the computer, which seems to have fixed the problem. I wont really be able to test it much right now because of how late it is for me but I was able to at least start the installation for Windows XP.

vortexal,
@vortexal@lemmy.ml avatar

While I have already found a solution (and with it found out that the software doesn’t even work in windows xp) the only way to download Boxes that I could find was through flathub, which doesn’t allow usb devices for some reason. What does work is that I can just put all of the files I want transferred into an iso file and mount it to the VM.

Also, if there is a way to install Boxes outside of flathub, I’ll have to check it out tomorrow because of late it is for me right now.

vortexal,
@vortexal@lemmy.ml avatar

How much of my comment did you read before replying?

vortexal,
@vortexal@lemmy.ml avatar

I literally stated in my comment that you can’t install it like that anymore. The reason why is because you get an error saying “E: Package ‘virtualbox-7.0’ has no installation candidate”. This means that in Linux Mint, you have to install it via the deb file.

vortexal,
@vortexal@lemmy.ml avatar

I kind of wanted to be using the newest version but I’ll try the old version to see if it works.

vortexal,
@vortexal@lemmy.ml avatar

No, in addition to having a broken UI, it’s still giving me the same error message. https://lemmy.ml/pictrs/image/b610ef5a-b960-4115-9dc1-1819d2172658.png

vortexal,
@vortexal@lemmy.ml avatar

I already tried that yesterday and it didn’t work. It’s not that big of a problem though because both Gnome Boxes and virt-manager are working fine. So I wont need VirtualBox anymore.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #