Why does update-manager hang?

Asked by Jerold Goldin

update-manager seemed to hang. Just showed ~spinning wheel for about a half hour in the initial window.
No apparent download activity or installation activity observed as on past updates.

Message received after manual exit from update-manager and attempted retry of update.

"An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:
E:can not open /var/lib/apt/lists/repo.skype.com_deb_dists_stable_InRelease - fopen (13: Permission denied), E:The package lists or status file could not be parsed or opened."

I am running Ubuntu 20.04.2 LTS
It's been a week or so since last I did an update.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the full output of:

sudo apt update
sudo apt upgrade
lsb_release -a
uname -a

Thanks

Revision history for this message
Jerold Goldin (jayemgee) said :
#2

nemo@nemo:~$ sudo apt-get update
[sudo] password for nemo:
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:5 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Get:6 https://repo.skype.com/deb stable InRelease [4,501 B]
Hit:7 http://dl.google.com/linux/chrome/deb stable InRelease
Err:6 https://repo.skype.com/deb stable InRelease
  The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <email address hidden>
Fetched 4,501 B in 1s (3,102 B/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.skype.com/deb stable InRelease: The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <email address hidden>
W: Failed to fetch https://repo.skype.com/deb/dists/stable/InRelease The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <email address hidden>
W: Some index files failed to download. They have been ignored, or old ones used instead.
nemo@nemo:~$
nemo@nemo:~$ sudo apt update
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:2 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:4 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:6 https://repo.skype.com/deb stable InRelease [4,501 B]
Hit:7 http://dl.google.com/linux/chrome/deb stable InRelease
Get:8 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24.5 kB]
Get:9 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [60.8 kB]
Get:10 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:11 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [283 kB]
Err:6 https://repo.skype.com/deb stable InRelease
  The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <email address hidden>
Get:12 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [331 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 64x64 Icons [362 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:15 http://us.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [10.3 kB]
Fetched 1,409 kB in 2s (760 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.skype.com/deb stable InRelease: The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <email address hidden>
W: Failed to fetch https://repo.skype.com/deb/dists/stable/InRelease The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <email address hidden>
W: Some index files failed to download. They have been ignored, or old ones used instead.
nemo@nemo:~$
nemo@nemo:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libfprint-2-tod1 libllvm10 libllvm10:i386 libllvm9 libllvm9:i386
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
nemo@nemo:~$
nemo@nemo:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
nemo@nemo:~$
nemo@nemo:~$ uname -a
Linux nemo 5.8.0-59-generic #66~20.04.1-Ubuntu SMP Thu Jun 17 11:14:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
nemo@nemo:~$

> On 07/10/2021 12:50 AM actionparsnip <email address hidden> wrote:
>
>
> Your question #697929 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/697929
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> What is the full output of:
>
> sudo apt update
> sudo apt upgrade
> lsb_release -a
> uname -a
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/697929
>
> You received this question notification because you asked the question.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

For the error message "signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository" run the following command in a terminal window:

curl -s https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -

and then re-run the command

sudo apt update

Do you still see error messages?

Revision history for this message
Jerold Goldin (jayemgee) said :
#4

This is the output I get when I run the commands you suggest.
I'll try and use the update manager now and see if it's completely fixed.
Will let you know one way or another.
Thanks for your help.
JG

nemo@nemo:~$ curl -s https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -
[sudo] password for nemo:
Command 'curl' not found, but can be installed with:

sudo snap install curl # version 7.76.1, or
sudo apt install curl # version 7.68.0-1ubuntu2.5

See 'snap info curl' for additional versions.

nemo@nemo:~$ sudo snap install curl # version 7.76.1
[sudo] password for nemo:
curl 7.76.1 from Wouter van Bommel (woutervb) installed
nemo@nemo:~$ curl -s https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -
OK
nemo@nemo:~$ sudo apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:4 http://dl.google.com/linux/chrome/deb stable InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Hit:6 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Get:7 https://repo.skype.com/deb stable InRelease [4,501 B]
Get:8 https://repo.skype.com/deb stable/main amd64 Packages [2,277 B]
Fetched 335 kB in 2s (183 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
nemo@nemo:~$ sudo apt list --upgradable
Listing... Done
skypeforlinux/stable 8.73.0.129 amd64 [upgradable from: 8.73.0.92]
N: There are 4 additional versions. Please use the '-a' switch to see them.
nemo@nemo:~$

> On 07/12/2021 5:35 AM Manfred Hampl <email address hidden> wrote:
>
>
> Your question #697929 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/697929
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> For the error message "signatures were invalid: EXPKEYSIG
> 1F3045A5DF7587C3 Skype Linux Client Repository" run the following
> command in a terminal window:
>
> curl -s https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -
>
> and then re-run the command
>
> sudo apt update
>
> Do you still see error messages?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/697929/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/697929
>
> You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

I do not see any error any more in the output of the the command line tools.

What happens now, when you start update-manager? Does it still hang or produce an error message?

Revision history for this message
Jerold Goldin (jayemgee) said :
#6

Looks to be completely fixed!
Thanks for all your help.
Will visit the link to change the status of the question to confirmed fixed.
JG
> On 07/12/2021 5:35 AM Manfred Hampl <email address hidden> wrote:
>
>
> Your question #697929 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/697929
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> For the error message "signatures were invalid: EXPKEYSIG
> 1F3045A5DF7587C3 Skype Linux Client Repository" run the following
> command in a terminal window:
>
> curl -s https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -
>
> and then re-run the command
>
> sudo apt update
>
> Do you still see error messages?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/697929/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/697929
>
> You received this question notification because you asked the question.

Revision history for this message
Jerold Goldin (jayemgee) said :
#7

No more error msgs.
Looks to be completely fixed!
Thanks for all your help.

Revision history for this message
Jerold Goldin (jayemgee) said :
#8

Our emails must have crossed in the ether. :)
That's the sum of the output I got. I copied the whole terminal buffer.
The update-manager worked fine when I tried it and I confirmed that the question was answered.
Thanks again
JG

> On 07/12/2021 1:41 PM Manfred Hampl <email address hidden> wrote:
>
>
> Your question #697929 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/697929
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> I do not see any error any more in the output of the the command line
> tools.
>
> What happens now, when you start update-manager? Does it still hang or
> produce an error message?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/697929
>
> You received this question notification because you asked the question.

Revision history for this message
Jerold Goldin (jayemgee) said :
#9

!!! I know I pasted the info onto the reply.
Don't know what happened.

> On 07/12/2021 1:45 PM Jerold Goldin <email address hidden> wrote:
>
>
> Your question #697929 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/697929
>
> Status: Needs information => Open
>
> You gave more information on the question:
> Looks to be completely fixed!
> Thanks for all your help.
> Will visit the link to change the status of the question to confirmed fixed.
> JG
> > On 07/12/2021 5:35 AM Manfred Hampl <email address hidden> wrote:
> >
> >
> > Your question #697929 on Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+question/697929
> >
> > Status: Open => Answered
> >
> > Manfred Hampl proposed the following answer:
> > For the error message "signatures were invalid: EXPKEYSIG
> > 1F3045A5DF7587C3 Skype Linux Client Repository" run the following
> > command in a terminal window:
> >
> > curl -s https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -
> >
> > and then re-run the command
> >
> > sudo apt update
> >
> > Do you still see error messages?
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> > https://answers.launchpad.net/ubuntu/+question/697929/+confirm?answer_id=2
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/ubuntu/+question/697929
> >
> > You received this question notification because you asked the question.
>
> --
> You received this question notification because you asked the question.