This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Problem Installing Tgicl

Hi I am tryign to install TGICL but when i do so I am getting the following error . What must I do to succesfully install this.

sudo dpkg -i perl-tgicl_2.1-1_all.deb
[sudo] password for ibsupm: 
(Reading database ... 148295 files and directories currently installed.)
Unpacking perl-tgicl (from perl-tgicl_2.1-1_all.deb) ...
dpkg: error processing perl-tgicl_2.1-1_all.deb (--install):
 trying to overwrite '/usr/bin/formatdb', which is also in package blast2 1:2.2.25.20110713-3ubuntu2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 perl-tgicl_2.1-1_all.deb

Thank you

Have you tried building the package from source? Just untar it and run perl Build.PL, and that will indicate any missing dependencies. Using the package manager is supposed to be a convenience but it is often easier to just build the package.

2 answers

Try running:

sudo dpkg -i --force-overwrite perl-tgicl_2.1-1_all.deb

Note, this will overwrite previously installed version of formatdb.

I do not recommend this. The TGICL deb package is dated 2010. It is probably not a good idea to force overwrite of the newer files from the Linux distribution repository.

Note that perl-tgicl_2.1-1_all.deb dates from 2010. You cannot expect it to be synchronised correctly with your current Linux distribution packages.

I would not use this package; install from source as suggested by SES.

Log in to answer this question.