I am running Laravel/homestead 14.0.2 with parallels. Yesterday, vagrant up was working fine. Today, when I try to run vagrant up I get the following error:
homestead: E: Repository 'https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease' changed its 'Label' value from '***** The main PPA for supported PHP versions with many PECL extensions *****' to 'PPA for PHP'
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
Does anybody know what this means? How to fix this error? Thanks.
Since the machine was already running after the vagrant up
command, I used vagrant ssh
to log into the machine using SSH. Then I performed update using sudo apt update
and accepted label change.
Then I logged out of the VM using Ctrl+D
and rerun vagrant up --provision
. It worked.