antonycourtney/tad

Name conflict for deb package in Ubuntu

Opened this issue · 4 comments

The package in the deb file is currently named "tad". This conflicts with another one in the Ubuntu repo.

tad/mantic,mantic 3.1.0+~cs10.23.44-1 all
  Javascript test suite with minimal hassle

As a result, after installing Tad, it gets immediately overwritten by the one on the repository, which has a higher version number, when running apt upgrade.

The package in the deb file should be renamed, e.g., "tad-viewer".

Experiencing the same issue.

I am experiencing the same issues!

I am experiencing the same issue

I had this problem too.

As a temporary fix you can rename /opt/Tad to something else and provide a link in /usr/bin .. what I did is:

sudo mv /opt/Tad/ /opt/Tadv/
sudo ln -s /opt/Tadv/tad /usr/bin/tadv

And, if like me you're using XFCE and want to use the menu as well as the cli:

sudo nano /usr/share/applications/tad.desktop and:

  • change the path as needed (eg Exec=/opt/Tadv/tad %U)
  • change the icon name (eg Icon=tadv)

sudo mv /usr/share/applications/tad.desktop /usr/share/applications/tadv.desktop

and finally change usr/share/icons/hicolor/XXxXX/apps/tad.png to tadv.png

Following this an apt-upgrade shouldn't overwrite 'tadv' and it will continue to work as before.

Also, for the sake of bringing these together in one place, I note similar issues reported here and here