Installation of pimcore 5

#1

When trying to install latest pimcore 5 using bin/install pimcore:install, it throws this error: " Fatal error: Uncaught Error: Class ‘Symfony\Component\Debug\Debug’ not found in /var/www/html/…/bin/install:46".

#2

Have you tried composer update ?

#3

Yes I did and it was up to date.