Public bug reported:

Cant install virtualbox without some new 8 character long password. Your system 
has UEFI Secure Boot enabled.
I dont want to make some new password in my life

sudo apt install virtualbox
and this comes up asking to make 8 charater long password


sudo apt install virtualbox
[sudo] password for kng: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  dkms libgsoap-2.8.132t64 liblzf1 libvncserver1 virtualbox-dkms virtualbox-qt
Suggested packages:
  vde2 virtualbox-guest-additions-iso
The following NEW packages will be installed:
  dkms libgsoap-2.8.132t64 liblzf1 libvncserver1 virtualbox virtualbox-dkms 
virtualbox-qt
0 upgraded, 7 newly installed, 0 to remove and 5 not upgraded.
Need to get 58,0 MB of archives.
After this operation, 198 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://archive.ubuntu.com/ubuntu noble/main amd64 dkms all 
3.0.11-1ubuntu13 [51,5 kB]
Get:2 http://archive.ubuntu.com/ubuntu noble/universe amd64 libgsoap-2.8.132t64 
amd64 2.8.132-2.1build2 [264 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble/universe amd64 liblzf1 amd64 3.6-4 
[7 624 B]
Get:4 http://archive.ubuntu.com/ubuntu noble/main amd64 libvncserver1 amd64 
0.9.14+dfsg-1build2 [134 kB]
Get:5 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 
virtualbox-dkms amd64 7.0.16-dfsg-2ubuntu1.1 [763 kB]
Get:6 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 
virtualbox amd64 7.0.16-dfsg-2ubuntu1.1 [31,7 MB]
Get:7 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 
virtualbox-qt amd64 7.0.16-dfsg-2ubuntu1.1 [25,1 MB]
Fetched 58,0 MB in 3s (17,3 MB/s)        
Selecting previously unselected package dkms.
(Reading database ... 218561 files and directories currently installed.)
Preparing to unpack .../0-dkms_3.0.11-1ubuntu13_all.deb ...
Unpacking dkms (3.0.11-1ubuntu13) ...
Selecting previously unselected package libgsoap-2.8.132t64:amd64.
Preparing to unpack .../1-libgsoap-2.8.132t64_2.8.132-2.1build2_amd64.deb ...
Unpacking libgsoap-2.8.132t64:amd64 (2.8.132-2.1build2) ...
Selecting previously unselected package liblzf1:amd64.
Preparing to unpack .../2-liblzf1_3.6-4_amd64.deb ...
Unpacking liblzf1:amd64 (3.6-4) ...
Selecting previously unselected package libvncserver1:amd64.
Preparing to unpack .../3-libvncserver1_0.9.14+dfsg-1build2_amd64.deb ...
Unpacking libvncserver1:amd64 (0.9.14+dfsg-1build2) ...
Selecting previously unselected package virtualbox-dkms.
Preparing to unpack .../4-virtualbox-dkms_7.0.16-dfsg-2ubuntu1.1_amd64.deb ...
Unpacking virtualbox-dkms (7.0.16-dfsg-2ubuntu1.1) ...
Selecting previously unselected package virtualbox.
Preparing to unpack .../5-virtualbox_7.0.16-dfsg-2ubuntu1.1_amd64.deb ...
Unpacking virtualbox (7.0.16-dfsg-2ubuntu1.1) ...
Selecting previously unselected package virtualbox-qt.
Preparing to unpack .../6-virtualbox-qt_7.0.16-dfsg-2ubuntu1.1_amd64.deb ...
Unpacking virtualbox-qt (7.0.16-dfsg-2ubuntu1.1) ...
Setting up libvncserver1:amd64 (0.9.14+dfsg-1build2) ...
Setting up dkms (3.0.11-1ubuntu13) ...
Setting up liblzf1:amd64 (3.6-4) ...
Setting up virtualbox-dkms (7.0.16-dfsg-2ubuntu1.1) ...
Loading new virtualbox-7.0.16 DKMS files...
Building for 6.17.0-14-generic
Building initial module for 6.17.0-14-generic
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
dpkg: error processing package virtualbox-dkms (--configure):
 installed virtualbox-dkms package post-installation script subprocess returned 
error exit status 10
Setting up libgsoap-2.8.132t64:amd64 (2.8.132-2.1build2) ...
dpkg: dependency problems prevent configuration of virtualbox:
 virtualbox depends on virtualbox-dkms (>= 7.0.16-dfsg-2ubuntu1.1) | 
virtualbox-source (>= 7.0.16-dfsg-2ubuntu1.1) | virtualbox-modules; however:
  Package virtualbox-dkms is not configured yet.
  Package virtualbox-source is not installed.
  Package virtualbox-modules is not installed.
  Package virtualbox-dkms which provides virtualbox-modules is not configured 
yet.

dpkg: error processing package virtualbox (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup 
error from a previous failure.
                                                                                
                          No apport report written because the error message 
indicates its a followup error from a previous failure.
                                                        dpkg: dependency 
problems prevent configuration of virtualbox-qt:
 virtualbox-qt depends on virtualbox (= 7.0.16-dfsg-2ubuntu1.1); however:
  Package virtualbox is not configured yet.

dpkg: error processing package virtualbox-qt (--configure):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.7) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for shared-mime-info (2.4-4) ...
Errors were encountered while processing:
 virtualbox-dkms
 virtualbox
 virtualbox-qt
E: Sub-process /usr/bin/dpkg returned an error code (1)


Configuring Secure Boot 
├──────────────────────────────────────────────────────────────┐
  │                                                                             
                                                                         │
  │ Your system has UEFI Secure Boot enabled.                                   
                                                                         │
  │                                                                             
                                                                         │
  │ UEFI Secure Boot requires additional configuration to work with third-party 
drivers.                                                                 │
  │                                                                             
                                                                         │
  │ The system will assist you in configuring UEFI Secure Boot. To permit the 
use of third-party drivers, a new Machine-Owner Key (MOK) has been         │
  │ generated. This key now needs to be enrolled in your system's firmware.     
                                                                         │
  │                                                                             
                                                                         │
  │ To ensure that this change is being made by you as an authorized user, and 
not by an attacker, you must choose a password now and then confirm the   │
  │ change after reboot using the same password, in both the "Enroll MOK" and 
"Change Secure Boot state" menus that will be presented to you when this   │
  │ system reboots.                                                             
                                                                         │
  │                                                                             
                                                                         │
  │ If you proceed but do not confirm the password upon reboot, Ubuntu will 
still be able to boot on your system but any hardware that requires          │
  │ third-party drivers to work correctly may not be usable.                    
                                                                         │
  │                                                                             
                                                                         │
  │                                                                        <Ok>

Configuring Secure Boot ├────────────────────────┐
                                       │                                        
                                   │
                                       │                                        
                                   │
                                       │ Enter a password for Secure Boot. It 
will be asked again after a reboot.  │
                                       │                                        
                                   │
                                       │ 
_________________________________________________________________________ │
                                       │                                        
                                   │
                                       │                    <Ok>                
        <Cancel>                   │
                                       │

 Configuring Secure Boot ├────────────────────────────────────────┐
                        │                                                       
                                                   │
                        │ Invalid password                                      
                                                   │
                        │                                                       
                                                   │
                        │ The Secure Boot key you've entered is not valid. The 
password used must be between 8 and 16 characters.  │
                        │                                                       
                                                   │
                        │                                                  <Ok> 
                                                   │
                        │

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: virtualbox 7.0.16-dfsg-2ubuntu1.1
ProcVersionSignature: Ubuntu 6.17.0-14.14~24.04.1-generic 6.17.9
Uname: Linux 6.17.0-14-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Tue Feb 24 01:36:58 2026
InstallationDate: Installed on 2026-02-14 (10 days ago)
InstallationMedia: Kubuntu 24.04.4 LTS "Noble Numbat" - Release amd64 (20260210)
SourcePackage: virtualbox
UpgradeStatus: No upgrade log present (probably fresh install)
VirtualBox.DpkgList:
 ii  linux-headers-6.17.0-14-generic                          
6.17.0-14.14~24.04.1                        amd64        Linux kernel headers 
for version 6.17.0
 ii  linux-headers-generic-hwe-24.04                          
6.17.0-14.14~24.04.1                        amd64        Generic Linux kernel 
headers
 iU  virtualbox                                               
7.0.16-dfsg-2ubuntu1.1                      amd64        x86 virtualization 
solution - base binaries
 iF  virtualbox-dkms                                          
7.0.16-dfsg-2ubuntu1.1                      amd64        x86 virtualization 
solution - kernel module sources for dkms
 iU  virtualbox-qt                                            
7.0.16-dfsg-2ubuntu1.1                      amd64        x86 virtualization 
solution - Qt based user interface
modified.conffile..etc.default.virtualbox: [deleted]
modified.conffile..etc.init.d.virtualbox: [deleted]

** Affects: virtualbox (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

** Attachment added: "Screenshot_20260224_013645.png"
   
https://bugs.launchpad.net/bugs/2142528/+attachment/5948169/+files/Screenshot_20260224_013645.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142528

Title:
  Cant install virtualbox without some new 8 character long password.
  Your system has UEFI Secure Boot enabled.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/2142528/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to