Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

vagrant-vbguest plugin fails #419

Closed
Tomasthanes opened this issue Oct 10, 2021 · 1 comment
Closed

vagrant-vbguest plugin fails #419

Tomasthanes opened this issue Oct 10, 2021 · 1 comment
Labels

Comments

@Tomasthanes
Copy link

vagrant-vbguest fails.

First versions.

  • Host OS: Windows 10 (10.0.19043 Build 19043)
  • Vagrant: v2.2.18
  • vagrant-vbguest: v0.30.0 (and 0.24.0 but a different problem)
  • installing Vagrant Box: centos/8 (virtualbox, 2011.0)

Relevant output from vagrant run:

`[controller] No Virtualbox Guest Additions installation found.
Last metadata expiration check: 0:00:04 ago on Sun 10 Oct 2021 01:31:54 AM UTC.
Package centos-linux-release-8.3-1.2011.el8.noarch is already installed.
Dependencies resolved.

Package Arch Version Repository Size

Upgrading:
centos-linux-release noarch 8.4-1.2105.el8 baseos 22 k

Transaction Summary

Upgrade 1 Package

Total download size: 22 k
Downloading Packages:
centos-linux-release-8.4-1.2105.el8.noarch.rpm 60 kB/s | 22 kB 00:00

Total 39 kB/s | 22 kB 00:00
warning: /var/cache/dnf/baseos-31c79d9833c65cf7/packages/centos-linux-release-8.4-1.2105.el8.noarch.
rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY
CentOS Linux 8 - BaseOS 1.6 MB/s | 1.6 kB 00:00
Importing GPG key 0x8483C65D:
Userid : "CentOS (CentOS Official Signing Key) security@centos.org"
Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: centos-linux-release-8.4-1.2105.el8.noarch 1/1
Upgrading : centos-linux-release-8.4-1.2105.el8.noarch 1/2
Cleanup : centos-linux-release-8.3-1.2011.el8.noarch 2/2
Running scriptlet: centos-linux-release-8.3-1.2011.el8.noarch 2/2
Verifying : centos-linux-release-8.4-1.2105.el8.noarch 1/2
Verifying : centos-linux-release-8.3-1.2011.el8.noarch 2/2

Upgraded:
centos-linux-release-8.4-1.2105.el8.noarch

Complete!
Last metadata expiration check: 0:00:08 ago on Sun 10 Oct 2021 01:31:54 AM UTC.
No match for argument: kernel-devel-4.18.0-240.1.1.el8_3.x86_64
Error: Unable to find a match: kernel-devel-4.18.0-240.1.1.el8_3.x86_64
Unmounting Virtualbox Guest Additions ISO from: /mnt
umount: /mnt: not mounted.
==> controller: Checking for guest additions in VM...
controller: No guest additions were detected on the base box for this VM! Guest
controller: additions are required for forwarded ports, shared folders, host only
controller: networking, and more. If SSH fails on this machine, please install
controller: the guest additions and repackage the box to continue.
controller:
controller: This is not an error message; everything may continue to work properly,
controller: in which case you may ignore this message.
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

umount /mnt

Stdout from the command:

Stderr from the command:

umount: /mnt: not mounted.`

I did some research and people seemed to recommend reverting to either v0.21 or v0.24. They both fail with a similar error (this is for v0.24):

`[controller] No Virtualbox Guest Additions installation found.
Last metadata expiration check: 0:00:03 ago on Sun 10 Oct 2021 01:44:07 AM UTC.
Package centos-linux-release-8.3-1.2011.el8.noarch is already installed.
Dependencies resolved.

Package Arch Version Repository Size

Upgrading:
centos-linux-release noarch 8.4-1.2105.el8 baseos 22 k

Transaction Summary

Upgrade 1 Package

Total download size: 22 k
Downloading Packages:
centos-linux-release-8.4-1.2105.el8.noarch.rpm 78 kB/s | 22 kB 00:00

Total 46 kB/s | 22 kB 00:00
warning: /var/cache/dnf/baseos-31c79d9833c65cf7/packages/centos-linux-release-8.4-1.2105.el8.noarch.
rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY
CentOS Linux 8 - BaseOS 1.6 MB/s | 1.6 kB 00:00
Importing GPG key 0x8483C65D:
Userid : "CentOS (CentOS Official Signing Key) security@centos.org"
Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: centos-linux-release-8.4-1.2105.el8.noarch 1/1
Upgrading : centos-linux-release-8.4-1.2105.el8.noarch 1/2
Cleanup : centos-linux-release-8.3-1.2011.el8.noarch 2/2
Running scriptlet: centos-linux-release-8.3-1.2011.el8.noarch 2/2
Verifying : centos-linux-release-8.4-1.2105.el8.noarch 1/2
Verifying : centos-linux-release-8.3-1.2011.el8.noarch 2/2

Upgraded:
centos-linux-release-8.4-1.2105.el8.noarch

Complete!
Error: Unknown repo: 'C*-base'
==> controller: Checking for guest additions in VM...
controller: No guest additions were detected on the base box for this VM! Guest
controller: additions are required for forwarded ports, shared folders, host only
controller: networking, and more. If SSH fails on this machine, please install
controller: the guest additions and repackage the box to continue.
controller:
controller: This is not an error message; everything may continue to work properly,
controller: in which case you may ignore this message.
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

yum install -y kernel-devel-uname -r --enablerepo=C*-base --enablerepo=C*-updates

Stdout from the command:

Stderr from the command:

Error: Unknown repo: 'C*-base'`

For now, I'm going to have to uninstall the vagrant-vbguest plugin so I can continue to make progress.

@stale
Copy link

stale bot commented Mar 2, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 2, 2022
@stale stale bot closed this as completed Apr 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant