>
>
>> >
>> > On 15 May 2015 at 14:09, Daniel Jitnah <[email protected]
>> > <mailto:[email protected]>> wrote:
>> >
>> >     Hi Luvers,
>> >
>> >     how do I override suggested dependencies using apt-get which
>> conflicts
>> >     with already installed software that provides equivalent
>> >     functionalities?
>> >
>> >     For example:
>> >
>> >     If I install phpmyadmin usign apt-get, it will also install
>> apache2, and
>> >     if I already have say nginx installed, it will remove it, and
>> replace it
>> >     with apache. But I want to keep nginx.
>> >
>> >     How do I get apt-get to install phpmyadmin while keeping nginx?
>>
>
In general however, you can just add a - to the end of a package you don't
want to install.

e.g.

root@astrotest:~# apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  apache2 apache2-bin apache2-data dbconfig-common javascript-common
  libapache2-mod-php5 libaprutil1-dbd-sqlite3 libaprutil1-ldap
  libjs-codemirror libjs-jquery-cookie libjs-jquery-event-drag
  libjs-jquery-metadata libjs-jquery-mousewheel libjs-jquery-tablesorter
  libjs-jquery-ui libjs-underscore libmcrypt4 php-gettext php5-gd
php5-mcrypt
  php5-mysql
Suggested packages:
  apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils
  php-pear libjs-jquery-ui-docs libmcrypt-dev mcrypt mysql-server
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data dbconfig-common javascript-common
  libapache2-mod-php5 libaprutil1-dbd-sqlite3 libaprutil1-ldap
  libjs-codemirror libjs-jquery-cookie libjs-jquery-event-drag
  libjs-jquery-metadata libjs-jquery-mousewheel libjs-jquery-tablesorter
  libjs-jquery-ui libjs-underscore libmcrypt4 php-gettext php5-gd
php5-mcrypt
  php5-mysql phpmyadmin
0 to upgrade, 22 to newly install, 0 to remove and 31 not to upgrade.
Need to get 9,010 kB of archives.
After this operation, 43.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] ^C

root@astrotest:~# apt-get install phpmyadmin apache2- apache2-bin-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'apache2' is not installed, so not removed
Package 'apache2-bin' is not installed, so not removed
The following extra packages will be installed:
  dbconfig-common javascript-common libjs-codemirror libjs-jquery-cookie
  libjs-jquery-event-drag libjs-jquery-metadata libjs-jquery-mousewheel
  libjs-jquery-tablesorter libjs-jquery-ui libjs-underscore libmcrypt4
  php-gettext php5-cgi php5-gd php5-mcrypt php5-mysql
Suggested packages:
  libjs-jquery-ui-docs libmcrypt-dev mcrypt php-pear mysql-server
The following NEW packages will be installed:
  dbconfig-common javascript-common libjs-codemirror libjs-jquery-cookie
  libjs-jquery-event-drag libjs-jquery-metadata libjs-jquery-mousewheel
  libjs-jquery-tablesorter libjs-jquery-ui libjs-underscore libmcrypt4
  php-gettext php5-cgi php5-gd php5-mcrypt php5-mysql phpmyadmin
0 to upgrade, 17 to newly install, 0 to remove and 31 not to upgrade.
Need to get 9,973 kB of archives.
After this operation, 47.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] ^C

Sean



> >
>> >     Thanks
>> >     Daniel
>> >
>> >
>> >
>> >     _______________________________________________
>> >     luv-main mailing list
>> >     [email protected] <mailto:[email protected]>
>> >     http://lists.luv.asn.au/listinfo/luv-main
>> >
>> >
>>
>
>
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to