Cannot install gwyddion

Asked by Emil Sierda

After last update in Discovery my Gwyddion installation disappeared from my system (Kubuntu based on 20.04 LT). While trying to install it again (after cleaning the old installation) I get the following message:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gwyddion : Depends: libgwyddion2-0 (>= 2.57) but 2.57-0~ppa1~focal1 is to be installed
E: Unable to correct problems, you have held broken packages.

Please help.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gwyddion 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 output of:

apt-cache policy gwyddion libgwyddion2-0; lsb_release -a; uname -a

Thanks

(I smell a PPA)

Revision history for this message
Emil Sierda (esierda) said :
#2

Here is the output:

gwyddion:
  Installed: (none)
  Candidate: 2.57-0~ppa1~focal1
  Version table:
     2.57-0~ppa1~focal1 500
        500 http://ppa.launchpad.net/gwyddion-spm/ppa/ubuntu focal/main amd64 Packages
     2.55-3 500
        500 http://nl.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
libgwyddion2-0:
  Installed: 2.57-0~ppa1~focal1
  Candidate: 2.57-0~ppa1~focal1
  Version table:
 *** 2.57-0~ppa1~focal1 500
        500 http://ppa.launchpad.net/gwyddion-spm/ppa/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status
     2.55-3 500
        500 http://nl.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Then you have two options.

Remove the PPA you added and install the version from the Ubuntu repos which we know will install

OR

Contact the PPA maintainer and wait for a response from them (if any comes at all).

I suggest the former. You can do this with:

sudo apt-get -y install ppa-purge
sudo ppa-purge ppa:gwyddion-spm/ppa
sudo apt-get --purge remove gwyddion libgwyddion2-0
sudo apt-get clean
sudo apt-get update
sudo apt-get -y install gwyddion

This will install the package for you from the official Ubuntu repository

Revision history for this message
Emil Sierda (esierda) said :
#4

I had PPA because some months ago my Gwyddion could not load plugins.

Now, I did the steps you suggested, cleaned PPA and tied to install Gwyddion agan but I still have the same problem:

gwyddion:
  Installed: (none)
  Candidate: 2.57-0~ppa1~focal1
  Version table:
     2.57-0~ppa1~focal1 500
        500 http://ppa.launchpad.net/gwyddion-spm/ppa/ubuntu focal/main amd64 Packages
     2.55-3 500
        500 http://nl.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
libgwyddion2-0:
  Installed: (none)
  Candidate: 2.57-0~ppa1~focal1
  Version table:
     2.57-0~ppa1~focal1 500
        500 http://ppa.launchpad.net/gwyddion-spm/ppa/ubuntu focal/main amd64 Packages
     2.55-3 500
        500 http://nl.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal

Discovery also fails with "Dependency resolution failed".

Just for informational purposes output of cache command:

gwyddion:
  Installed: (none)
  Candidate: 2.57-0~ppa1~focal1
  Version table:
     2.57-0~ppa1~focal1 500
        500 http://ppa.launchpad.net/gwyddion-spm/ppa/ubuntu focal/main amd64 Packages
     2.55-3 500
        500 http://nl.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
libgwyddion2-0:
  Installed: (none)
  Candidate: 2.57-0~ppa1~focal1
  Version table:
     2.57-0~ppa1~focal1 500
        500 http://ppa.launchpad.net/gwyddion-spm/ppa/ubuntu focal/main amd64 Packages
     2.55-3 500
        500 http://nl.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal

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

Please repeat the commands given in comment #3 and copy/paste all output that you receive when doing so into this question document.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

The PPA is still on the system. It needs removing

Revision history for this message
Emil Sierda (esierda) said :
#7

@ actionparsnip: I figured as much but commands you provided are not effective.

@m-hampl: here is all the output:

esierda@esierda-T450s:~$ sudo apt-get -y install ppa-purge
[sudo] password for esierda:
Reading package lists... Done
Building dependency tree
Reading state information... Done
ppa-purge is already the newest version (0.2.8+bzr63).
The following package was automatically installed and is no longer required:
  gwyddion-common
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
esierda@esierda-T450s:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  gwyddion-common
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 2784 kB disk space will be freed.
Do you want to continue? [Y/n] y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_TIME = "en_GB.UTF-8",
        LC_MONETARY = "nds_NL.UTF-8",
        LC_ADDRESS = "nl_NL.UTF-8",
        LC_TELEPHONE = "nl_NL.UTF-8",
        LC_NAME = "nl_NL.UTF-8",
        LC_MEASUREMENT = "C",
        LC_IDENTIFICATION = "nl_NL.UTF-8",
        LC_NUMERIC = "C",
        LC_PAPER = "nl_NL.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 660875 files and directories currently installed.)
Removing gwyddion-common (2.57-0~ppa1~focal1) ...
Processing triggers for shared-mime-info (1.15-1) ...
esierda@esierda-T450s:~$ sudo ppa-purge ppa:gwyddion-spm/ppa
Updating packages lists
W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D1742AD60D811D58
E: The repository 'http://repository.spotify.com stable InRelease' is not signed.
W: GPG error: https://linux.teamviewer.com/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C5E224500C1289C0
E: The repository 'https://linux.teamviewer.com/deb stable InRelease' is not signed.
W: GPG error: https://app.eduvpn.org/linux/deb stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 966A924CE91888D2
E: The repository 'https://repo.eduvpn.org/debian stretch InRelease' is not signed.
Warning: apt-get update failed for some reason
esierda@esierda-T450s:~$ sudo apt-get --purge remove gwyddion libgwyddion2-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'gwyddion' is not installed, so not removed
Package 'libgwyddion2-0' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
esierda@esierda-T450s:~$ sudo apt-get clean
esierda@esierda-T450s:~$ sudo apt-get update
Hit:1 http://nl.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu focal InRelease
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:4 http://nl.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_20.04 InRelease
Get:6 http://repository.spotify.com stable InRelease [3316 B]
Hit:7 http://ppa.launchpad.net/gwyddion-spm/ppa/ubuntu focal InRelease
Hit:8 http://nl.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:9 https://packages.microsoft.com/repos/ms-teams stable InRelease
Hit:10 https://desktop-download.mendeley.com/download/apt stable InRelease
Hit:12 https://repo.nordvpn.com//deb/nordvpn/debian stable InRelease
Get:11 https://app.eduvpn.org/linux/deb stretch InRelease [9629 B]
Err:6 http://repository.spotify.com stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D1742AD60D811D58
Get:13 https://linux.teamviewer.com/deb stable InRelease [11.0 kB]
Err:11 https://app.eduvpn.org/linux/deb stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 966A924CE91888D2
Err:13 https://linux.teamviewer.com/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C5E224500C1289C0
Reading package lists... Done
W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D1742AD60D811D58
E: The repository 'http://repository.spotify.com stable InRelease' 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.
W: GPG error: https://app.eduvpn.org/linux/deb stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 966A924CE91888D2
E: The repository 'https://repo.eduvpn.org/debian stretch InRelease' 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.
W: GPG error: https://linux.teamviewer.com/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C5E224500C1289C0
E: The repository 'https://linux.teamviewer.com/deb stable InRelease' 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.
esierda@esierda-T450s:~$ sudo apt-get -y install gwyddion
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gwyddion : Depends: libgwyddion2-0 (>= 2.57) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

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

Some of the commands did not work, because you have some errors in the configuration of the package management system such that sudo apt update fails.

Run the command

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv D1742AD60D811D58 966A924CE91888D2 C5E224500C1289C0

and then run

sudo apt update

and copy/paste the results that we can see

Revision history for this message
Emil Sierda (esierda) said :
#9

esierda@esierda-T450s:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv D1742AD60D811D58 966A924CE91888D2 C5E224500C1289C0
Executing: /tmp/apt-key-gpghome.mUi1AbOrwH/gpg.1.sh --keyserver keyserver.ubuntu.com --recv D1742AD60D811D58 966A924CE91888D2 C5E224500C1289C0
gpg: key C5E224500C1289C0: public key "TeamViewer GmbH (TeamViewer Linux 2017) <email address hidden>" imported
gpg: key 966A924CE91888D2: public key "Gijs Molenaar (launchpad ppa build key) <email address hidden>" imported
gpg: key D1742AD60D811D58: public key "Spotify Public Repository Signing Key <email address hidden>" imported
gpg: Total number processed: 3
gpg: imported: 3
gpg: invalid key resource URL '/tmp/apt-key-gpghome.mUi1AbOrwH/isv:ownCloud:desktop.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key 4ABE1AC7557BEFF9: 1 signature not checked due to a missing key
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 14
gpg: skipped new keys: 14
esierda@esierda-T450s:~$ sudo apt update
Hit:1 http://nl.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://nl.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:3 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu focal InRelease
Hit:4 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_20.04 InRelease
Hit:5 http://ppa.launchpad.net/gwyddion-spm/ppa/ubuntu focal InRelease
Get:6 http://repository.spotify.com stable InRelease [3316 B]
Hit:7 https://packages.microsoft.com/repos/ms-teams stable InRelease
Get:8 http://nl.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:9 https://linux.teamviewer.com/deb stable InRelease [11.0 kB]
Hit:10 https://desktop-download.mendeley.com/download/apt stable InRelease
Get:11 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Hit:13 https://repo.nordvpn.com//deb/nordvpn/debian stable InRelease
Get:12 https://app.eduvpn.org/linux/deb stretch InRelease [9629 B]
Get:14 http://nl.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [760 kB]
Err:6 http://repository.spotify.com stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D1742AD60D811D58
Get:15 http://nl.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [406 kB]
Get:16 http://nl.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [264 kB]
Get:17 http://nl.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [11.6 kB]
Get:18 http://nl.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [538 kB]
Get:19 http://nl.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [728 kB]
Get:20 http://nl.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [148 kB]
Get:21 http://nl.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [299 kB]
Err:9 https://linux.teamviewer.com/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C5E224500C1289C0
Get:22 http://nl.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [15.4 kB]
Get:23 http://nl.archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [4592 B]
Get:24 http://nl.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [15.5 kB]
Get:25 http://nl.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2464 B]
Get:26 http://nl.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [1768 B]
Err:12 https://app.eduvpn.org/linux/deb stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 966A924CE91888D2
Get:27 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24.3 kB]
Get:28 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [56.6 kB]
Reading package lists... Done
W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D1742AD60D811D58
E: The repository 'http://repository.spotify.com stable InRelease' 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.
W: GPG error: https://linux.teamviewer.com/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C5E224500C1289C0
E: The repository 'https://linux.teamviewer.com/deb stable InRelease' 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.
W: GPG error: https://app.eduvpn.org/linux/deb stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 966A924CE91888D2
E: The repository 'https://repo.eduvpn.org/debian stretch InRelease' 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.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

wget -O /tmp/TeamViewer2017.asc wget https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc
sudo apt-key add /tmp/TeamViewer2017.asc

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 4773BD5E130D1D45
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D1742AD60D811D58

wget -O /tmp/eduvpn.key https://app.eduvpn.org/linux/deb/eduvpn.key
sudo apt-key add /tmp/eduvpn.key

Should do it

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

If this fails again, with a message like "gpg: invalid key resource URL '/tmp/apt-key-gpghome.(hexcode)/isv:ownCloud:desktop.asc.gpg' " , then please exeute the command
sudo mv /etc/apt/trusted.gpg.d/isv:ownCloud:desktop.gpg /etc/apt/trusted.gpg.d/isv_ownCloud_desktop.gpg
and try again
(from https://central.owncloud.org/t/gpg-invalid-key-resource-url-etc-apt-trusted-gpg-d-isvdesktop-gpg/28013 )

Revision history for this message
Emil Sierda (esierda) said :
#12

After running commands from post #10 it was apparent that 2 of them did not work. Here is the apt update result:

esierda@esierda-T450s:~$ sudo apt update
Hit:1 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu focal InRelease
Hit:2 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_20.04 InRelease
Hit:3 http://ppa.launchpad.net/gwyddion-spm/ppa/ubuntu focal InRelease
Get:4 http://repository.spotify.com stable InRelease [3316 B]
Get:5 https://linux.teamviewer.com/deb stable InRelease [11.0 kB]
Hit:6 https://desktop-download.mendeley.com/download/apt stable InRelease
Hit:7 http://nl.archive.ubuntu.com/ubuntu focal InRelease
Hit:8 https://packages.microsoft.com/repos/ms-teams stable InRelease
Hit:9 http://nl.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:10 http://nl.archive.ubuntu.com/ubuntu focal-backports InRelease
Get:12 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Hit:13 https://repo.nordvpn.com//deb/nordvpn/debian stable InRelease
Get:11 https://app.eduvpn.org/linux/deb stretch InRelease [9629 B]
Err:4 http://repository.spotify.com stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D1742AD60D811D58
Err:5 https://linux.teamviewer.com/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C5E224500C1289C0
Err:11 https://app.eduvpn.org/linux/deb stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 966A924CE91888D2
Get:14 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [392 B]
Get:15 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [284 B]
Reading package lists... Done
W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D1742AD60D811D58
E: The repository 'http://repository.spotify.com stable InRelease' 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.
W: GPG error: https://linux.teamviewer.com/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C5E224500C1289C0
E: The repository 'https://linux.teamviewer.com/deb stable InRelease' 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.
W: GPG error: https://app.eduvpn.org/linux/deb stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 966A924CE91888D2
E: The repository 'https://repo.eduvpn.org/debian stretch InRelease' 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.

Therefore I followed instructions from post #11 and this is what I got as an output:

esierda@esierda-T450s:~$ sudo mv /etc/apt/trusted.gpg.d/isv:ownCloud:desktop.gpg /etc/apt/trusted.gpg.d/isv_ownCloud_desktop.gpg
mv: cannot stat '/etc/apt/trusted.gpg.d/isv:ownCloud:desktop.gpg': No such file or directory

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

What output do you receive for

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D1742AD60D811D58
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C5E224500C1289C0
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 966A924CE91888D2

Revision history for this message
Emil Sierda (esierda) said :
#14

Here are the outputs:

esierda@esierda-T450s:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D1742AD60D811D58
[sudo] password for esierda:
Executing: /tmp/apt-key-gpghome.o10DaROlrR/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D1742AD60D811D58
gpg: key D1742AD60D811D58: public key "Spotify Public Repository Signing Key <email address hidden>" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: invalid key resource URL '/tmp/apt-key-gpghome.o10DaROlrR/isv:ownCloud:desktop.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key 4ABE1AC7557BEFF9: 1 signature not checked due to a missing key
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 12
gpg: skipped new keys: 12
esierda@esierda-T450s:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C5E224500C1289C0
Executing: /tmp/apt-key-gpghome.T1YUeM5pBz/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C5E224500C1289C0
gpg: key C5E224500C1289C0: public key "TeamViewer GmbH (TeamViewer Linux 2017) <email address hidden>" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: invalid key resource URL '/tmp/apt-key-gpghome.T1YUeM5pBz/isv:ownCloud:desktop.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key 4ABE1AC7557BEFF9: 1 signature not checked due to a missing key
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 12
gpg: skipped new keys: 12
esierda@esierda-T450s:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 966A924CE91888D2
Executing: /tmp/apt-key-gpghome.LbrYqw9NSm/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 966A924CE91888D2
gpg: key 966A924CE91888D2: public key "Gijs Molenaar (launchpad ppa build key) <email address hidden>" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: invalid key resource URL '/tmp/apt-key-gpghome.LbrYqw9NSm/isv:ownCloud:desktop.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key 4ABE1AC7557BEFF9: 1 signature not checked due to a missing key
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 12
gpg: skipped new keys: 12

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

What is the output of the command

ls -la /etc/apt/trusted.gpg.d/

Revision history for this message
Emil Sierda (esierda) said :
#16

total 48
drwxr-xr-x 2 root root 4096 Jan 20 22:44 .
drwxr-xr-x 7 root root 4096 Jan 20 22:44 ..
-rw-r--r-- 1 root root 345 Aug 24 19:24 fingerprint_ubuntu_fingerprint-gui.gpg
-rw-r--r-- 1 root root 359 Jan 19 15:32 gwyddion-spm_ubuntu_ppa.gpg
-rw-r--r-- 1 root root 1097 Jun 17 2020 isv:ownCloud:desktop.asc
-rw-r--r-- 1 root root 1203 Oct 2 18:18 mendeleydesktop.gpg
-rw-r--r-- 1 root root 641 Oct 27 14:50 microsoft.gpg
-rw-r--r-- 1 root root 2772 Apr 15 2019 nordvpn-keyring.gpg
-rw-r--r-- 1 root root 3868 Dec 17 21:56 nordvpn_public.asc
-rw-r--r-- 1 root root 2796 Apr 9 2020 ubuntu-keyring-2012-archive.gpg
-rw-r--r-- 1 root root 2794 Apr 9 2020 ubuntu-keyring-2012-cdimage.gpg
-rw-r--r-- 1 root root 1733 Apr 9 2020 ubuntu-keyring-2018-archive.gpg

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

Try the following command

sudo mv /etc/apt/trusted.gpg.d/isv:ownCloud:desktop.asc /etc/apt/trusted.gpg.d/isv_ownCloud_desktop.asc

If this gives an output, then please copy/paste it into the question document.

If there is no output, then continue with

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D1742AD60D811D58
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C5E224500C1289C0
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 966A924CE91888D2

and copy/paste the output , too.

Revision history for this message
Emil Sierda (esierda) said :
#18

The first command did not give any input so I followed it with the other 3.

Here is the output:

esierda@esierda-T450s:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D1742AD60D811D58
Executing: /tmp/apt-key-gpghome.cktJ26cRpV/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D1742AD60D811D58
gpg: key D1742AD60D811D58: public key "Spotify Public Repository Signing Key <email address hidden>" imported
gpg: Total number processed: 1
gpg: imported: 1
esierda@esierda-T450s:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C5E224500C1289C0
Executing: /tmp/apt-key-gpghome.0KTPpMP0Rb/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C5E224500C1289C0
gpg: key C5E224500C1289C0: public key "TeamViewer GmbH (TeamViewer Linux 2017) <email address hidden>" imported
gpg: Total number processed: 1
gpg: imported: 1
esierda@esierda-T450s:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 966A924CE91888D2
Executing: /tmp/apt-key-gpghome.afLTCD0O8y/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 966A924CE91888D2
gpg: key 966A924CE91888D2: public key "Gijs Molenaar (launchpad ppa build key) <email address hidden>" imported
gpg: Total number processed: 1
gpg: imported: 1

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#19

Ok, if you run:

sudo apt-get update

Is it smooth?

Revision history for this message
Emil Sierda (esierda) said :
#20

Yes. This time update was smooth.

esierda@esierda-T450s:~$ sudo apt-get update
[sudo] password for esierda:
Hit:1 http://nl.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://nl.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_20.04 InRelease
Hit:4 http://nl.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:5 http://repository.spotify.com stable InRelease
Hit:6 https://packages.microsoft.com/repos/ms-teams stable InRelease
Hit:7 https://linux.teamviewer.com/deb stable InRelease
Hit:8 https://desktop-download.mendeley.com/download/apt stable InRelease
Hit:9 https://app.eduvpn.org/linux/deb stretch InRelease
Hit:10 https://repo.nordvpn.com//deb/nordvpn/debian stable InRelease
Hit:11 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu focal InRelease
Hit:12 http://ppa.launchpad.net/gwyddion-spm/ppa/ubuntu focal InRelease
Get:13 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Fetched 109 kB in 3s (42.7 kB/s)
Reading package lists... Done

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

ok, now you can re-start with actionparsnip's commands in comment #3

Revision history for this message
Emil Sierda (esierda) said :
#22

It worked this time and I could install gwyddion. Thank you all for your help.

Still, version installed in 2.55-3 and when I start it it cannot load any modules. Do you have any suggestions what is the best course of action here?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#23

Not something I use or know anything about at all. Now it's installed I suggest you create a new question about its configuration. Are there any Gwyddion specific forums online? If so then I'd post there as well.

Revision history for this message
Emil Sierda (esierda) said :
#24

Thanks Manfred Hampl, that solved my question.

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

I do not know any details about gwyddion; I do not know what "loading modules" means in that context.

If you think that you need version 2.57 or higher, I see the following options for you:

I assume the root cause is a confusion of depends source:version and binary:version in the control file. This problem seems to come from the package in Debian, but does not prevent installing there, because there is no PPA suffix in the version.

1. Try getting in contact with the Gwyddion-Spm team, see https://launchpad.net/~gwyddion-spm/+contactuser
2. Try manually downloading and installing version 2.57-1 from the Ubuntu repositories for hirsute
3. Try building the packages yourself and correct the dependency problem (I assume replacing source:version by binary:version in the control file should help).
4. In any case you can try asking on gwyddion forums, see e.g. https://sourceforge.net/p/gwyddion/mailman/ or http://gwyddion.net/