Install error : Broken packages Error: apt-get upgrade failed

hi,
many try but always get error on Fresh raspberry pi os 10 buster 64bit.

Adding required repositories to proceed with installation:
[ * ] NGINX
[ * ] PHP
[ * ] MariaDB
[ * ] Hestia Control Panel
Updating currently installed packages, please wait.../E: Broken packages
Error: apt-get upgrade failed

how to solve this error?

Check /root/hst_backups_xxx

And the error log

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
vlc-bin : Depends: libvlc-bin (= 3.0.12-0+deb10u1+rpt1+arm64) but 3.0.12-0+deb10u1+rpt3 is to be installed
vlc-plugin-skins2 : Depends: vlc-plugin-qt (= 3.0.12-0+deb10u1+rpt3) but 3.0.12-0+deb10u1+rpt1+arm64 is to be installed

VLC is the VideoLAN project’s media player. It plays MPEG, MPEG-2, MPEG-4, DivX, MOV, WMV, QuickTime, WebM, FLAC, MP3, Ogg/Vorbis files, DVDs, VCDs, podcasts, and multimedia streams from various network sources.

Proablly some issues with some packages have issues for VLC player

:white_check_mark: solved with this command:

Update:

sudo apt-get update

install VLC :

sudo apt-get install vlc

Only for information. Error messages

Message 1:
Error: nginx restart failed

Message 2:

nginx: [warn] “ssl_stapling” ignored, host not found in OCSP responder “r3.o.lencr.org” in the certificate “/home/admin/conf/web/xx.xx-xxx.xx/ssl/xx.xx-xxx.xxe.pem”
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: [emerg] bind() to xx.xx.xx.xx:80 failed (99: Cannot assign requested address)
nginx: configuration file /etc/nginx/nginx.conf test failed
Job for nginx.service failed because the control process exited with error code.
See “systemctl status nginx.service” and “journalctl -xe” for details.

Message 3:
W: Failed to fetch https://apt.hestiacp.com/dists/buster/InRelease Temporary failure resolving ‘apt.hestiacp.com

I’m currently resetting my servers with Timeshift and trying the suggested solution.

Best regards

Tom

Message 1 is the cause of message 2

Warning it can be ignored if it is an self generated ssl ignore the massage. If it is an LE certificate request a new one after done with next error

nginx: [emerg] bind() to xx.xx.xx.xx:80 failed (99: Cannot assign requested address)

There al ready a service running on this port or you have a dynamic ip and the server tries to bind to this ip.

https://docs.hestiacp.com/admin_docs/settings.html#unable-to-bind-adress

For a fix

Message 3:
Try again to run apt upgrade && apt upgrade

No need to restore the server

Background: Because I update the systems manually, the “source.list” is deactivated.

If the Hestia installation requires additional packages, the attempt will fail.

Solution 1: activate “Source.list”.
Solution 2: also switch off the automatic update of Hestia.

Best regards

Tom

Updates always require new packages… As that is the way how distribute them …

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