If you have installed some of the extra apps I’ve made available for Linux Lite in my repo, you’ll notice that after updating Linux Lite home-brew version of yad 3.9.0-1 things appear to be broken. It happens that Jerry decided to compile his own version of yad for Linux Lite to take advantage of “additional features” that are not even used or needed in Linux Lite development as of today and as consequence some of the applications coded for Linux Lite (those based on yad) have broken or are showing some odd window sizes, etc. with the version provided by Linux Lite repo. Without getting into much more, here is how to fix it…

Note: Be aware that you’ll be uninstalling the yad version provided by Linux Lite repository and installing the same version but from a known maintainer (same Linux Lite used before version 3.9.x) that is used and tested on ubuntu-based distros known to work accordingly.

Uninstalling yad

First, let’s remove the current yad version, from Terminal:

Note that some other applications in your system will be removed with yad because of packages dependencies. You will need to reinstall these packages after reinstalling yad. Take note of those applications as shown in the screenshot below and type Yes, do as I say! when prompted.

yad-removal

~$ sudo apt-get remove yad
~$ Yes, do as I say!

Install a working yad from a known Maintainer

Browse to UbuntuUpdates website, download the yad package for your system (either 32Bit or 64Bit) and install it. Deb packages can be installed by just double-clicking on the file… get it done :)

Finally, re-install the applications that got removed because of yad dependencies; from Terminal

~$ sudo apt-get install lite-updatesnotify litesources-lite whisker-restore-lite

Making changes permanent

Even though you’ll be installing the same yad 0.3.9.0-1 version as in Linux Lite repo, Linux Lite repo package will take precedence and will be reinstalled after updating your system next time you check for updates, bringing the same issues back. Therefore, we’ll need to make sure that the newly installed yad package only updates from its maintainer’s PPA. To do so, from Terminal:

1- Add the new package PPA:

~$ sudo add-apt-repository ppa:nilarimogard/webupd8

add-yad-ppa

2- Create a new APT priority file

~$ gksu leafpad /etc/apt/preferences

… and add the following text to that file as shown in the screenshot below. Note that the priority needs to be 501.

Package: yad
Pin: release n=xenial
Pin-Priority: 501

apt-yad-preference

Save changes and close the file.

3- We can now safely update our system and yad updates will only be installed from webupd8 repository.

~$ sudo apt-get update
~$ sudo apt-get upgrade

Cheers all!

Related Post

Shrink VMWare Fusion Linux Guest Virtual Disk Right! VMWare Fusion on Mac OSX allows you to shrink virtual disks easily for Windows virtual machines right from the graphical interface - Virtual Ma...
Samba share in Linux Mint 17.x Linux Mint UserShares are undoubtedly simple to create, but how about ClassicShares (samba shares)? There is a small difference between these two a...
Samba Share for Beginners – Video I noticed I have never posted a video in my blog. So, here is one that may help you setup Samba if you're new to Samba Shares. How to create Samba ...