question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ubuntu (18.04 bionic) apt repository broken

See original GitHub issue

CrateDB version: Latest

Environment description: Ubuntu 18.4 LTS Fresh Install

Problem description: There seems to be a problem with the Ubuntu 18.04 (bionic) repositories. CrateDB currently can’t be installed

Steps to reproduce:

$ wget https://cdn.crate.io/downloads/deb/DEB-GPG-KEY-crate
$ sudo apt-key add DEB-GPG-KEY-crate
$ sudo add-apt-repository "deb https://cdn.crate.io/downloads/deb/stable/ $(lsb_release -cs) main"

$ sudo add-apt-repository "deb-src https://cdn.crate.io/downloads/apt/stable/ $(lsb_release -cs) main"
--> Error: 'deb-src https://cdn.crate.io/downloads/apt/stable/ bionic main' invalid

** Alternative** ( following https://crate.io/docs/crate/howtos/en/latest/deployment/linux/ubuntu.html#configure-apt)

$ sudo touch /etc/apt/sources.list.d/crate-stable.list
$ source /etc/os-release && echo $UBUNTU_CODENAME
bionic
$ sudo nano /etc/apt/sources.list.d/crate-stable.list 

/etc/apt/sources.list.d/crate-stable.list

deb https://cdn.crate.io/downloads/deb/stable/ bionic main
deb-src https://cdn.crate.io/downloads/deb/stable/ bionic main
$ sudo apt-get update
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://azure.archive.ubuntu.com/ubuntu bionic InRelease         
Hit:3 http://azure.archive.ubuntu.com/ubuntu bionic-updates InRelease     
Hit:4 http://azure.archive.ubuntu.com/ubuntu bionic-backports InRelease                         
Get:5 https://cdn.crate.io/downloads/deb/stable bionic InRelease [1845 B]                       
Get:6 https://cdn.crate.io/downloads/deb/stable bionic/main amd64 Packages [600 B]
Fetched 2445 B in 1s (4194 B/s)   
Reading package lists... Done
W: Skipping acquire of configured file 'main/source/Sources' as repository 'https://cdn.crate.io/downloads/deb/stable bionic InRelease' does not seem to provide it (sources.list entry misspelt?)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kovruscommented, Oct 9, 2020

@proddata seems like there is some bug in sources packaging. You can temporarily work around it by ignoring deb-src or commenting it out in /etc/apt/sources.list.d/crate-stable.list.

0reactions
proddatacommented, Oct 13, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Broken system after upgrade to Bionic - Ask Ubuntu
I manually downloaded and installed libapt from Ubuntu repository for Bionic then updating and apt-get-f install then autoremove.
Read more >
etc/apt/sources.list for Ubuntu 18.04.1 LTS Bionic Beaver
I'd been stuck with a broken sources.list and could not find what was wrong. I coded and recoded it, but again I was...
Read more >
How to fix broken apt-get in Ubuntu? - python
How to fix broken apt-get in Ubuntu? ; Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease Hit: ; ~$ sudo apt --fix-broken install python ...
Read more >
How to Fix 'add-apt-repository command not found' on Ubuntu ...
Steps to Resolve add-apt-repository: command not found error. Step 1: Update Local Ubuntu Repositories; Step 2: Install the software-properties- ...
Read more >
Ubuntu – Ubuntu Packages Search
This site provides you with information about all the packages available in the Ubuntu Package archive. Browse through the lists of packages: bionic...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found