You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



VirtualBox Update Bug Linux Lite

Author (Read 165947 times)

0 Members and 3 Guests are viewing this topic.

Re: VirtualBox Update Bug Linux Lite
« Reply #16 on: March 27, 2018, 12:52:09 AM »
 

The Repairman

  • Occasional Poster
  • **
  • 95
    Posts
  • Reputation: 13
    • View Profile

  • CPU: Intel Core2 Duo E6550 2333 MHz

  • MEMORY: 6Gb

  • VIDEO CARD: Intel 82Q35 Express Integrated Graphics

  • Kernel: 5.x
 8)
« Last Edit: July 14, 2018, 10:06:59 PM by The Repairman »
 

Re: VirtualBox Update Bug Linux Lite
« Reply #15 on: March 26, 2018, 07:54:02 PM »
 

bonnevie

  • Forum Regular
  • ***
  • 107
    Posts
  • Reputation: 15
  • Linux Lite Member
    • View Profile

  • CPU: Intel i3 Dual Core

  • MEMORY: 12Gb

  • Kernel: 5.x
@The Repairman
It's optional.  You have to select it in your Linux Software Whisker Menu.  So no, it's not in your default install.

LL6.6 in VM
LL5.8 Host
 

Re: VirtualBox Update Bug Linux Lite
« Reply #14 on: March 26, 2018, 03:42:00 PM »
 

The Repairman

  • Occasional Poster
  • **
  • 95
    Posts
  • Reputation: 13
    • View Profile

  • CPU: Intel Core2 Duo E6550 2333 MHz

  • MEMORY: 6Gb

  • VIDEO CARD: Intel 82Q35 Express Integrated Graphics

  • Kernel: 5.x
 8)
« Last Edit: July 14, 2018, 10:06:25 PM by The Repairman »
 

Re: VirtualBox Update Bug Linux Lite
« Reply #13 on: March 26, 2018, 12:16:03 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x



This bug does not affect all users but is significant enough to report as such.

TC
[/size]

Agreed.

Have been following these threads since they started. Thanks to everyone for their input.

Sent from my Mobile phone using Tapatalk

 

Re: VirtualBox Update Bug Linux Lite
« Reply #12 on: March 26, 2018, 10:10:01 AM »
 

trinidad

  • Platinum Level Poster
  • **********
  • 1463
    Posts
  • Reputation: 212
  • Linux Lite Member
    • View Profile
    • dbts-analytics.com

  • CPU: i7 4 cores 8 threads

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD graphics

  • Kernel: 5.x
Installing a new LL VM, or updating a running LL VM.

Be aware that updating virtual box guest will cause your LL VM to crash for one/or/all of at least three reasons on some machines. Best to follow the workaround below.

When installing:
Do NOT choose to update or install third party software during installation.
Do NOT enable auto-login during the installation process.
Do NOT update after installation until you HOLD virtual box guest additions updates.

If you have a running an LL VM now HOLD the virtual box guest additions before updating. See below.
sudo apt-mark hold virtualbox-guest-dkms
sudo apt-mark hold virtualbox-guest-utils
sudo apt-mark hold virtualbox-guest-x11

This bug does not affect all users but is significant enough to report as such.

TC



All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 

Re: VirtualBox Update Bug Linux Lite
« Reply #11 on: March 24, 2018, 01:54:19 PM »
 

trinidad

  • Platinum Level Poster
  • **********
  • 1463
    Posts
  • Reputation: 212
  • Linux Lite Member
    • View Profile
    • dbts-analytics.com

  • CPU: i7 4 cores 8 threads

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD graphics

  • Kernel: 5.x
Unfortunately removing the package from the terminal will not collect the dependencies broken or unbroken to fix correctly, so yes you are probably better off to reinstall.

Yep. Tracked down the beginning of the problem. V-box updates for guest additions are from the 18.04 Ubu repos. Don't bother with them as they are buggy and have several ongoing issues. HOLD v-box updates unless you are on at least 4.13 HWE running Intel or 4.15 kernel. Also policy kit is out of date as well in LTS. Best to hold for now and wait. I think it would be best to just hold them back for now in the restricted repo for LL or people installing/running VMs are going to continue crashing them with updates. I didn't think of it immediately but it would be nice to see the install log from someone with a crashed vm. Here I think on the vm os  /var/log/vboxadd-setup.log

TC
« Last Edit: March 26, 2018, 09:47:43 AM by trinidad »
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 

Re: VirtualBox Update Bug Linux Lite
« Reply #10 on: March 24, 2018, 12:31:05 PM »
 

ch289

  • New to Forums
  • *
  • 1
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
So good to come here and see you all already figuring out exactly the problem I was having  ;)

Am I correct in understanding then that the only solution for now is to abandon any VMs that had the update without those packages being held?

Thanks for all your work on this excellent distro
 

Re: VirtualBox Update Bug Linux Lite
« Reply #9 on: March 24, 2018, 12:24:17 PM »
 

trinidad

  • Platinum Level Poster
  • **********
  • 1463
    Posts
  • Reputation: 212
  • Linux Lite Member
    • View Profile
    • dbts-analytics.com

  • CPU: i7 4 cores 8 threads

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD graphics

  • Kernel: 5.x
@ralphy

The v-box packages are definitely the issue but its frustrating to try to track any known bugs. It may be the kernel vrs. package repo involving the qt5 lib, given that v-box uses the one from Ubu 16.10 even though it's listed the same in 16.04. It may also be the v-box login message application, which may be deprecated relative to lightdm. I am leaning toward a combination of factors that are causing the issue in the v-box updates. In any case I have an updated v-LL 3.8 running on my Deb machine again.

For now your method works for installation.
1) Do NOT install updates during installation, or third party software.
2) Do NOt select autologin during installation.
3) After the system reboots and is up and running HOLD the three v-box packages BEFORE running updates.

TC



All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 

Re: VirtualBox Update Bug Linux Lite
« Reply #8 on: March 23, 2018, 09:13:01 PM »
 

ralphy

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 741
    Posts
  • Reputation: 117
  • Linux Lite Developer
    • View Profile
@Edgewood - virtualbox updates is what's causing the issue for the most part.  As long as these updates are not installed there will be no issues with the VM. Tested on VMWare Workstation Pro 14, VMWare Fusion and ESXi.

Also during updates I kept all original files when prompted (/etc/issue, etc/release and so on.) I installed every single update with VNC enabled and disabled, no vmware-tools installed and also no open-vm-tools installed just to make sure it was not a conflict between packages.





So, I would certainly hold those packages and wait for the next update and test again, but for now, if installed on a VMWare VM it will kill it. As I mentioned before, it seems to prevent policykit-1-gnome from launching which basically gives you a blank screen... lightdm/session cannot authenticate due to the missing authentication agent.


Code: [Select]
sudo apt-mark hold virtualbox-guest-dkms
sudo apt-mark hold virtualbox-guest-utils
sudo apt-mark hold virtualbox-guest-x11

OR


Code: [Select]
sudo apt-mark hold virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11
Which of the three packages is the one actually killing it, I didn't test between those three because they pretty much depend on each other, so by default users will be prompted to install at least two of the tree packages due to their mutual dependency. I might run some tests later. And it makes sense after all because other users have reported having issues after installing virtualbox updates (here in the forum - recent days).


Another thing I noticed,  is that policykit failed to autostart when the primary user is set to auto-login during installation. It did the same for me twice, whether I installed updates or not during the installation process. virtualbox packages do not get updated during installation though, so there are two different scenarios in which we can end up with a blank screen VM or a VM that doesn't launch applications that requires administrative privileges due to the broken authentication agent.


Finally, I tested Install Updates (https://github.com/linuxlite/litesoftware/blob/master/usr/scripts/updates-gui#L177) and in the case of these packages they are defaulting to keep the original file, so users shouldn't have had any issues because of the non-interactive install.


That's what I've found during my tests. Maybe someone else wants to try to replicate this.
« Last Edit: March 23, 2018, 09:25:08 PM by ralphy »
https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

 

Re: VirtualBox Update Bug Linux Lite
« Reply #7 on: March 23, 2018, 07:24:35 PM »
 

ralphy

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 741
    Posts
  • Reputation: 117
  • Linux Lite Developer
    • View Profile
I've installed LL 5 times already to pinpoint exactly why it is breaking... I think I'm getting closer.

So far what I can say that broke in previous install is policykit-1-gnome... it fails to authenticate against session and hence apps won't launch, which make it look like everything is broken when in fact the authentication agent is what fails to start.

After I complete my fifth installation which is what I'm testing now, I believe that what's happening is that somehow the agent is failing when the primary sudoer account is created and set for auto-login during installation.

I'm running updates right now to see if it breaks again. If it doesn't break my previous description is certainly what causes the problems in the previous four installs.

It has been the authentication agent all along nevertheless.
https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

 

Re: VirtualBox Update Bug Linux Lite
« Reply #6 on: March 23, 2018, 06:23:09 PM »
 

supergamer

  • Forum Regular
  • ***
  • 163
    Posts
  • Reputation: 27
  • Linux Lite Member
    • View Profile

  • CPU: AMD Phenom 565

  • MEMORY: 12Gb

  • VIDEO CARD: 550 ti
I'm running an AMD 565 with the 4.13.0-38 hwe kernel and do not have any of these issues. I actually have just rolled several test iso's the last couple of days without any issues at all from Virtualbox.
 

Re: VirtualBox Update Bug Linux Lite
« Reply #5 on: March 23, 2018, 06:09:56 PM »
 

trinidad

  • Platinum Level Poster
  • **********
  • 1463
    Posts
  • Reputation: 212
  • Linux Lite Member
    • View Profile
    • dbts-analytics.com

  • CPU: i7 4 cores 8 threads

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD graphics

  • Kernel: 5.x
I broke 3 LL vms this month (all on AMDs). I think it's the kernel change to retpoline. The Deb VMs run fine but they were vm images to begin with. I have tried all the known fixes from the past (vmtools, video mem, etc.) to no avail. I was just waiting for this topic to turn up again. Not much is being said elsewhere so I assumed it was operator error on my part. It's Ubuntu and AMD somehow. My old core2 duo Dell has no issue, in Deb, LL, or Ubuntu. I guess I'll take it seriously and look deeper now. LL may have to package a separate vm image otherwise.

TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 

Re: VirtualBox Update Bug Linux Lite
« Reply #4 on: March 23, 2018, 04:20:05 PM »
 

ralphy

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 741
    Posts
  • Reputation: 117
  • Linux Lite Developer
    • View Profile

Just ran updates and rebooted. Desktop came back just fine with a minor issue though. The Plugin Indicator seems to have broke during the update.


This is what I recommend for you to do:


1- Instead of installing updates using the Install Updates tool in Linux Lite:


- Update from Terminal with sudo apt-get update && sudo apt-get upgrade
You will be prompted during updates installation to replace or keep some grub files. ALWAYS keep the current file in the system when prompted.


- Or use Update Manager for Linux Lite: It will also ask you to keep or replace those files when running updates. ALWAYS keep the current file in the system when prompted.


I think I now have an idea of what's causing quite a few reports of broken systems after install:


1- Kernel updates that simply don't play nice with the hardware (reverting to earlier kernel with correct the problem for users in most cases)
2- Install Updates may be replacing some files without asking the user whether to keep it or replace it.


Running manual updates or using Update Manager allows the user to opt-out or a file replacement. That might explain the reason why I don't find myself having the issue in the first place (I use Update Manager instead of Install Updates).


Now back to find out what broke the Indicator Plugin... but this is a different beast that shouldn't leave anyone without a fully useable Desktop.


Those are my findings so far.


My assessment is completely wrong. My fresh VM is also broken as the OP states.
« Last Edit: March 23, 2018, 04:50:57 PM by ralphy »
https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

 

Re: VirtualBox Update Bug Linux Lite
« Reply #3 on: March 23, 2018, 04:13:20 PM »
 

trinidad

  • Platinum Level Poster
  • **********
  • 1463
    Posts
  • Reputation: 212
  • Linux Lite Member
    • View Profile
    • dbts-analytics.com

  • CPU: i7 4 cores 8 threads

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD graphics

  • Kernel: 5.x
I'd guess you have to install Ubuntu vmtools again after updating to the virtual system, like a few years back. Happens with AMD expecting OEM tools.

TC
« Last Edit: March 23, 2018, 04:15:15 PM by trinidad »
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 

Re: VirtualBox Update Bug Linux Lite
« Reply #2 on: March 23, 2018, 03:34:50 PM »
 

ralphy

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 741
    Posts
  • Reputation: 117
  • Linux Lite Developer
    • View Profile
I'm running latest 3.8 version on VMWare with all updates. I haven't experienced this issue myself. Will be firing up another VM on Workstation 14 Pro to see if I can duplicate this issue and report back.


Installing updates now (182 updates available on fresh install)...
« Last Edit: March 23, 2018, 04:01:59 PM by ralphy »
https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section