Public bug reported:

I have just used 'env -i' to avoid the gtk dialog.
The same occurs when using gtk.

I can't file a bug against systemd because it complains:
   This is not an official Ubuntu package. Please remove any third party 
package and try again.

Other packages work (i tried 'cloud-initramfs-rooturl' for one).
(also note, i used 'ubuntu-bug' to file *this* bug, so  not all packages are 
borked).


$ apt-cache policy systemd
systemd:
  Installed: 234-2ubuntu12.1
  Candidate: 234-2ubuntu12.1
  Version table:
 *** 234-2ubuntu12.1 100
        100 /var/lib/dpkg/status
     234-2ubuntu12 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

$ dpkg-query --show systemd
systemd 234-2ubuntu12.1


$ env -i HOME=$HOME ubuntu-bug systemd

*** 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/package-hooks/systemd.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 198, in _run_hook
    symb['add_info'](report, ui)
TypeError: add_info() takes 1 positional argument but 2 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 203, in _run_hook
    symb['add_info'](report)
  File "/usr/share/apport/package-hooks/systemd.py", line 11, in add_info
    apport.hookutils.attach_hardware(report)
  File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 265, in 
attach_hardware
    attach_dmi(report)
  File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 221, in 
attach_dmi
    value = fd.read().strip()
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: ordinal 
not in range(128)

*** Problem in systemd

The problem cannot be reported:

This is not an official Ubuntu package. Please remove any third party
package and try again.

Press any key to continue...
No pending crash reports. Try --help for more information.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: apport 2.20.7-0ubuntu3.1
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportLog:

ApportVersion: 2.20.7-0ubuntu3.1
Architecture: amd64
CrashReports: 640:1000:116:17662:2017-10-31 09:46:03.727057218 -0400:2017-10-31 
09:46:04.727057218 -0400:/var/crash/_usr_bin_tox.1000.crash
CurrentDesktop: ubuntu:GNOME
Date: Tue Nov  7 14:22:04 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-07-23 (838 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug bionic third-party-packages wayland-session

** Description changed:

  I have just used 'env -i' to avoid the gtk dialog.
  The same occurs when using gtk.
  
  I can't file a bug against systemd because it complains:
-    This is not an official Ubuntu package. Please remove any third party 
package and try again.
+    This is not an official Ubuntu package. Please remove any third party 
package and try again.
  
  Other packages work (i tried 'cloud-initramfs-rooturl' for one).
+ (also note, i used 'ubuntu-bug' to file *this* bug, so  not all packages are 
borked).
+ 
+ 
+ $ apt-cache policy systemd
+ systemd:
+   Installed: 234-2ubuntu12.1
+   Candidate: 234-2ubuntu12.1
+   Version table:
+  *** 234-2ubuntu12.1 100
+         100 /var/lib/dpkg/status
+      234-2ubuntu12 500
+         500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
+ 
+ $ dpkg-query --show systemd
+ systemd       234-2ubuntu12.1
+ 
+ 
  
  $ env -i HOME=$HOME ubuntu-bug systemd
  
  *** 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/package-hooks/systemd.py crashed:
  Traceback (most recent call last):
-   File "/usr/lib/python3/dist-packages/apport/report.py", line 198, in 
_run_hook
-     symb['add_info'](report, ui)
+   File "/usr/lib/python3/dist-packages/apport/report.py", line 198, in 
_run_hook
+     symb['add_info'](report, ui)
  TypeError: add_info() takes 1 positional argument but 2 were given
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
-   File "/usr/lib/python3/dist-packages/apport/report.py", line 203, in 
_run_hook
-     symb['add_info'](report)
-   File "/usr/share/apport/package-hooks/systemd.py", line 11, in add_info
-     apport.hookutils.attach_hardware(report)
-   File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 265, in 
attach_hardware
-     attach_dmi(report)
-   File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 221, in 
attach_dmi
-     value = fd.read().strip()
-   File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
-     return codecs.ascii_decode(input, self.errors)[0]
+   File "/usr/lib/python3/dist-packages/apport/report.py", line 203, in 
_run_hook
+     symb['add_info'](report)
+   File "/usr/share/apport/package-hooks/systemd.py", line 11, in add_info
+     apport.hookutils.attach_hardware(report)
+   File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 265, in 
attach_hardware
+     attach_dmi(report)
+   File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 221, in 
attach_dmi
+     value = fd.read().strip()
+   File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
+     return codecs.ascii_decode(input, self.errors)[0]
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: 
ordinal not in range(128)
- 
  
  *** Problem in systemd
  
  The problem cannot be reported:
  
  This is not an official Ubuntu package. Please remove any third party
  package and try again.
  
- Press any key to continue...  
+ Press any key to continue...
  No pending crash reports. Try --help for more information.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: apport 2.20.7-0ubuntu3.1
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
  ApportLog:
-  
+ 
  ApportVersion: 2.20.7-0ubuntu3.1
  Architecture: amd64
  CrashReports: 640:1000:116:17662:2017-10-31 09:46:03.727057218 
-0400:2017-10-31 09:46:04.727057218 -0400:/var/crash/_usr_bin_tox.1000.crash
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Nov  7 14:22:04 2017
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-07-23 (838 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
  PackageArchitecture: all
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  ubuntu-bug claims systemd is not an official package

Status in apport package in Ubuntu:
  New

Bug description:
  I have just used 'env -i' to avoid the gtk dialog.
  The same occurs when using gtk.

  I can't file a bug against systemd because it complains:
     This is not an official Ubuntu package. Please remove any third party 
package and try again.

  Other packages work (i tried 'cloud-initramfs-rooturl' for one).
  (also note, i used 'ubuntu-bug' to file *this* bug, so  not all packages are 
borked).

  
  $ apt-cache policy systemd
  systemd:
    Installed: 234-2ubuntu12.1
    Candidate: 234-2ubuntu12.1
    Version table:
   *** 234-2ubuntu12.1 100
          100 /var/lib/dpkg/status
       234-2ubuntu12 500
          500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

  $ dpkg-query --show systemd
  systemd       234-2ubuntu12.1


  
  $ env -i HOME=$HOME ubuntu-bug systemd

  *** 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/package-hooks/systemd.py crashed:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport/report.py", line 198, in 
_run_hook
      symb['add_info'](report, ui)
  TypeError: add_info() takes 1 positional argument but 2 were given

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport/report.py", line 203, in 
_run_hook
      symb['add_info'](report)
    File "/usr/share/apport/package-hooks/systemd.py", line 11, in add_info
      apport.hookutils.attach_hardware(report)
    File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 265, in 
attach_hardware
      attach_dmi(report)
    File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 221, in 
attach_dmi
      value = fd.read().strip()
    File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
      return codecs.ascii_decode(input, self.errors)[0]
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: 
ordinal not in range(128)

  *** Problem in systemd

  The problem cannot be reported:

  This is not an official Ubuntu package. Please remove any third party
  package and try again.

  Press any key to continue...
  No pending crash reports. Try --help for more information.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: apport 2.20.7-0ubuntu3.1
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
  ApportLog:

  ApportVersion: 2.20.7-0ubuntu3.1
  Architecture: amd64
  CrashReports: 640:1000:116:17662:2017-10-31 09:46:03.727057218 
-0400:2017-10-31 09:46:04.727057218 -0400:/var/crash/_usr_bin_tox.1000.crash
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Nov  7 14:22:04 2017
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-07-23 (838 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1730736/+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