Can I make install over a package that can't be removed due to dependencies
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
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?
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.
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.
- Vous devez vous identifier ou créer un compte pour écrire des commentaires