Comment 8 for bug 1861101

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

For nginx, I'm unable to push to a new repo in lp at the moment[1], but the diff is simple:

commit 34f9c1428d2d4eeab01f04e92e54bf311fa859b8 (HEAD -> focal-nginx-geoip2-in-main)
Author: Andreas Hasenack <email address hidden>
Date: Wed Mar 11 10:35:00 2020 -0300

      * d/control: have nginx-core pull in the geoip2 package instead of
        geoip, which is legacy (LP: #1861101)

diff --git a/debian/control b/debian/control
index 4c107b0f..a125a245 100644
--- a/debian/control
+++ b/debian/control
@@ -68,7 +68,7 @@ Description: small, powerful, scalable web/proxy server - common files

 Package: nginx-core
 Architecture: any
-Depends: libnginx-mod-http-geoip (= ${binary:Version}),
+Depends: libnginx-mod-http-geoip2 (= ${binary:Version}),
          libnginx-mod-http-image-filter (= ${binary:Version}),
          libnginx-mod-http-xslt-filter (= ${binary:Version}),
          libnginx-mod-mail (= ${binary:Version}),

nginx-core is in main, and it's the metapackage that needs changing. The other packages which pull in libnginx-mod-http-geoip are nginx-full and nginx-extras, and both:
a) are in universe
b) pull in both geoip modules already (-geoip and -geoip2).

1. https://answers.launchpad.net/launchpad/+question/689269