nanourl "unnaturally" depends on Apache
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nanourl (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: nanourl
nanourl's dependencies are:
Package: nanourl
...
Depends: apache | apache2 | apache-ssl, php5 | php4, php5-mysql | php4-mysql, mysql-client
This appears because nano.postinst wants to add Apache rewrite rules to the Apache configuration to support it.
Given nanourl is at its essence a couple of PHP scripts (which in its source distribution has nothing to do with Apache), explicitly depending on Apache seems wrong given the number of alternative/
If not for the assumption of Apache as a dependency, this package could be utilized by a number of web servers, and simply be satisfied by a PHP and php-mysql dependency.
I acknowledge that because it's just a couple of PHP files, I can just download them and install manually myself; that's indeed what I'll do. The purpose of opening this bug is to quarrel with the built-in assumption that Apache is the only web server that it should run on.
Related branches
Changed in nanourl: | |
assignee: | nobody → quadrispro |
status: | New → In Progress |
assignee: | quadrispro → nobody |
status: | In Progress → Confirmed |
Upgrading from 0.1-7.1, dpkg complains with the following message: 0.1-7.1ubuntu1_ amd64.deb) ... 0.1-7.1ubuntu1_ amd64.deb (--install): 0.1-7.1ubuntu1_ amd64.deb
Preparing to replace nanourl 0.1-7.1 (using nanourl_
Unpacking replacement nanourl ...
postrm called with unknown argument 'upgrade'
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
postrm called with unknown argument 'failed-upgrade'
dpkg: error processing nanourl_
subprocess new post-removal script returned error exit status 1
postrm called with unknown argument 'abort-upgrade'
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
nanourl_
Also, it seems to me package could be Architecture: all