3/12/2025

Debug Ubuntu system

Reading package lists... Done

Building dependency tree       

Reading state information... Done

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:

 libcairo2-dev : Depends: libcairo2 (= 1.16.0-4ubuntu1) but 1.16.0-4ubuntu1ppa1 is to be installed

                 Depends: libcairo-gobject2 (= 1.16.0-4ubuntu1) but 1.16.0-4ubuntu1ppa1 is to be installed

                 Depends: libfontconfig1-dev (>= 2.2.95) but it is not going to be installed

                 Depends: libfreetype6-dev (>= 2.1.10) but it is not going to be installed

E: Unable to correct problems, you have held broken packages.


sudo apt-cache policy libcairo2  

After the system is fixed: sudo apt install ubuntu-desktop to recover all missing components

No comments: