Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DAViCal: General

Package dependency on Apache

 

 

DAViCal general RSS feed   Index | Next | Previous | View Threaded


rommel at layer-7

Dec 13, 2011, 2:46 PM

Post #1 of 7 (398 views)
Permalink
Package dependency on Apache

Hi,

I wanted to migrate my existing installation to a new server running ubuntu oneiric. Since I wanted to use nginx as webserver,
I was wondering, whether there is a way to remove the hard dependency on Apache from the package and instead point to a meta-package.
The Apache dependency is in the standard ubuntu package as well as in the http://debian.mcmillan.net.nz archives.

Any ideas on that - am I doing something wrong?

Thank you for any hint,

Michael.

--
Michael Rommel, Erlangen, Germany


andrew at morphoss

Dec 13, 2011, 8:56 PM

Post #2 of 7 (385 views)
Permalink
Re: Package dependency on Apache [In reply to]

On Tue, 2011-12-13 at 23:46 +0100, Michael Rommel wrote:
> Hi,
>
> I wanted to migrate my existing installation to a new server running
> ubuntu oneiric. Since I wanted to use nginx as webserver,
> I was wondering, whether there is a way to remove the hard dependency
> on Apache from the package and instead point to a meta-package.
> The Apache dependency is in the standard ubuntu package as well as in
> the http://debian.mcmillan.net.nz archives.
>
> Any ideas on that - am I doing something wrong?

As far as I can see DAViCal *does not* depend on Apache, and not does
libawl-php. It does specify a dependency on php5-pgsql and I suspect
that from somet chain of dependencies from there you might find Ubuntu
installing libapache2-mod-php5 and so on down the Apache path.

For nginx that would all be wrong, of course, and you would want to
choose a less-travelled path. I would start by installing nginx, and
the whatever-you-need-to-do to run PHP5 applications in nginx, and build
that up until you have php5-pgsql installed.

You might also want the --no-install-recommends option to apt-get, since
libawl-php "Recommends" php5 as well, and it might be the "recommends"
path that is giving you the Apache installation, rather than a strict
dependency path.

These dependencies have been pretty carefully crafted over time, as you
can see... :-)

Regards,
Andrew McMillan.

>
> Thank you for any hint,
>
> Michael.
>
> ------------------------------------------------------------------------------
> Systems Optimization Self Assessment
> Improve efficiency and utilization of IT resources. Drive out cost and
> improve service delivery. Take 5 minutes to use this Systems Optimization
> Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
> _______________________________________________ Davical-general mailing list Davical-general [at] lists https://lists.sourceforge.net/lists/listinfo/davical-general

--
------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com +64(272)DEBIAN
Let us not seek to satisfy our thirst for freedom by drinking from
the cup of bitterness and hatred. -- Martin luther King Jr.

------------------------------------------------------------------------
Attachments: signature.asc (0.82 KB)


rommel at layer-7

Dec 13, 2011, 10:08 PM

Post #3 of 7 (388 views)
Permalink
Re: Package dependency on Apache [In reply to]

On 14. Dec 2011, at 5:56 , Andrew McMillan wrote:

> On Tue, 2011-12-13 at 23:46 +0100, Michael Rommel wrote:
>>
>>
>> I wanted to migrate my existing installation to a new server running
>> ubuntu oneiric. Since I wanted to use nginx as webserver,
>> I was wondering, whether there is a way to remove the hard dependency
>> on Apache from the package and instead point to a meta-package.
>> The Apache dependency is in the standard ubuntu package as well as in
>> the http://debian.mcmillan.net.nz archives.
>>
>> Any ideas on that - am I doing something wrong?
>
> As far as I can see DAViCal *does not* depend on Apache, and not does
> libawl-php. It does specify a dependency on php5-pgsql and I suspect
> that from somet chain of dependencies from there you might find Ubuntu
> installing libapache2-mod-php5 and so on down the Apache path.

Ah - I see! Since this is a fresh minimal install, there are very few packages
installed right now, so chances are, that the dependency chain is exactly,
as you describe. I was fooled by apt-get that put apache first on the list of
packages to install, so I'll have to work out manually, which is the real
chain of dependencies and at which point apache gets required.

> For nginx that would all be wrong, of course, and you would want to
> choose a less-travelled path. I would start by installing nginx, and
> the whatever-you-need-to-do to run PHP5 applications in nginx, and build
> that up until you have php5-pgsql installed.

This is a very good advice - I'll try that as soon as I come home from work tonight.
It's my first attempt with nginx, so I'll have to invest some time here for figuring out
how this part of the equation will work.

> You might also want the --no-install-recommends option to apt-get, since
> libawl-php "Recommends" php5 as well, and it might be the "recommends"
> path that is giving you the Apache installation, rather than a strict
> dependency path.

ok - I wasn't aware of the "recommends" path. I'll dig into that as well.
Thank you very much for the detailed tips - I will report my experience with that.
Maybe there is then some sort of information that you might like to include
on davical's web page.

Thanks again,

Michael.

>
> These dependencies have been pretty carefully crafted over time, as you
> can see... :-)
>
> Regards,
> Andrew McMillan.

--
Michael Rommel, Erlangen, Germany



------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits?
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
Davical-general mailing list
Davical-general [at] lists
https://lists.sourceforge.net/lists/listinfo/davical-general


rommel at layer-7

Dec 13, 2011, 10:08 PM

Post #4 of 7 (387 views)
Permalink
Re: Package dependency on Apache [In reply to]

On 14. Dec 2011, at 5:56 , Andrew McMillan wrote:

> On Tue, 2011-12-13 at 23:46 +0100, Michael Rommel wrote:
>>
>>
>> I wanted to migrate my existing installation to a new server running
>> ubuntu oneiric. Since I wanted to use nginx as webserver,
>> I was wondering, whether there is a way to remove the hard dependency
>> on Apache from the package and instead point to a meta-package.
>> The Apache dependency is in the standard ubuntu package as well as in
>> the http://debian.mcmillan.net.nz archives.
>>
>> Any ideas on that - am I doing something wrong?
>
> As far as I can see DAViCal *does not* depend on Apache, and not does
> libawl-php. It does specify a dependency on php5-pgsql and I suspect
> that from somet chain of dependencies from there you might find Ubuntu
> installing libapache2-mod-php5 and so on down the Apache path.

Ah - I see! Since this is a fresh minimal install, there are very few packages
installed right now, so chances are, that the dependency chain is exactly,
as you describe. I was fooled by apt-get that put apache first on the list of
packages to install, so I'll have to work out manually, which is the real
chain of dependencies and at which point apache gets required.

> For nginx that would all be wrong, of course, and you would want to
> choose a less-travelled path. I would start by installing nginx, and
> the whatever-you-need-to-do to run PHP5 applications in nginx, and build
> that up until you have php5-pgsql installed.

This is a very good advice - I'll try that as soon as I come home from work tonight.
It's my first attempt with nginx, so I'll have to invest some time here for figuring out
how this part of the equation will work.

> You might also want the --no-install-recommends option to apt-get, since
> libawl-php "Recommends" php5 as well, and it might be the "recommends"
> path that is giving you the Apache installation, rather than a strict
> dependency path.

ok - I wasn't aware of the "recommends" path. I'll dig into that as well.
Thank you very much for the detailed tips - I will report my experience with that.
Maybe there is then some sort of information that you might like to include
on davical's web page.

Thanks again,

Michael.

>
> These dependencies have been pretty carefully crafted over time, as you
> can see... :-)
>
> Regards,
> Andrew McMillan.

--
Michael Rommel, Erlangen, Germany



------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits?
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
Davical-general mailing list
Davical-general [at] lists
https://lists.sourceforge.net/lists/listinfo/davical-general


rommel at layer-7

Dec 13, 2011, 10:09 PM

Post #5 of 7 (385 views)
Permalink
Re: Package dependency on Apache [In reply to]

On 14. Dec 2011, at 5:56 , Andrew McMillan wrote:

> On Tue, 2011-12-13 at 23:46 +0100, Michael Rommel wrote:
>>
>>
>> I wanted to migrate my existing installation to a new server running
>> ubuntu oneiric. Since I wanted to use nginx as webserver,
>> I was wondering, whether there is a way to remove the hard dependency
>> on Apache from the package and instead point to a meta-package.
>> The Apache dependency is in the standard ubuntu package as well as in
>> the http://debian.mcmillan.net.nz archives.
>>
>> Any ideas on that - am I doing something wrong?
>
> As far as I can see DAViCal *does not* depend on Apache, and not does
> libawl-php. It does specify a dependency on php5-pgsql and I suspect
> that from somet chain of dependencies from there you might find Ubuntu
> installing libapache2-mod-php5 and so on down the Apache path.

Ah - I see! Since this is a fresh minimal install, there are very few packages
installed right now, so chances are, that the dependency chain is exactly,
as you describe. I was fooled by apt-get that put apache first on the list of
packages to install, so I'll have to work out manually, which is the real
chain of dependencies and at which point apache gets required.

> For nginx that would all be wrong, of course, and you would want to
> choose a less-travelled path. I would start by installing nginx, and
> the whatever-you-need-to-do to run PHP5 applications in nginx, and build
> that up until you have php5-pgsql installed.

This is a very good advice - I'll try that as soon as I come home from work tonight.
It's my first attempt with nginx, so I'll have to invest some time here for figuring out
how this part of the equation will work.

> You might also want the --no-install-recommends option to apt-get, since
> libawl-php "Recommends" php5 as well, and it might be the "recommends"
> path that is giving you the Apache installation, rather than a strict
> dependency path.

ok - I wasn't aware of the "recommends" path. I'll dig into that as well.
Thank you very much for the detailed tips - I will report my experience with that.
Maybe there is then some sort of information that you might like to include
on davical
>
> These dependencies have been pretty carefully crafted over time, as you
> can see... :-)
>
> Regards,
> Andrew McMillan.

--
Michael Rommel, Erlangen, Germany



------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits?
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
Davical-general mailing list
Davical-general [at] lists
https://lists.sourceforge.net/lists/listinfo/davical-general


tlaithwaite at gmail

Dec 14, 2011, 4:31 AM

Post #6 of 7 (386 views)
Permalink
Re: Package dependency on Apache [In reply to]

On 14 December 2011 06:09, Michael Rommel <rommel [at] layer-7> wrote:

> ok - I wasn't aware of the "recommends" path. I'll dig into that as well.
> Thank you very much for the detailed tips - I will report my experience with that.
> Maybe there is then some sort of information that you might like to include
> on davical

I can never work these things out, but I have had success with debtree
in the past. It draws a graph of the dependencies, and you can turn
recommends and suggests off and on.

http://collab-maint.alioth.debian.org/debtree/

Hope this helps

Tom.

------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits?
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
Davical-general mailing list
Davical-general [at] lists
https://lists.sourceforge.net/lists/listinfo/davical-general


andrew at morphoss

Dec 14, 2011, 12:31 PM

Post #7 of 7 (385 views)
Permalink
Re: Package dependency on Apache [In reply to]

On Wed, 2011-12-14 at 12:31 +0000, Tom Laithwaite wrote:
> On 14 December 2011 06:09, Michael Rommel <rommel [at] layer-7> wrote:
>
> > ok - I wasn't aware of the "recommends" path. I'll dig into that as well.
> > Thank you very much for the detailed tips - I will report my experience with that.
> > Maybe there is then some sort of information that you might like to include
> > on davical
>
> I can never work these things out, but I have had success with debtree
> in the past. It draws a graph of the dependencies, and you can turn
> recommends and suggests off and on.
>
> http://collab-maint.alioth.debian.org/debtree/
>
> Hope this helps

Great tool :-)

That shows that the link is davical -> libawl-php -> (recommends) ->
php5 -> (libapache2-mod-php5|php5-cgi|php5-fpm|...)

Given that, the trick is to install php5-fpm before installing DAViCal
and the recommends will be satisfied without needing to pull in
libapache2-mod-php5

Cheers,
Andrew.
--
------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com +64(272)DEBIAN
Try to value useful qualities in one who loves you.
------------------------------------------------------------------------
Attachments: signature.asc (0.82 KB)

DAViCal general RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.