|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
changing a dependency for a package ..
Hi everyone !!
Is it possible to change a dependency after choosing another dep at prompt eg. : When installing thinkingrock , you can either choose jdk or jre I chose jdk .. Now I want to use jre as dep instead .. how can I accomplish this wihout removing packages ? Thank you very much !! |
|
|||
On install I was prompted to either choose jre (choice 1) or jdk (choice0) as a dependency for thinkingrock.I was installing the package not the port .. It's a common case when I would want to change some package dependency but don't know how (except by removing all packages and start anew)
eg. 2 : installing mediawiki : it prompts : mediawiki-1.19.1 php-pgsql or php-mysql If I chose php-mysql then after install want to use php-pgsql .. do I have to remove things first or is there a cli fu magic ? Thanks. |
|
|||
No. php-pgsql is merely the extension PHP uses to connect to PostgreSQL databases. Having the MySQL extension, php-mysql, already installed will create no problem. The two extensions can coexist.
|
|
||||
Quote:
(See FAQ 15.3.8 for a discussion of subpackages and flavors.) Examining the +CONTENTS file for the thinkingrock package, I see: Code:
@depend devel/jdk/1.6,-main:jdk->=1.6.0|jre->=1.6.0:jdk-1.6.0.03p17 If you wish to switch which dependency is used, you will need to delete both jdk and thinkingrock, then reinstall thinkingrock, this time selecting jre. You must do this because the dependency chain is recorded in the package database (located in /var/db/pkg) in +REQUIRED_BY and +REQUIRING records. |
|
|||
jggimi , ocicat , Thank you very much !!
Last edited by daemonfowl; 4th September 2012 at 06:15 AM. Reason: + ocicat |
|
|||
You're welcome too, daemonfowl!
|
|
|||
lol , I forgot to thank you too my friend !
:-) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
dependency question. | fender0107401 | OpenBSD Packages and Ports | 2 | 11th May 2010 11:05 PM |
Changing IDE to SCSI | felix001 | FreeBSD General | 3 | 19th May 2009 11:52 AM |
portupgrade -a =>Stale Dependency | jaymax | FreeBSD Ports and Packages | 15 | 23rd July 2008 10:05 AM |
Changing resolution | Cloud | General software and network | 3 | 27th June 2008 06:03 PM |
Changing package repositories from RHEL to CentOS | stukov | Other BSD and UNIX/UNIX-like | 10 | 17th June 2008 01:34 PM |