Can I make install over a package that can't be removed due to dependencies

2 risposte [Ultimo contenuto]
jah
jah
Offline
Iscritto: 05/04/2015

I want to `make install nmap` from its subversion repository, but aptitude wants to fix broken packages by removing gnome-nettool, trisquel and trisquel-base-recommended if I try to `aptitude uninstall nmap`.

Can I just make install without removing the nmap package or is there some way to inform aptitude of my intention?

vinzv

I am a member!

Offline
Iscritto: 10/11/2014

Am 05.05.2015 um 13:05 schrieb name at domain:
> I want to `make install nmap` from its subversion repository, but
> aptitude wants to fix broken packages by removing gnome-nettool,
> trisquel and trisquel-base-recommended if I try to `aptitude uninstall
> nmap`.
>
> Can I just make install without removing the nmap package or is there
> some way to inform aptitude of my intention?

There are two possible (!) workarounds:
1. Uninstall nmap and reinstall the dependencies manually afterwars.

2. Install nmap from code manually to a different location with
"--prefix=" added to the make install command.

jah
jah
Offline
Iscritto: 05/04/2015

Vielen Dank vinzn. I looked in the automade Makefile and found that the Nmap developers had already considered this possibility: prefix was configured as /usr/local .

The packaged nmap is installed in /usr/bin/nmap and so it was necessary only to `make install` and the SVN Nmap was installed to /usr/local/bin/nmap

Thanks again for your help.