Bug 12662 - issue getting location database updates
Summary: issue getting location database updates
Status: CLOSED FIXED
Alias: None
Product: Location Database
Classification: Unclassified
Component: libloc (show other bugs)
Version: unspecified
Hardware: all All
: Will affect almost no one Minor Usability
Assignee: Peter Müller
QA Contact: Michael Tremer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-18 17:31 UTC by Charles Brown
Modified: 2022-01-13 12:46 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Brown 2021-07-18 17:31:22 UTC
Updating location database fails if /var/lib/location/database.db is missing

https://community.ipfire.org/t/updating-location-database-fails-if-var-lib-location-database-db-is-missing/5828
Comment 1 Michael Tremer 2021-07-19 09:38:23 UTC
@Peter: Could you please investigate?
Comment 2 Bernhard Bitsch 2021-07-20 08:31:20 UTC
The issue exists with an existent data base also.
My output:
/usr/bin/location --debug update
HTTP GET Request to location.ipfire.org
        URL: https://location.ipfire.org/databases/1/location.db.xz
        Headers:
                If-modified-since: Tue, 20 Jul 2021 05:53:17 GMT
                User-agent: location/0.9.6
HTTP Response: 304
        Headers:
                date: Tue, 20 Jul 2021 08:27:18 GMT
                etag: "47cbb4-5c787a7f5483c"
                strict-transport-security: max-age=31536000; includeSubDomains; preload
                connection: close
https://location.ipfire.org/databases/ is serving an outdated database. Trying next mirror...