Error/warning when trying to apt-get CrateDB: "W: Skipping acquire of configured file 'main/source/Sources'..."

Hello,

I’m trying to install CrateDB on an on-premise Debian GNU/Linux cluster (3 identical Debian servers) by following the instructions at Run CrateDB on Debian GNU/Linux — CrateDB: How-Tos, but I’m getting the following after the initial apt-get:

$ sudo apt-get update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Hit:4 https://cdn.crate.io/downloads/apt/stable buster InRelease
Reading package lists... Done
W: Skipping acquire of configured file 'main/source/Sources' as repository 'https://cdn.crate.io/downloads/apt/stable buster InRelease' does not seem to provide it (sources.list entry misspelt?)

The Debian version:

$ lsb_release --all
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

And the contents of /etc/apt/sources.list.d/crate-stable.list:

$ cat /etc/apt/sources.list.d/crate-stable.list
deb https://cdn.crate.io/downloads/apt/stable/ buster main
deb-src https://cdn.crate.io/downloads/apt/stable/ buster main

Why do I get this message?

Hi @Emre_Sevinc

I think we need to adapt the Installation guide slightly.
We don’t publish source packages.

deb-src https://cdn.crate.io/downloads/apt/stable/ buster main

should be skipped

OK, I’ve removed the second line, the one starting with deb-src ..., and now it seems to work without any warnings. Thanks for the quick reaction.

And yes, the documentation should indeed be updated, because first impressions do matter :wink:

Thanks for reporting :pray:
This was an oversight, we already adjusted the Ubuntu tutorial and now also have a “shorter” version: Installation — CrateDB: Tutorials

I already created a PR to remove the line :slight_smile:

1 Like

Perfect! Thanks! The quality and accuracy of the documentation matters a lot, especially for first-time users.

1 Like

quick fix is in place. But we probably update the debian install guide soon :slight_smile:

1 Like