Closed Frikster closed 3 years ago
Thank you for the detailed report. It looks like another repository is needed for atom on ubuntu 20.04 as you pointed out. https://linuxize.com/post/how-to-install-atom-text-editor-on-ubuntu-20-04/ worked for me as a manual method. I'll see if I can adapt the cookbook to use those instructions and add ubuntu 20.04 support. I'll try to look at it before 4/13/2021.
:speaking_head: Foreword
Am brand new to Chef. Apologies if I'm missing something trivial.
:ghost: Brief Description
include_recipe 'atom'
leads to errors since it looks like there is no Atom release candidate for Ubuntu 20.04 Focal Fossa.Summary:
STDERR: E: The repository 'http://ppa.launchpad.net/webupd8team/atom/ubuntu focal Release' does not have a Release file.
No candidate version available for atom
Error executing action 'install' on resource 'apt_package[atom]'
Full trace:
No candidate version available for atom
on Ubuntu 20.04:pancakes: Cookbook version
0.4.0
:woman_cook: Chef-Infra Version
chef_version=14.15.6
:tophat: Platform details
platform=ubuntu platform_version=20.04 ruby=ruby 2.5.8p224 (2020-03-31 revision 67882) [x86_64-linux]
Steps To Reproduce
Just try
include_recipe 'atom'
on Ubuntu 20.04:police_car: Expected behavior
There are working instructions here using apt and packagecloud instead of webupd8team. Given a working solution exists (tested, it works for me) where I can install Atom for Ubuntu 20.04 manually I'd expect this recipe to have some support somehow to install Atom on Ubuntu 20.04.
:heavy_plus_sign: Additional context
Likely just a sidenote but using the packagecloud recipe to install Atom has problems of its own
I did also try manually changing the debian recipe to this just so I can have something working:
This does lead to an installation and at first I thought things were working but this is the error message I get when I try to run Atom:
Looks like a known problem solved here. Once again solved using packagecloud. I have been trying and failing to modify the source further to source it from packagecloud. I tried modifying the debian recipe further to:
But this leads to:
STDERR: E: Malformed entry 1 in list file /etc/apt/sources.list.d/atom-ppa.list (Component)
Error executing action
runon resource 'execute[apt-cache gencaches]'
Error executing action
runon resource 'execute[apt-get -q update]'
Error executing action
updateon resource 'apt_update[atom-ppa]'
Error executing action
installon resource 'apt_package[atom]'