GalliumOS / galliumos-distro

Docs, issues, and artwork sources for GalliumOS
https://galliumos.org/
GNU General Public License v2.0
348 stars 11 forks source link

Unable to install ttf-mscorefonts-installer #517

Closed rwky closed 3 months ago

rwky commented 4 years ago

Acer CB3-111 running MrChromebox firmware Gallium OS 3.0

ttf-mscorefonts-installer fails to install due to dependency issues:

The following packages have unmet dependencies:
 ttf-mscorefonts-installer : Depends: update-notifier-common (>= 0.119ubuntu2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

After drilling down the dependencies it comes down to this:

The following packages have unmet dependencies:
 python3-distupgrade : Depends: python3-update-manager (>= 1:18.04.11.9~) but 1:18.04.11-galliumos0 is to be installed
E: Unable to correct problems, you have held broken packages.

The .9 is what's doing it, the galliumos package needs updating to 1:18.04.11.9-galliumos0

Elelytha commented 4 years ago

Same problem. Is there a fix?

Elelytha commented 4 years ago

Workaround:

wget http://ftp.us.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb sudo dpkg -i ttf-mscorefonts-installer_3.6_all.deb

I then had to continue with this: sudo apt-get install cabextract sudo apt --fix-broken install

ari62 commented 7 months ago

For a Debian based Dockerfile I needed to do:

RUN apt-get install -y  cabextract xfonts-utils
RUN apt --fix-broken install
RUN wget http://ftp.us.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.8.1_all.deb
RUN dpkg -i ttf-mscorefonts-installer_3.8.1_all.deb