How to fix poor resolution of menu fonts in Libreoffice

Libreoffice installed out of the box from Debian 12 displays a menu with an outdated theme. The fonts displayed appear distorted and squiggly. To overcome this issue, open a terminal window and enter the command below to install the libreoffice-gtk3 package. $ sudo apt-get install libreoffice-gtk3 <enter> Restart Libreoffice and the fonts now conform to … Continue reading How to fix poor resolution of menu fonts in Libreoffice

How to fix error the following packages have been held back in Linux Mint or Ubuntu Linux

When updating packages in Linux Mint 21 or Ubuntu 22.04 LTS, at times, a message appears, as shown below, that states the following packages have been held back.$ sudo apt-get dist-upgrade <enter> Reading package lists… DoneBuilding dependency tree… DoneReading state information… DoneCalculating upgrade… DoneThe following packages have been kept back:cryptsetup cryptsetup-bin cryptsetup-initramfs libcryptsetup120 upgraded, 0 … Continue reading How to fix error the following packages have been held back in Linux Mint or Ubuntu Linux

How to fix error of Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead in Ubuntu Linux 22.04 LTS or Linux Mint 21

In Ubuntu 22.04 LTS or Linux Mint 21, there has been a change in the way keys to repos are stored. When installing software like Spotify from the internet via instructions there, the commands used cause an error when running apt-get update. The following error appears: Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d … Continue reading How to fix error of Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead in Ubuntu Linux 22.04 LTS or Linux Mint 21

How to fix initramfs-tools error when updating it

Below error appears when updating the initramfs-tools: Processing triggers for initramfs-tools (0.130ubuntu3.8) …update-initramfs: Generating /boot/initrd.img-5.1.0-15-genericI: The initramfs will attempt to resume from /dev/dm-1I: (/dev/mapper/vg0-swap)I: Set the RESUME variable to override this. Before proceeding beyond this point, take a data backup. This error usually occurs if the computer had dual booting and a swap file that … Continue reading How to fix initramfs-tools error when updating it

How to fix error while updating repositories in Ubuntu or Linux Mint

On entering the apt-get update command, the following errors appeared. Reading package lists… DoneW: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease Cannot initiate the connection to dl.google.com:80 (2414:6221:4109:825::210a). - connect (101: Network is unreachable) Could not connect to dl.google.com:80 (2xx.5x.2xx.2xx), connection timed outW: Some index files failed to download. They have been ignored, or old ones used instead. … Continue reading How to fix error while updating repositories in Ubuntu or Linux Mint

Find package in which a missing file is packed ubuntu

If you want to find out to which package a particular file belong, you can use apt-file. Open a terminal window and enter the following command: $ apt-file search <filename> <enter> Where <filename> is the name of the file to lookup. If you do not have apt-file installed, you can install it on your computer … Continue reading Find package in which a missing file is packed ubuntu

apt-get dist-upgrade freezes at reading package lists due to appstreamcli in Ubuntu

Today, when I attempted to update the Ubuntu system to install the latest patches, the system hanged infinitely at the sudo apt-get update command. This appears to be a bug, but nonetheless, system patching is our priority and this is the workaround, till it gets fixed. To type the commands below, open a linux terminal … Continue reading apt-get dist-upgrade freezes at reading package lists due to appstreamcli in Ubuntu

How to add repositories to sources.list file in Debian 12

Repositories can be added the a sources.list file Linux Mint, Ubuntu or Debian. This post explains how to enable the Debian 12 default repositories after Debian has been installed on your computer. Open a terminal window and enter the commands below. Take a backup of the existing sources.list file to sources.list_backup $ sudo cp /etc/apt/sources.list … Continue reading How to add repositories to sources.list file in Debian 12

The following packages have been kept back: Message in Ubuntu when updating packages

If you used the instructions at this post to update your Ubuntu Linux packages, basically, apply patches, you get the following message at times: The following packages have been kept back: <list of packages> This basically prevents the packages listed from getting updated. To overcome this issue, there are two ways: 1. Run sudo apt-get … Continue reading The following packages have been kept back: Message in Ubuntu when updating packages

Remove or Purge package in Ubuntu

Ubuntu offers two options to remove packages. When you remove packages, you only remove the packages, but not their configuration files. Enter the following command to remove a package in a terminal window. $ sudo apt-get remove packagename <enter> When you purge packages, you remove the packages and their configuration files. Enter the command below … Continue reading Remove or Purge package in Ubuntu