Could not upgrade packages because --allow-downgrades not passed


I tried to update my yunohost 3.8 but it couldn’t :

WARNING - E: Packages were downgraded and -y was used without --allow-downgrades.
INFO - + Les paquets suivants seront mis à une VERSION INFÉRIEURE :
INFO - +   nodejs-doc

full log :

I know how to run apt-get from ssh, but maybe --allow-downgrades should be passed to apt-get by Yunohost ?

No because we’re not excepting packages to be downgraded and that’s uncommon / unexpected … though in that case it’s just some -doc package so I guess we don’t really care.

Naively I would just try to apt remove nodejs-doc and see if apt agrees to do that without removing any important package…

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.