Library error when loading the latest Ubuntu/Jammy64 box image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
New
|
Undecided
|
Unassigned |
Bug Description
I am using Vagrant to build a new Ubuntu/Jammy64 virtual machine.
When I last built this box, (version: '20221014.0.0') there were no issues.
However, when I tried to build a new box with the latest version I got library errors. See the following output for the steps.
--- BEGIN STDOUT ---
PS D:\Source\vm-box> vagrant up
Bringing machine 'devbx' up with 'virtualbox' provider...
==> devbx: Importing base box 'ubuntu/jammy64'...
==> devbx: Matching MAC address for NAT networking...
==> devbx: Checking if box 'ubuntu/jammy64' version '20221124.0.0' is up to date...
==> devbx: [vagrant-
==> devbx: [vagrant-
==> devbx: [vagrant-
==> devbx: [vagrant-
==> devbx: Setting the name of the VM: v-pods_
==> devbx: Clearing any previously set network interfaces...
==> devbx: Preparing network interfaces based on configuration...
devbx: Adapter 1: nat
devbx: Adapter 2: hostonly
==> devbx: Forwarding ports...
devbx: 22 (guest) => 2222 (host) (adapter 1)
==> devbx: Running 'pre-boot' VM customizations...
==> devbx: Booting VM...
==> devbx: Waiting for machine to boot. This may take a few minutes...
devbx: SSH address: 127.0.0.1:2222
devbx: SSH username: vagrant
devbx: SSH auth method: private key
==> devbx: Machine booted and ready!
[devbx] A Virtualbox Guest Additions installation was found but no tools to rebuild or start them.
Reading package lists...
Building dependency tree...
Reading state information...
linux-headers-
linux-headers-
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dkms : Depends: gcc-12 but it is not installable
Recommends: fakeroot but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
... ... ...
--- END STDOUT ---
At this point I killed the vagrant build. I don't need to build a box with library errors since I can revert to the old version.
Thank you for your attention.
G...C
Could you provide information about how you're deploying the box and vagrant environment?
1. vagrant version
2. virtualbox version
3. any deployment info / scripts you can share
it looks like you're automation, and I need to be able to reproduce what's happening. Looking at the error, it looks more likely to be at the package level than vagrant level