Ubuntu (18.04 bionic) apt repository broken
See original GitHub issueCrateDB 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:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.
closed by https://github.com/crate/crate-howtos/pull/253