package update-notifier-common 3.168.9 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1783682 reported by Konstantin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-notifier (Ubuntu)
Triaged
Undecided
Konstantin

Bug Description

Настраивается пакет update-notifier-common (3.168.9) …
Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 337, in <module>
    process_download_requests()
  File "/usr/lib/update-notifier/package-data-downloader", line 236, in process_download_requests
    for para in hook.iter_paragraphs(open(file)):
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 388, in iter_paragraphs
    x = cls(iterable, fields, encoding=encoding)
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 336, in __init__
    self._internal_parser(sequence, fields)
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 440, in _internal_parser
    self._skip_useless_lines(sequence)):
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 702, in gpg_stripped_paragraph
    return cls.split_gpg_and_payload(sequence)[1]
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 647, in split_gpg_and_payload
    for line in sequence:
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 402, in _skip_useless_lines
    for line in sequence:
  File "/usr/lib/python3.5/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 133: invalid start byte
dpkg: ошибка при обработке пакета update-notifier-common (--configure):
 подпроцесс установлен сценарий post-installation возвратил код ошибки 1
dpkg: зависимости пакетов не позволяют настроить пакет update-notifier:
 update-notifier зависит от update-notifier-common (= 3.168.9), однако:
  Пакет update-notifier-common пока не настроен.

dpkg: ошибка при обработке пакета update-notifier (--configure):
 проблемы зависимостей — оставляем не настроенным
Отчёты apport не записаны, так как сообщение об ошибке указывает на повторную ошибку от предыдущего отказа.
                                                                                                           При обработке следующих пакетов произошли ошибки:
 update-notifier-common
 update-notifier
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: update-notifier-common 3.168.9
ProcVersionSignature: Ubuntu 4.15.0-29.31~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-29-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Thu Jul 26 08:35:14 2018
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2018-05-08 (78 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.4
 apt 1.2.27
SourcePackage: update-notifier
Title: package update-notifier-common 3.168.9 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Konstantin (kostushka) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Steve Langasek (vorlon) wrote :

What is the output of 'dpkg -S /usr/share/package-data-downloads/*' on your system?

Changed in update-notifier (Ubuntu):
status: New → Incomplete
Revision history for this message
Konstantin (kostushka) wrote :

sudo dpkg -S /usr/share/package-data-downloads/*
dpkg-query: не найден путь, подходящий под шаблон /usr/share/package-data-downloads/ttf-mscorefonts-installer_3.6_all.deb

Konstantin (kostushka)
Changed in update-notifier (Ubuntu):
status: Incomplete → Fix Released
assignee: nobody → Konstantin (kostushka)
Steve Langasek (vorlon)
Changed in update-notifier (Ubuntu):
status: Fix Released → Triaged
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.