KeyError: 'pecynnau'

Bug #2003558 reported by Christoph Koop
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-notifier (Ubuntu)
New
Undecided
Unassigned

Bug Description

When installing ttf-mscorefonts-installer on Ubuntu 20.04 (using docker image asp-net-6.0-focal)

apt-get update && apt-get -y install ttf-mscorefonts-installer

Error message:

Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 351, in <module>
    process_download_requests()
  File "/usr/lib/update-notifier/package-data-downloader", line 329, in process_download_requests
    trigger_update_notifier(previous_failures, permanent=True)
  File "/usr/lib/update-notifier/package-data-downloader", line 156, in trigger_update_notifier
    string.Template(input).substitute(
  File "/usr/lib/python3.8/string.py", line 126, in substitute
    return self.pattern.sub(convert, self.template)
  File "/usr/lib/python3.8/string.py", line 119, in convert
    return str(mapping[named])
KeyError: 'pecynnau'
dpkg: error processing package update-notifier-common (--configure):
 installed update-notifier-common package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of ttf-mscorefonts-installer:
 ttf-mscorefonts-installer depends on update-notifier-common (>= 0.119ubuntu2); however:
  Package update-notifier-common is not configured yet.

dpkg: error processing package ttf-mscorefonts-installer (--configure):
 dependency problems - leaving unconfigured

Tags: focal

Related branches

Revision history for this message
Christoph Koop (christophkoop) wrote :

Addition: It worked fine until ca. 16 or 17 Jan 23

Revision history for this message
Christoph Koop (christophkoop) wrote (last edit ):

I think I found the cause of the problem: The Eula of ttf-mscorefonts-installer needs to be accepted interactivly. -y option in apt-get install -y does not work here. So the cause is that the Eula was not accepted, because it ran in a docker image build. Still the error message is strange.

affects: update-notifier (Ubuntu) → msttcorefonts (Ubuntu)
tags: added: focal
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Upon a closer look, I now see why this was reported against update-notifier. Sorry about that :)

affects: msttcorefonts (Ubuntu) → update-notifier (Ubuntu)
Revision history for this message
Christoph Koop (christophkoop) wrote :

One way to reproduce:
podman run -it --rm mcr.microsoft.com/dotnet/aspnet:6.0-focal sh
then within sh:
# apt-get update && apt-get -y install ttf-mscorefonts-installer
When the Eula appears, press Ctrl+D until the install continues.

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.