Public bug reported:

*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
................................ERROR: hook 
/usr/share/apport/general-hooks/ubuntu.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 218, in _run_hook
    symb['add_info'](report, ui)
  File "/usr/share/apport/general-hooks/ubuntu.py", line 66, in add_info
    check_attachment_for_errors(report, attachment)
  File "/usr/share/apport/general-hooks/ubuntu.py", line 170, in 
check_attachment_for_errors
    trim_dpkg_log(report)
  File "/usr/share/apport/general-hooks/ubuntu.py", line 468, in trim_dpkg_log
    report['DpkgTerminalLog'] = '\n'.join([str(line.encode('utf-8')) for line 
in lines])
  File "/usr/share/apport/general-hooks/ubuntu.py", line 468, in <listcomp>
    report['DpkgTerminalLog'] = '\n'.join([str(line.encode('utf-8')) for line 
in lines])
AttributeError: 'bytes' object has no attribute 'encode'
...

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: apt 1.2.10ubuntu1
Uname: Linux 4.1.19-v7+ armv7l
ApportVersion: 2.20.1-0ubuntu2
Architecture: armhf
Date: Tue Sep 29 21:03:38 2020
ErrorMessage: unable to stat './etc/kernel' (which I was about to install): 
Input/output error
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2.3
 apt  1.2.10ubuntu1
SourcePackage: apt
Title: package apt 1.2.10ubuntu1 failed to install/upgrade: unable to stat 
'./etc/kernel' (which I was about to install): Input/output error
UpgradeStatus: Upgraded to bionic on 2020-09-29 (0 days ago)

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package armhf bionic

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1897865

Title:
  package apt 1.2.10ubuntu1 failed to install/upgrade: unable t
  o stat './etc/kernel' (which I was about to install): Input/output
  error

Status in apt package in Ubuntu:
  New

Bug description:
  *** Collecting problem information

  The collected information can be sent to the developers to improve the
  application. This might take a few minutes.
  ................................ERROR: hook 
/usr/share/apport/general-hooks/ubuntu.py crashed:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport/report.py", line 218, in 
_run_hook
      symb['add_info'](report, ui)
    File "/usr/share/apport/general-hooks/ubuntu.py", line 66, in add_info
      check_attachment_for_errors(report, attachment)
    File "/usr/share/apport/general-hooks/ubuntu.py", line 170, in 
check_attachment_for_errors
      trim_dpkg_log(report)
    File "/usr/share/apport/general-hooks/ubuntu.py", line 468, in trim_dpkg_log
      report['DpkgTerminalLog'] = '\n'.join([str(line.encode('utf-8')) for line 
in lines])
    File "/usr/share/apport/general-hooks/ubuntu.py", line 468, in <listcomp>
      report['DpkgTerminalLog'] = '\n'.join([str(line.encode('utf-8')) for line 
in lines])
  AttributeError: 'bytes' object has no attribute 'encode'
  ...

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: apt 1.2.10ubuntu1
  Uname: Linux 4.1.19-v7+ armv7l
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: armhf
  Date: Tue Sep 29 21:03:38 2020
  ErrorMessage: unable to stat './etc/kernel' (which I was about to install): 
Input/output error
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2.3
   apt  1.2.10ubuntu1
  SourcePackage: apt
  Title: package apt 1.2.10ubuntu1 failed to install/upgrade: unable to stat 
'./etc/kernel' (which I was about to install): Input/output error
  UpgradeStatus: Upgraded to bionic on 2020-09-29 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1897865/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to