terrywang / vagrantboxes

Handcrafted Arch Linux Vagrant base box with :heart:
250 stars 29 forks source link

Upgrade archlinux box for convenience #20

Closed louy2 closed 9 years ago

louy2 commented 9 years ago

Due to pacman 4.2 changing database format and new community package manager added to the keyring the upgrading process is not seamless.

terrywang commented 9 years ago

The Arch Linux x86_64 Vagrant base box is updated on a regular basis, you may have downloaded an old version of the box. The current build has pacman 4.2.1 already.

In fact, after pacman update you just need to run pacman-db-upgrade and it'll take care of the rest.

Have a look at /var/log/pacman.log, the upgrade from 4.1.2-7 to 4.2.0-5 was done on 29 December, 2014.

louy2 commented 9 years ago

I am still using the box from Hashicorp Atlas. How do I update without harming my existing VMs?

terrywang commented 9 years ago

@louy2 You need to download the box again as it has been updated a couple of times after that "release" on Atlas. Remember to always refer to archlinux-x86_64 for the up-to-date box.