On 5/23/14, 8:19 AM, Jack Howarth wrote:
> Is there a solution the following dilemma in the tomcat[6,7,8\.
> tomcat[6,7,8]-webapps and metaboanalyst-tomcat[6,7,8]-r[30.31] packages?
> While the following fink commands properly resolve the package
> dependencies and conflicts…
>
> % fink install tomcat6-webapps
> Information about 10283 packages read in 2 seconds.
> The following package will be installed or updated:
>   tomcat6-webapps
> The following additional package will be installed:
>   tomcat6
> Do you want to continue? [Y/n]
> Reading buildlock packages...
> /sw/bin/dpkg-lockwait -i
> /sw/fink/dists/stable/main/binary-darwin-x86_64/web/tomcat6-webapps_6.0.39-2_darwin-x86_64.deb
> /sw/fink/dists/stable/main/binary-darwin-x86_64/web/tomcat6_6.0.39-2_darwin-x86_64.deb
> dpkg: considering removing tomcat8-webapps in favour of tomcat6-webapps ...
> dpkg: yes, will remove tomcat8-webapps in favour of tomcat6-webapps.
> (Reading database ... 363596 files and directories currently installed.)
> Unpacking tomcat6-webapps (from
> .../tomcat6-webapps_6.0.39-2_darwin-x86_64.deb) ...
> dpkg: considering removing tomcat8 in favour of tomcat6 ...
> dpkg: yes, will remove tomcat8 in favour of tomcat6.
> Unpacking tomcat6 (from .../tomcat6_6.0.39-2_darwin-x86_64.deb) ...
> Setting up tomcat6 (6.0.39-2) ...
>
> Setting up tomcat6-webapps (6.0.39-2) ...
> Installing new version of config file
> /sw/share/webapps/host-manager/manager.xml ...
>
> % fink install tomcat7-webapps
> Information about 10283 packages read in 1 seconds.
> The following package will be installed or updated:
>   tomcat7-webapps
> The following additional package will be installed:
>   tomcat7
> Do you want to continue? [Y/n]
> Reading buildlock packages...
> /sw/bin/dpkg-lockwait -i
> /sw/fink/dists/stable/main/binary-darwin-x86_64/web/tomcat7-webapps_7.0.53-2_darwin-x86_64.deb
> /sw/fink/dists/stable/main/binary-darwin-x86_64/web/tomcat7_7.0.53-2_darwin-x86_64.deb
> dpkg: considering removing tomcat6-webapps in favour of tomcat7-webapps ...
> dpkg: yes, will remove tomcat6-webapps in favour of tomcat7-webapps.
> (Reading database ... 363443 files and directories currently installed.)
> Unpacking tomcat7-webapps (from
> .../tomcat7-webapps_7.0.53-2_darwin-x86_64.deb) ...
> dpkg: considering removing tomcat6 in favour of tomcat7 ...
> dpkg: yes, will remove tomcat6 in favour of tomcat7.
> Unpacking tomcat7 (from .../tomcat7_7.0.53-2_darwin-x86_64.deb) ...
> Setting up tomcat7 (7.0.53-2) ...
>
> Setting up tomcat7-webapps (7.0.53-2) ...
> Installing new version of config file
> /sw/share/webapps/host-manager/manager.xml ...
>
> h% fink install tomcat8-webapps
> Information about 10283 packages read in 1 seconds.
> The following package will be installed or updated:
>   tomcat8-webapps
> The following additional package will be installed:
>   tomcat8
> Do you want to continue? [Y/n]
> Reading buildlock packages...
> /sw/bin/dpkg-lockwait -i
> /sw/fink/dists/stable/main/binary-darwin-x86_64/web/tomcat8-webapps_8.0.5-3_darwin-x86_64.deb
> /sw/fink/dists/stable/main/binary-darwin-x86_64/web/tomcat8_8.0.5-3_darwin-x86_64.deb
> dpkg: considering removing tomcat7-webapps in favour of tomcat8-webapps ...
> dpkg: yes, will remove tomcat7-webapps in favour of tomcat8-webapps.
> (Reading database ... 363599 files and directories currently installed.)
> Unpacking tomcat8-webapps (from
> .../tomcat8-webapps_8.0.5-3_darwin-x86_64.deb) ...
> dpkg: considering removing tomcat7 in favour of tomcat8 ...
> dpkg: yes, will remove tomcat7 in favour of tomcat8.
> Unpacking tomcat8 (from .../tomcat8_8.0.5-3_darwin-x86_64.deb) ...
> Setting up tomcat8 (8.0.5-3) ...
>
> Setting up tomcat8-webapps (8.0.5-3) ...
> Installing new version of config file
> /sw/share/webapps/host-manager/manager.xml ...
>
> ...when you try to do the same with the
> metaboanalyst-tomcat[6,7,8]-r[30.31], fink fails to resolve the
> cascading dependencies and conflicts…
>
> % fink install metaboanalyst-tomcat8-r31
> Information about 10283 packages read in 1 seconds.
> The following package will be installed or updated:
>   metaboanalyst-tomcat8-r31
> Reading buildlock packages...
> /sw/bin/dpkg-lockwait -i
> /sw/fink/dists/stable/main/binary-darwin-x86_64/sci/metaboanalyst-tomcat8-r31_2.0-2_darwin-x86_64.deb
> Selecting previously deselected package metaboanalyst-tomcat8-r31.
> (Reading database ... 363596 files and directories currently installed.)
> Unpacking metaboanalyst-tomcat8-r31 (from
> .../metaboanalyst-tomcat8-r31_2.0-2_darwin-x86_64.deb) ...
> Setting up metaboanalyst-tomcat8-r31 (2.0-2) ...
>     MetaboAnalyst 2.0 installed for the combination of
>     the tomcat8 and the r-base3.1 R server.
>     The local MetaboAnalyst 2.0 server is started by...
>     1) Start the tomcat8 first with...
>         sudo -u tomcat tomcat8 start
>     2) Start the Rserver next with...
>         sudo -u tomcat R-3.1
>     and then enter...
>         library(Rserve)
>         Rserve()
>     at the R prompt. Leave the terminal window open
>     to monitor R messages from MetaboAnalyst 2.0.
>     3) Access the MetaboAnalyst 2.0 server via the url
> http://localhost:8080/MetaboAnalyst/
> % fink install metaboanalyst-tomcat7-r31
> Information about 10283 packages read in 1 seconds.
> The following package will be installed or updated:
>   metaboanalyst-tomcat7-r31
> The following 2 additional packages will be installed:
>   tomcat7 tomcat7-webapps
> Do you want to continue? [Y/n]
> Reading buildlock packages...
> Could not resolve inconsistent dependencies!
>
> Fink isn't sure how to install the above packages safely. You may be
> able to fix things by running:
>
>    fink scanpackages
>    sudo apt-get update
>    sudo apt-get install tomcat7-webapps=7.0.53-2 tomcat7=7.0.53-2
>
> Failed: Fink::SysState: Could not resolve inconsistent dependencies
>
> Is this beyond fink's capabilities or is there some trick which will
> allow the installation of a different tomcat variant of
> metaboanalyst-tomcat*-r* to properly remove the conflicting
> tomcat*/tomcat*-webapps packages?
>
>
>

It's beyond fink's capabilities.  apt-get _might_ be able to handle the 
cascade properly, but otherwise the best thing to do right now for a 
swap is to do a recursive remove on the lowest-level dependency 
(tomcatN, I asssume) and then install the metaboanalyst package you want 
to swap to.


-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to