linux

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

Presi300, in I'm trying to run VirtualBox in Linux Mint but I keep getting an error message about Kernel drivers.
@Presi300@lemmy.world avatar

Use virt-manager or gnome boxes, they are both better and tend to run faster in my experience

ipsirc, in How to download ALL dependencies for an external .deb package (rescuezilla)?
@ipsirc@lemmy.ml avatar

# apt install /path/to/package.deb

iturnedintoanewt,
@iturnedintoanewt@lemm.ee avatar

Something something reading the post…

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

You missed the correct path.

W: Unable to locate package ./rescuezilla_2.4.2-1_all.deb

Use the correct path to your deb file.

iturnedintoanewt,
@iturnedintoanewt@lemm.ee avatar

Still not correct. The path is perfectly correct. Even using full path. This method EXPECTS a repo package, not a file. I already figured the answer, it’s in this thread.

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

I think you have confused the apt command with the apt-get command. apt-get doesn’t handle files, while apt has it since the very first version. This is one of the important differences between the two commands. This was one of the main reasons why I have been using only apt for years.

iturnedintoanewt, (edited )
@iturnedintoanewt@lemm.ee avatar

Again, incorrect. The answer is above. And still, you haven’t read the thread. This is NOT about getting rescuezilla to install in the current PC. This is to get it to install in a DIFFERENT PC, which happens to be OFFLINE. So apt by itself will FAIL when it tries to resolve dependencies.

virtualbriefcase, in Should I install Linux on my smartphone?

As others are saying, that’s not really an option unless you’re really dedicated. IF it has an unlockable bootloader you could technically get to compiling and tinkering to get everything built, but in order to get a phone all set you’d need to get the right drivers and do a whole lot of tinkering (like full time job levels of building and tinkering) kind of deal to get it built. Phone’s aren’t so plug and play like computers.

If you there’s no rom support and/or a permanently locked bootloader but you want an OS without x y and z you can always try to fire up ADB bridge and disable stuff. You could also accomplish the same by rooting, though it’s a bit of a security risk (though not as overblown as some people say IMO).

HarriPotero, in Why btrfs gets huge perf hit with background IO work?
@HarriPotero@lemmy.world avatar

Seems unreasonably slow to me that xterm would take a second to start. My two computers running kernel 6.7 are slow than the machine in the test, both have BTRFS on LUKS.

I tried a cold start of xterm on my older thinkpad with an NVMe drive at ~0.3s.

A cold start on my desktop (also NVMe), 0.08s.

I’m unable to reproduce. I wonder if he might’ve had a fresh install with some background operations grinding on, or some indexing going on.

addie,
@addie@feddit.uk avatar

Yeah; my somewhat up-to-date thinkbook with NVMe drive cold boots to Cinnamon desktop in under 8 seconds, terminal window opens in the blink of an eye. BTRFS is not without its problems, but they’re more along the lines of specific RAID configs not being what you’d wish for; I’ve never heard a complaint about speed before, and I’ve never had that problem myself.

Alawami,

What background IO load did you run?

HarriPotero,
@HarriPotero@lemmy.world avatar

I was torrenting porn with good speed.

Kusimulkku,

Incidentally

jwt,

Thanks for sharing!

just_another_person, in After upgrade to Fedora 39 Silverblue, Docker and VM-Manager have stopped working

Purge all, reinstall, turn on debug logging.

sv1sjp,
@sv1sjp@lemmy.world avatar

Already done, still not working :(

Edit: Fedora got an upgrade today and vm-manager works again without any issue. Docker remains broken, maybe its matter of time. Thank you for your response!!!

just_another_person,

Try setting up docker as rootless. Might be your issue.

richardisaguy, in After upgrade to Fedora 39 Silverblue, Docker and VM-Manager have stopped working
@richardisaguy@lemmy.world avatar

Having the same issue with virt manager inside distrobox

sv1sjp,
@sv1sjp@lemmy.world avatar

There is a new upgrade available, try if it fixes your issue.

lemann, in After upgrade to Fedora 39 Silverblue, Docker and VM-Manager have stopped working

Do you get any output from # virsh list --all and # docker info?

I have a feeling it’s an SELinux issue, and i’m not familiar with how that works at all (yet 😳). May be a good call to purge virt-manager, libvirtd, docker, containerd, and reinstall them…

sv1sjp,
@sv1sjp@lemmy.world avatar

Already done, still not working :(

Edit: Fedora got an upgrade today and vm-manager works again without any issue. Docker remains broken, maybe its matter of time. Thank you for your response!!!

danielfgom, in After upgrade to Fedora 39 Silverblue, Docker and VM-Manager have stopped working
@danielfgom@lemmy.world avatar

Have you tried to remove and reinstall virt manger?

If not, try it. Must be something to do with the kernel modules. Same goes for docker

sv1sjp,
@sv1sjp@lemmy.world avatar

Already done, still not working :(

Edit: Fedora got an upgrade today and vm-manager works again without any issue. Docker remains broken, maybe its matter of time. Thank you for your response!!!

Kushia, in Customising keyboard layouts Fedora KDE Wayland
@Kushia@lemmy.ml avatar
possiblylinux127, in An Untold History of Thunderbird

Thunderbird is usable now

Mandrew002, in Sell Me on Linux

That’s human trafficking, I’m not into that

phx, in Should I install Linux on my smartphone?

Phones aren’t like old laptops. They’re a different architecture entirely, and the hardware is often somewhat custom to the device. Building an image that would even boot on it would be a challenge, much less getting stuff like the touch-screen etc working

nobleshift, in I'm trying to run VirtualBox in Linux Mint but I keep getting an error message about Kernel drivers.
@nobleshift@lemmy.world avatar

deleted_by_author

  • Loading...
  • 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>
    
    db2,

    Then just do the last step, see what happens.

    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.

    kuneho, (edited )
    @kuneho@lemmy.world avatar

    I guess the “uname -r” part should be $(uname -r) but this isn’t the problem with vbox IMO

    wfh, (edited ) in Newbie with questions about Debian

    I can’t figure out how to setup flatpak. Everything seems to be working fine until I enter the last line in the terminal:

    Assuming you’ve installed flatpak correctly (sudo apt install flatpak gnome-software-plugin-flatpak)

    in a terminal, type flatpak remotes. If it lists flathub, you’re good.

    Try installing a random app like flatpak install flathub de.haeckerfelix.Shortwave

    It shoud work. If it doesn’t, post your logs.

    I have to type a password in the terminal every time I want to use sudo

    This is the intended behavior and should not be changed, it’s a basic security feature. Once you’ve finished setting up you system, you shouldn’t need sudo everyday anyway, except for updating/upgrading the system.

    I’m used to a desktop interface with a toolbar/start menu that I can pin frequently-used programs to, but with Debian it seems like I need to click “Activities” to do anything. Is there a way to set up the interface so it’s more like Windows in that regard?

    Assuming you’re using Gnome, this is easy to solve using Extensions. First if it’s not installed already on Firefox, install Gnome Shell Integration. It’ll let you manage Gnome Extensions directly from extensions.gnome.org

    Then, install dash-to-panel for a “windows-style” experience, or dash-to-dock for a “macos-style” experience.

    After that, you can go wild on the extensions you want to use ;)

    If I need to do a clean install, I’m thinking of switching to Ubuntu, since I’m more familiar with the interface.

    Don’t. Ubuntu will teach you nothing but the Ubuntu way. Debian is as Standard Linux as conceivable. If your only concern is the Ubuntu-style interface, configuring dash to panel to appear on the left side is all you need.

    Bobson_Dugnutt, (edited )
    @Bobson_Dugnutt@hexbear.net avatar

    I tried “flatpak remotes” and it listed flathub. I also tried “echo $?” after installation and it returns 0. So it should be working.

    But when I try to install Shortwave in the terminal it says:

    error: Nothing matches de.haeckerfelix.Shortwave in remote flathub

    I also can’t find Shortwave in the software center.

    Edit: I wonder if this is because it’s a 32 bit OS?

    wfh,

    Oh yes that’s probably it, flathub doesn’t support 32 bits architectures anymore.

    Why did you choose this architecture? Almost all x86 CPU architectures from the last 20 years are 64 bits, you should reinstall using the AMD64 image. This will solve a lot of issues and insure you get the most of your hardware.

    Bobson_Dugnutt,
    @Bobson_Dugnutt@hexbear.net avatar

    I was under the impression that it’s old enough to only work with the 32 bit OS. I’ll double check that and try installing the 64 bit version if I can.

    If the 32 bit version is all that will run, am I shit out of luck when it comes to running any modern software?

    wfh,

    What’s your CPU? 99% sure that w7 era CPUs are all 64 bits.

    Bobson_Dugnutt, (edited )
    @Bobson_Dugnutt@hexbear.net avatar

    It’s an intel core 2 duo t9300, which I’m pretty sure is 64 bit. I guess I was confused because it was previously running a 32 bit version of windows 7.

    Edit: I’m not sure if it’s amd64 or aarch64 or mips64. I think it’s amd.

    wfh,

    Yeah it supports amd64 :)

    Fun fact: AMD started out making licenced products based on of Intel’s x86 architecture, and in the early 2000s the roles were reversed when intel had to licence AMD’s 64 bits extension of this architecture.

    aarch64 are for ARM processors like the one in your phone, mips64 are embedded processors most likely found in a car or a router.

    Bobson_Dugnutt,
    @Bobson_Dugnutt@hexbear.net avatar

    Thanks! I did a fresh install of Debian (64 bit) with KDE, and it seems to be working for me, except it’s already frozen up and needed a reboot twice. I might go with a more lightweight DE if that keeps happening.

    Patch, (edited )

    I’ve just googled Dell XPS M1530 and it seems like it shipped with a Core 2 Duo CPU, which is 64 bit.

    For reference, the last mainstream 32 bit desktop processors were launched over 20 years ago. As a rule, if you’re trying to run a 32 bit machine in this day and age it is probably an antique, and running modern software on it would not be all that sensible even if you could.

    alt, (edited ) in Sell Me on Linux

    What is a reliable yet affordable option to get started?

    Unfortunately, good affordable hardware on which Linux is properly supported is hard to get by. I’m personally fond of vendors like (in alphabetical order) Framework, NovaCustom, Star Labs, System76, Tuxedo. But other vendors like ASUS, Dell, HP and Lenovo are known to sell devices that do a considerable job at supporting Linux; consider to check the compatibility/support for their devices through resources like linux-hardware.org.

    Are my concerns based in reality or is Linux going to be able to handle everything windows does without issues?

    Regarding video types; I don’t think you should have any problems regarding those; on some distros it might not be supported by default, but that should be solvable with a single command. Relying on flatpaks^[1]^ instead is another viable solution and is enabled by default on a lot of distros. Moving on to word document templates; I suppose the suite of cloud-based services found in Microsoft 365 should work regardless. As for the question if the templates would work on LibreOffice, ONLYOFFICE and the like; I simply don’t know. On to familiarity of OS and using it for business purposes; most distros that are friendlier towards newer users have been setup with sane defaults. Therefore, I don’t think there’s a lot that could go wrong as long as you’re interacting with a GUI. When interacting with a command-line interface, note that information found on the internet is often times outdated. Therefore, if you’re hesitant or unsure; consider interacting with the community for some help. We’re all in this together!

    is Linux going to be able to handle everything windows does without issues?

    You should be totally fine aside from some software that’s known to not support Linux at all.

    What else might I need to know to use Linux comfortably from the get go?

    Ask yourself the following questions:

    • To what degree are you interested to learn how it all works and to experience what Linux offers?
      • If you see it primarily as a means to an end, then pick a distro that does an excellent job at accommodating your workflow without requiring you to relearn more than necessary.
      • If instead, interest in Linux itself is the main driving force behind the switch, then please be mindful that the Linux rabbit hole is very real.

    Is it going to take a lot of time and effort to get Linux running how I need it to?

    Somewhat related to the previous question*. Like, there are distros out there that I can install for my grandfather and he wouldn’t even notice the difference. But even some (relatively) mainstream-distros can be daunting for so-called power users of Windows. E.g. I would argue I was your average Windows-user; play games, browse the internet, email, write documents, video-editing, run software required for my studies etc. It took me about two weeks before I was ‘comfortable’ on Linux. And even then, some of the software I used for e.g. video-editing just didn’t want to play nice^[2]^.

    So, yeah, sell me on Linux, please.

    If you want freedom and control over your devices, there’s simply no viable alternative.


    1. Software management on Linux -at least on the surface- is closer to Android/iOS than to Windows. You should rarely (if at all) feel the need to find software through your browser. Instead, you should interact with so-called package managers. This can be achieved through either a command-line interface or a storefront with a GUI that behaves like those found on Android/iOS etc. Coming back to Flatpak; this is an (upcoming) universal (read: (mostly) distro-agnostic) package manager that tries to solve a lot of problems that traditional package managers have had. There’s still a lot of ongoing work for it to achieve its design-goals to the fullest, but even in its current iteration it works excellent and therefore it’s unsurprising to find it enabled by default on a significant chunk of the Linux landscape. Software that are packaged using this technology are referred to as flatpaks (or flatpak if singular).
    2. In retrospect, this seems to be primarily rooted in the fact that my machine isn’t that powerful in the first place. On Windows, it managed because it was better optimized for it. Unfortunately, on Linux, this was not the case.
    inthiseconomy,

    Just a quick correction, your framework link goes to system 76.

    alt,

    Thanks for pointing that out! It has since been fixed.

    pineapplelover,

    You can get a used thinkpad for a pretty affordable price. Main issue here is OP’s workflow may not accommodate learning Linux while at their job.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #