Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

problem during apt update #107

Open
godfryd opened this issue Apr 16, 2019 · 3 comments
Open

problem during apt update #107

godfryd opened this issue Apr 16, 2019 · 3 comments

Comments

@godfryd
Copy link

godfryd commented Apr 16, 2019

Hello,

I just started using Nexus and APT plugin.
Nexus: 3.15.2-01
APT plugin: 1.0.10
I encountered a problem that apprears only sometimes.

I try to do:
sudo apt update
when there is a nexus apt repo in sources.list
And then sometime I get such errors:

The repository 'http://nexus/repository/my-debian-9 main Release' does not have a Release file.

or

Ign:1 http://nexus/repository/my-debian-9 main InRelease
Err:2 http://nexus/repository/my-debian-9 main Release
  Unknown date format Bad header data

or

Err:1 http://nexus:8080/repository/my-ubuntu-18.04 main InRelease
  Unknown date format Bad header data [IP: xxx.xx.57.175 8080]

Any tips how to cope with that?

@laurentL
Copy link

Same issue on debian 10

@mikakesan
Copy link

mikakesan commented May 7, 2019

We had this problem as well and had to modify the Last-Modified header setting it to blank in our nginx config. It looks like the date format is randomly changing between CET, CEST and GMT, which causes this error.

https://community.openhab.org/t/unable-to-update-2-0-snapshot-using-apt-or-apt-get/18754/2

@bhamail
Copy link
Contributor

bhamail commented Sep 27, 2019

APT is now part of Nexus Repository Manager. Version 3.17.0 includes the APT plugin by default.
If this is still an issue if using 3.17.0 or later please file an issue at https://issues.sonatype.org/.
Links to the new source code location are in the top level README.md

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants