19.10 download problem

My 18.04.3 had the identical problem after the Intel microcode update early December 2019.
The problem arises when I use the Software Updater. After searching [for updates] I get the message "Failed to download repository information Check your internet connection" -which appears fine. When I click OK, it downloads the update list and updates as usual. [try again gets the error message]
Philippe sent me a procedure which fixed my 18.04.3 but it does not work on 19.10
[sudo dpkg --configure -a ; sudo apt-get install -fy ; sudo apt-get autoclean ; sudo apt-get autoremove --purge -y ; sudo apt update ; sudo apt full-upgrade -y ]

Help please. I'll now be using 19.10 until 20.04 is released.

qa

1 Like

Open a terminal and type:
sudo apt-get update

And post the results. Possibly one of your repos is failing to update. Also to update the system instead of the gui program you can just type:

sudo apt-get dist-upgrade

And it will update your system to the latest version of the packages it has found.

No change. [having done both the update and dist-upgrade]

Still get message 'cannot download repository information

check your internet connection'

That is fine.

If I press 'OK' the repository information downloads and the update finishes normally.

I mean can you post me what the output of running the command from the terminal was (apt-get update).

Reloaded Clonezilla image from 2020/02/05 and redid sudo apt-get update.

ray@ray-MS-7979:~$ sudo apt-get update
[sudo] password for ray:

Hit:1 http://archive.canonical.com/ubuntu eoan InRelease
Hit:3 http://ppa.launchpad.net/heyarje/makemkv-beta/ubuntu eoan InRelease
Hit:4 http://za.archive.ubuntu.com/ubuntu eoan InRelease
Get:5 http://za.archive.ubuntu.com/ubuntu eoan-updates InRelease [97.5 kB]
Ign:2 https://dl.bintray.com/etcher/debian stable InRelease
Get:7 http://za.archive.ubuntu.com/ubuntu eoan-backports InRelease [88.8 kB]
Get:6 https://dl.bintray.com/etcher/debian stable Release [3,674 B]
Get:8 http://za.archive.ubuntu.com/ubuntu eoan-updates/main i386 Packages [162 kB]
Get:9 https://dl.bintray.com/etcher/debian stable Release.gpg [821 B]
Ign:9 https://dl.bintray.com/etcher/debian stable Release.gpg
Get:10 http://za.archive.ubuntu.com/ubuntu eoan-updates/main amd64 Packages [204 kB]
Get:11 http://za.archive.ubuntu.com/ubuntu eoan-updates/main Translation-en [77.5 kB]
Get:12 http://za.archive.ubuntu.com/ubuntu eoan-updates/universe i386 Packages [91.1 kB]
Get:13 http://za.archive.ubuntu.com/ubuntu eoan-updates/universe amd64 Packages [96.0 kB]
Get:14 http://za.archive.ubuntu.com/ubuntu eoan-updates/universe Translation-en [49.2 kB]
Get:15 http://za.archive.ubuntu.com/ubuntu eoan-backports/universe i386 Packages [2,940 B]
Get:16 http://za.archive.ubuntu.com/ubuntu eoan-backports/universe amd64 Packages [2,940 B]
Hit:17 https://repo.skype.com/deb stable InRelease
Get:18 http://security.ubuntu.com/ubuntu eoan-security InRelease [97.5 kB]
Get:19 http://security.ubuntu.com/ubuntu eoan-security/main amd64 Packages [137 kB]
Get:20 http://security.ubuntu.com/ubuntu eoan-security/main i386 Packages [96.6 kB]
Get:21 http://security.ubuntu.com/ubuntu eoan-security/main Translation-en [51.5 kB]
Get:22 http://security.ubuntu.com/ubuntu eoan-security/universe i386 Packages [57.3 kB]
Get:23 http://security.ubuntu.com/ubuntu eoan-security/universe amd64 Packages [62.1 kB]
Get:24 http://security.ubuntu.com/ubuntu eoan-security/universe Translation-en [33.3 kB]
Reading package lists... Done
W: GPG error: https://dl.bintray.com/etcher/debian stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 379CE192D401AB61
E: The repository 'https://deb.etcher.io stable Release' is not signed.
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.
ray@ray-MS-7979:~$

Please check out this link for a solution.

1 Like

I cannot download Etcher from Boutique as my system is missing a public key - see screenshots attached.

Screenshot at 2020-02-10 08-33-05.png

Screenshot at 2020-02-10 09-07-11.png

I cannot download Etcher [see screenshots attached] -no public key .

Screenshot at 2020-02-10 08-33-05.png

Screenshot at 2020-02-10 09-07-11.png

Please remove (untick) the two repositories with an error in synaptic sources list via the GUI if you are unsure how to use the CLI. These are -

https://dl.bintray.com/etcher/debian
and
https://deb.etcher.io

Once you have unticked them you can add the repository back correctly by the fowllowing method:

echo "deb https://deb.etcher.io stable etcher" | sudo tee /etc/apt/sources.list.d/balena-etcher.list

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB61

To install etcher:
sudo apt-get update
sudo apt-get install balena-etcher-electron

I CANNOT dowwnload Etcher from the Boutique [see 2 screenshots attached.[

Screenshot at 2020-02-10 08-33-05.png

Screenshot at 2020-02-10 09-07-11.png

Did you follow the instructions I just posted?

Yes, followed them.

ray@ray-MS-7979:~$ sudo
apt-get install balena-etcher-electron

Reading
package lists... Done

Building
dependency tree

Reading
state information... Done

E:
Unable to locate package balena-etcher-electron

ray@ray-MS-7979:~$

No you didnt follow them, beacuse I just tested them and it works fine, and in addition they are the official instructions from the companies website, so go back and read again what you need to do and follow all the instructions, and not just part of them, and dont ignore the bits you dont understand or it will not work.

Hi pallebone,

I've exhausted my attempts to reproduce the implementation of what you have kindly provided as a possible solution to my problems. [2 problems, the error when download updates and the inability to download etcher].

In an attempt to resolve the problems and eliminate what is most probably my ignorance, I have gathered a detailed audit trail .

Instructions

"Please remove (untick) the two repositories with an error in synaptic sources list"

From Synaptic package manager / Setting / Repositories points to repositories Software and Updates, under the tab Other Software I could find neither of the 2 sources you mention, the closest one being https://deb.etcher.io stable etcher, which I unticked and ran the file update it requested.

Before and after screenshots attachments 1 & 2.

Did in Terminal

echo "deb https://deb.etcher.io stable etcher" | sudo tee /etc/apt/sources.list.d/balena-etcher.list

and

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB6

and

sudo apt-get update

sudo apt-get install balena-etcher-electron

NB the errors in the last 2 runs.

E: The repository 'https://deb.etcher.io stable Release' is not signed.

and

E: Unable to locate package balena-etcher-electron

ray@ray-MS-7979:~$ echo "deb https://deb.etcher.io stable etcher" | sudo tee /etc/apt/sources.list.d/balena-etcher.list
[sudo] password for ray:
Sorry, try again.
[sudo] password for ray:
deb https://deb.etcher.io stable etcher
ray@ray-MS-7979:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB61
Executing: /tmp/apt-key-gpghome.SbQgywfjiR/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB61
gpg: keyserver receive failed: Server indicated a failure
ray@ray-MS-7979:~$ sudo apt-get update>
bash: syntax error near unexpected token `newline'
ray@ray-MS-7979:~$ sudo apt-get update
Hit:1 http://archive.canonical.com/ubuntu eoan InRelease
Hit:2 http://ppa.launchpad.net/heyarje/makemkv-beta/ubuntu eoan InRelease
Hit:3 https://repo.skype.com/deb stable InRelease
Hit:5 http://za.archive.ubuntu.com/ubuntu eoan InRelease
Hit:6 http://za.archive.ubuntu.com/ubuntu eoan-updates InRelease
Get:7 http://security.ubuntu.com/ubuntu eoan-security InRelease [97.5 kB]
Hit:8 http://za.archive.ubuntu.com/ubuntu eoan-backports InRelease
Ign:4 https://dl.bintray.com/etcher/debian stable InRelease
Get:9 https://dl.bintray.com/etcher/debian stable Release [3,674 B]
Get:10 https://dl.bintray.com/etcher/debian stable Release.gpg [821 B]
Ign:10 https://dl.bintray.com/etcher/debian stable Release.gpg
Reading package lists... Done
W: GPG error: https://dl.bintray.com/etcher/debian stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 379CE192D401AB61
E: The repository 'https://deb.etcher.io stable Release' is not signed.
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.
ray@ray-MS-7979:~$ sudo apt-get install balena-etcher-electron
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package balena-etcher-electron
ray@ray-MS-7979:~$

I'm out of ideas, can you see a way forward.

My 18.04.2 also won't load Etcher with the error 'not signed'.

Help

Someone has raised this as a bug with Etcher. However the topic was resolved as a DNS issue:

Can you follow the same setps, and use 8.8.8.8 or 1.1.1.1 as your nameserver (DNS server).

I would be in agreement that you have a DNS issue which is why you cannot add the keyserver.

Perhaps this page can help you install Etcher -

On this page about halfway down, I found an Etcher link.

I then downloaded Etcher directly from

and it seemed to function without going through the hoops of ppa management, keyservers or trying another DNS or even directly installing.

I unzipped the balena-etcher-electron-1.5.76-linux-x64.zip found in Downloads and then double clicked on balenaEtcher-1.5.76-x64.AppImage.

1 Like

I am treading where I know nothing of DNS and that could well account for my failure. I only changed the command [?] but was it correct? [see below].

Unticked the repository before starting as I had reloaded a 'before fix' image.

ray@ray-MS-7979:~$ echo "deb https://deb.etcher.io stable etcher" | sudo tee /etc/apt/sources.list.d/balena-etcher.list
[sudo] password for ray:
deb https://deb.etcher.io stable etcher
ray@ray-MS-7979:~$ sudo apt-key adv --keyserver keyserver.8.8.8.8. --recv-keys 379CE192D401AB61
Executing: /tmp/apt-key-gpghome.EMrX7i9Zx5/gpg.1.sh --keyserver keyserver.8.8.8.8. --recv-keys 379CE192D401AB61
gpg: keyserver receive failed: Server indicated a failure
ray@ray-MS-7979:~$ sudo apt-get update>
bash: syntax error near unexpected token `newline'
ray@ray-MS-7979:~$ sudo apt-get update
Hit:1 http://archive.canonical.com/ubuntu eoan InRelease
Hit:2 http://ppa.launchpad.net/heyarje/makemkv-beta/ubuntu eoan InRelease
Get:3 http://security.ubuntu.com/ubuntu eoan-security InRelease [97.5 kB]
Hit:5 https://repo.skype.com/deb stable InRelease
Ign:4 https://dl.bintray.com/etcher/debian stable InRelease
Get:6 https://dl.bintray.com/etcher/debian stable Release [3,674 B]
Get:7 https://dl.bintray.com/etcher/debian stable Release.gpg [821 B]
Ign:7 https://dl.bintray.com/etcher/debian stable Release.gpg
Hit:8 http://za.archive.ubuntu.com/ubuntu eoan InRelease
Hit:9 http://za.archive.ubuntu.com/ubuntu eoan-updates InRelease
Hit:10 http://za.archive.ubuntu.com/ubuntu eoan-backports InRelease
Reading package lists... Done
W: GPG error: https://dl.bintray.com/etcher/debian stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 379CE192D401AB61
E: The repository 'https://deb.etcher.io stable Release' is not signed.
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.
ray@ray-MS-7979:~$ sudo apt-get install balena-etcher-electron
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package balena-etcher-electron
ray@ray-MS-7979:~$

Ill try post some screenshots later on where to change the nameserver in your networking or find some online for 18.04. I think the gui utility is pretty simple to use but will take a look when I am at my pc.

I had to make some screenshots as I couldnt find a guide, but this is what I meant by change your nameserver/dns server. If you open networking near the clock icon, you should see your connections. Choose the one you are using (eg if you are on wifi you might have a wifi one etc):

Net1

Then change on this screen the DNS to something like 8.8.8.8:

You can write down what is currently in that box in case you want to change it back at any point and revert the changes.

You would then need to restart and check the changes saved to be sure they stuck, and restarting the networking seems to be a bit beyond the scope here as you are not comfortable with CLI. Once you are sure the setting is set after a reboot try the:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB6

command again.
P

Hi Pallebone,

An interim step has me wanting.

The edit screen is unpopulated. I can't fin.d how to populate it - how?

When I save the edit screen set on 'Manual' instead of Automatic (DHCP), what supersizes can I expect with networking?

I am doing my 18.04.3 in parallel. What is the equivalent of the command

echo "deb https://deb.etcher.io stable etcher" | sudo tee /etc/apt/sources.list.d/balena-etcher.list],

for 18.04?