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
Tag: apt
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 install Adobe Reader for Linux on Linux Mint or Ubuntu
Download the last Linux version of Adobe Acrobat Reader from the archives of Adobe after opening a terminal window and enter:$ wget ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i386linux_enu.deb <enter> To install open a terminal window and enter:$ sudo apt-get install ./AdbeRdr9.5.5-1_i386linux_enu.deb <enter> A word of caution that it may be outdated and unpatched.
Remove a broken package on Ubuntu
To remove a broken package, open a terminal window and enter following command: $ sudo dpkg --remove package-name <enter> where package-name is the broken package to be removed.
Error installing virtualbox downloaded from the virtualbox site
Downloaded virtual box .deb file for Ubuntu installation. Received error about unsandboxed installation. The solution to the error is to provide the _apt user the rights to write into the folder as shown below: $ sudo chown -Rv _apt:root /var/cache/apt/archives/partial/ <enter> $ sudo chmod -Rv 700 /var/cache/apt/archives/partial/ <enter>
How to remove KDE from Ubuntu after installation of RSI Break
Basically, I did a mistake. I do not want to fill up my hard drive with multiple desktops. Neither do I want to have the KDE desktop libraries on my computer. However, unfortunately when I installed rsibreak on the desktop, it downloaded almost 100 mb of software... KDE. To uninstall KDE after you have installed … Continue reading How to remove KDE from Ubuntu after installation of RSI Break