Debian repository with bigv client has started giving errors recently


#1

I have the following in my debian (testing) sources.list.d directory

bigv-client.list

which contains

# http://www.bigv.io/download
deb http://client.bigv.io/apt/ ./

Yet when I try the u command within aptitude it complains

W:Failed to fetch http://client.bigv.io/apt/./Release: Invalid 'Date' entry in Release file /var/lib/apt/lists/client.bigv.io_apt_._Release
E: Some index files failed to download.  They have been ignored, or old ones used instead.

I must admit, I haven’t used the bigv client for sometime now (18 months ish) and I can’t remember what it was for. So I don’t know if I can un-install it.


#2

I don’t know if it’s related, but Bytemark might want to take a look at this odd invalid Content-Type.

$ curl -sSI http://client.bigv.io/apt/Release
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 19 Dec 2015 12:18:08 GMT
Content-Type: application/x-gzip -9n
Content-Length: 219
Connection: keep-alive
Cache-Control: public, max-age=112
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Hostname-Matched: (?-mix:^client\d?.bigv.io$)
X-Brochure-Server: BrochureServer_client
X-Cache-Status: MISS

$

When the content arrives, it’s not gzip’d at all.

$ curl -sS http://client.bigv.io/apt/Release
Archive: all
Label: BigV client package repository
Origin: Bytemark Hosting
Architectures: all
Components: main
MD5Sum:
 c634b20daffb7dd0c9e2816fa18a7f46 6193 Packages
 45bcde483299213696941bdb1cb0b344 1816 Packages.gz
$

#3

hmm, that’s odd.

Thanks for reporting it - i’ll take a look.

Ian


#4

I don’t see to see it here - are you still having the same problem there, or was it just a transient caching problem?

root@test:~# apt-get update && apt-get dist-upgrade && apt-get clean
Ign http://repo.bytemark.co.uk ./ InRelease
Ign http://mirror.bytemark.co.uk jessie InRelease
Ign http://repo.bytemark.co.uk ./ InRelease
Hit http://mirror.bytemark.co.uk jessie-updates InRelease
Hit http://repo.bytemark.co.uk ./ Release.gpg
Hit http://mirror.bytemark.co.uk jessie Release.gpg
Hit http://repo.bytemark.co.uk ./ Release.gpg
Hit http://mirror.bytemark.co.uk jessie Release
Hit http://repo.bytemark.co.uk ./ Release
Hit http://repo.bytemark.co.uk ./ Release
Hit http://security.debian.org jessie/updates InRelease
Hit http://mirror.bytemark.co.uk jessie-updates/main Sources
Ign http://client.bigv.io ./ InRelease
Hit http://mirror.bytemark.co.uk jessie-updates/contrib Sources
Get:1 http://client.bigv.io ./ Release.gpg [836 B]
Get:2 http://client.bigv.io ./ Release [219 B]
Hit http://mirror.bytemark.co.uk jessie-updates/non-free Sources
Get:3 http://mirror.bytemark.co.uk jessie-updates/main amd64 Packages/DiffIndex [367 B]
Hit http://mirror.bytemark.co.uk jessie-updates/contrib amd64 Packages
Hit http://repo.bytemark.co.uk ./ Sources
Hit http://mirror.bytemark.co.uk jessie-updates/non-free amd64 Packages
Hit http://repo.bytemark.co.uk ./ Packages
Hit http://mirror.bytemark.co.uk jessie-updates/contrib Translation-en
Hit http://mirror.bytemark.co.uk jessie-updates/main Translation-en
Hit http://mirror.bytemark.co.uk jessie-updates/non-free Translation-en
Hit http://repo.bytemark.co.uk ./ Sources
Hit http://mirror.bytemark.co.uk jessie/main Sources
Hit http://repo.bytemark.co.uk ./ Packages
Hit http://mirror.bytemark.co.uk jessie/non-free Sources
Hit http://mirror.bytemark.co.uk jessie/contrib Sources
Hit http://mirror.bytemark.co.uk jessie/main amd64 Packages
Hit http://mirror.bytemark.co.uk jessie/non-free amd64 Packages
Hit http://mirror.bytemark.co.uk jessie/contrib amd64 Packages
Get:4 http://client.bigv.io ./ Packages [1,886 B]
Hit http://mirror.bytemark.co.uk jessie/contrib Translation-en
Hit http://mirror.bytemark.co.uk jessie/main Translation-en
Hit http://mirror.bytemark.co.uk jessie/non-free Translation-en
Hit http://security.debian.org jessie/updates/main Sources
Ign http://repo.bytemark.co.uk ./ Translation-en_GB
Ign http://repo.bytemark.co.uk ./ Translation-en
Ign http://repo.bytemark.co.uk ./ Translation-en_GB
Ign http://repo.bytemark.co.uk ./ Translation-en
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://security.debian.org jessie/updates/non-free Sources
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Hit http://security.debian.org jessie/updates/non-free amd64 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://security.debian.org jessie/updates/non-free Translation-en
Ign http://client.bigv.io ./ Translation-en_GB
Ign http://client.bigv.io ./ Translation-en
Fetched 3,308 B in 1s (1,750 B/s)
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@test:~#

Thanks,

Ian


#5

ok, I see it now.

I tried aptitude and that was fine, updated to “testing”, and I see the error now - so it’s something odd in Debian Testing.

I’m seeing it with other repos too.

Ian


#6

Appears to be a badly worded error - it’s because there is no Date entry in there:
https://github.com/rethinkdb/rethinkdb/issues/5174

It looks like we also need to provide SHA* hashes on the bigv repo too.

root@test:~# apt-get update && apt-get dist-upgrade && apt-get clean
Ign:1 http://repo.bytemark.co.uk/3ware-tools/jessie ./ InRelease
Hit:2 http://mirror.bytemark.co.uk/debian testing InRelease
Hit:3 http://mirror.bytemark.co.uk/debian testing-updates InRelease
Ign:4 http://repo.bytemark.co.uk/hp-raid/jessie ./ InRelease
Hit:5 http://repo.bytemark.co.uk/3ware-tools/jessie ./ Release
Hit:6 http://repo.bytemark.co.uk/hp-raid/jessie ./ Release
Hit:7 http://security.debian.org testing/updates InRelease
Ign:8 http://client.bigv.io/apt ./ InRelease
Get:9 http://client.bigv.io/apt ./ Release [219 B]
Fetched 219 B in 0s (451 B/s)
Reading package lists… Done
W: Failed to fetch http://repo.bytemark.co.uk/3ware-tools/jessie/./Release Invalid ‘Date’ entry in Release file /var/lib/apt/lists/repo.bytemark.co.uk_3ware-tools_jessie_.Release
W: Failed to fetch http://repo.bytemark.co.uk/hp-raid/jessie/./Release Invalid ‘Date’ entry in Release file /var/lib/apt/lists/repo.bytemark.co.uk_hp-raid_jessie
.Release
W: Failed to fetch http://client.bigv.io/apt/./Release No Hash entry in Release file /var/lib/apt/lists/client.bigv.io_apt
._Release, which is considered strong enough for security purposes
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@test:~#

This is something we’re going to have to look at.

Some of these repos are dynamically generated so we’ll have to make/deploy some code changes to sort this.

Ian


#7

ok, the repo.bytemark.co.uk ones are fixed.

The bigv client one is a bit more tricky as it’s dynamically generated - will post back when that one is fixed.


#8

Ok! - is that working ok for you now?

Seems ok here now.

Ian


#9

Yes - problem disappeared for me.

Thanks


#10

Recycling old topic since the bug appears to be recycled…

I get a similar error from the new bytemark_client repo, using apt-get from Debian sid:

root@miraculix:/tmp# apt-get update
Hit:1 http://ftp.no.debian.org/debian sid InRelease
Hit:2 http://repo.bytemark.co.uk/bytemark-client/debian ./ InRelease                      
Reading package lists... Done                                                             
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/repo.bytemark.co.uk_bytemark-client_debian_._InRelease