Ubuntu update 16.04 LTS -> 18.04.1 LTS does not update previously installed ID-card software

It may happen that you cannot run DigiDoc4 on your computer after updating Ubuntu. This is because Ubuntu updates do not update third-party software.

When Ubuntu is updated, the contents of the /etc/apt/sources.list.d/ria-repository.list file are modified as follows: 
# deb https://installer.id.ee/media/ubuntu/ bionic main # disabled on upgrade to bionic 

This means that:

  • Since the Open-eID compiled for Ubuntu 16.04 does not run on 18.04, DigiDoc4 does not start.
  • When you start from the command line, an error occurs:
    qdigidoc4: symbol lookup error: /usr/lib/x86_64-linux-gnu/libdigidocpp.so.1: undefined symbol:_ZN11xalanc_1_1114XPathEvaluator10initializeERN11xercesc_3_113MemoryManagerE
  • Chrome authentication works, but Firefox authentication does not work. After you select the certificate, the Secure Connection Failed opens.
  • Signing doesn't work with Chrome or Firefox. Technical_error appears after you have been asked for the PIN.

Solution 1

1. Run the Open-eID installation script again.
2. Run sudo apt update & sudo apt upgrade
The installation script updates the open-eID and opensc package, and the second command is required to update the remaining packages.

Solution 2

This option is suitable for a more experienced computer user.
1. Remove a comment in front of the line in the /etc/apt/sources.list.d/ria-repository.list file.
2. Run sudo apt update & sudo apt upgrade

This should resolve the situation – if necessary, check that you are using the latest ID-software.