IBM-Cloud/ibm-cloud-developer-tools

apt update fails after idt-installer setup

tkatrichenko opened this issue · 2 comments

Summary
After installing idt-installer using

curl -sL https://ibm.biz/idt-installer | bash

There is a new repo added to /etc/apt/sources.list.d/git-core-ubuntu-ppa-groovy.list

# cat /etc/apt/sources.list.d/git-core-ubuntu-ppa-groovy.list 
deb http://ppa.launchpad.net/git-core/ppa/ubuntu groovy main
# deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu groovy main

Which leads to the error while trying to do apt update

# apt update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Ign:2 http://ppa.launchpad.net/git-core/ppa/ubuntu groovy InRelease                                                                
Hit:3 http://deb.debian.org/debian buster InRelease                                                                                
Err:4 http://ppa.launchpad.net/git-core/ppa/ubuntu groovy Release     
  404  Not Found [IP: 91.189.95.83 80]
Hit:5 http://deb.debian.org/debian buster-updates InRelease           
Hit:6 https://packagecloud.io/github/git-lfs/debian buster InRelease 
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/git-core/ppa/ubuntu groovy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

This issue also doesn't allow installer to install other dependencies (docker)

Operating System
Tried on Ubuntu 20.04 LTS / Debian 10

I'm not able to recreate on Ubuntu 16.04. I do not have an Ubuntu 20.04 system to try this on.

Still there. Now idt adds git-core-ubuntu-ppa-impish.list repo

The workaround is to remove this source file

rm /etc/apt/sources.list.d/git-core-ubuntu-ppa-impish.list