【问题标题】:vagrant checksum error while installing linux-mint xfce desktop安装 linux-mint xfce 桌面时 vagrant 校验和错误
【发布时间】:2020-08-16 13:16:46
【问题描述】:

流浪文件:

# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
  config.vm.box = "zenshade/mint64-xfce-20"
  config.vm.box_version = "1.0.0"
  config.vm.hostname="master1"
  config.vm.provider "virtualbox" do |vb|
  #   # Display the VirtualBox GUI when booting the machine
      vb.gui = true
  #
  #   # Customize the amount of memory on the VM:
        vb.memory = 1500
        vb.cpus = 2
        vb.name = "kube-master1"
        if !File.exist?("disk/master1.vdi")
          vb.customize [
            'createhd', 
            '--filename', 'disk/master1', 
            '--format', 'VDI', 
            '--size', 20000
            ] 
        end
  end
end

运行后出现以下错误:

The checksum of the downloaded box did not match the expected
value. Please verify that you have the proper URL setup and that
you're downloading the proper file.

Expected: 5cdefeacdd0259ea666f1112211af306  package.box
Received: 5cdefeacdd0259ea666f1112211af306

我没有得到校验和错误背后的原因。我正在尝试设置 linux mint xfce 桌面。如何匹配校验和值?

【问题讨论】:

    标签: vagrant linux-mint vagrantfile xfce


    【解决方案1】:

    对于这个问题,我认为我们只有一个解决方案可以将 vagrant 云上的包的校验和更新为预期的校验和。

    预期:5cdefeacdd0259ea666f1112211af306 package.box 收到:5cdefeacdd0259ea666f1112211af306

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-07-13
      • 2018-09-29
      • 2018-02-02
      • 1970-01-01
      • 2019-01-20
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多