I am quite new to Ubuntu, starting on 17.10 and am now on 18.04.
On my laptop I have 16.04 which updates perfectly, but on my desktop under 18.04 nothing seems to update automatically.
main error is "Failed to download repository information" "check your internet connection"
I have followed this thread How to resolve "Failed to download repository information"?
Chose "Best server" then "Main server" but still nothing really want to update.
One extra error I see is
E:Repository 'https://cli-assets.heroku.com/branches/stable/apt ./ InRelease' changed its 'Origin' value from 'Heroku, Inc.' to 'Heroku'
Under Synaptic though I have managed to update Sublime Text, and also Nvidia driver through a tutorial and console.
But I am yet very new to Ubuntu.
Can someone points the error that prevent Software and update
to update properly ?
(I have done everything mentioned in above thread : sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
it kinda works in console but with some warnings at the end)
EDIT
here is error on sudo apt-get update
E: Repository 'https://cli-assets.heroku.com/branches/stable/apt ./ InRelease' changed its 'Origin' value from 'Heroku, Inc.' to 'Heroku'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
and error on sudo apt-get upgrade
E: Failed to fetch https://cli-assets.heroku.com/apt/heroku_6.16.18-1_amd64.deb 404 Not Found [IP: 52.85.219.14 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
EDIT 2
I have tried to install Ubuntu as advised here https://devcenter.heroku.com/articles/heroku-cli
with
sudo snap install heroku --classic
but got error
error: cannot perform the following tasks:
- Exécuter la configuration du point d'accroche du paquet Snap "heroku" s'il est présent (run hook "configure": /usr/local/bin/heroku: ligne 18 : cd: « HOME » non défini)
though curl https://cli-assets.heroku.com/install.sh | sh
seemed to work ans installed the newest version.
Yet the above errors from EDIT section still appear
From your question, it looks like something has changed at the Heroku repository. They may have updated the key which would explain the difference between "Heroku" and "Heroku, Inc."
To do an update, the simplest thing is to disable the repository. You can do this via the GUI or by simply commenting out the line in
/etc/apt/sources.list
or renaming the file in the/etc/apt/sourced.list.d
folder.To solve your heroku update, you'll need to find the right repos URL from heroku and add the new key.