[Bug 1766036] Re: package g++-7 (not installed) failed to install/upgrade: dpkg-deb --fsys-tarfile subprocess returned error exit status 2

Ubuntu Foundations Team Bug Bot 1766036 at bugs.launchpad.net
Sun Apr 22 00:16:57 UTC 2018


Thank you for taking the time to report this bug and helping to make
Ubuntu better.  It seems that there was an error on your system when
trying to install a particular package.  Please execute the following
command, as it will clear your package cache, in a terminal:

sudo apt-get clean

Then try performing the update again.  This will likely resolve your
issue, but the failure could be caused by filesystem or memory
corruption.  So please also run a fsck on your filesystem(s) and a
memory test.  Thanks in advance!

[This is an automated message.  I apologize if it reached you
inappropriately; please just reply to this message indicating so.]

** Tags added: fsys-tarfile-error

** Changed in: gcc-7 (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1766036

Title:
  package g++-7 (not installed) failed to install/upgrade: dpkg-deb
  --fsys-tarfile subprocess returned error exit status 2

Status in gcc-7 package in Ubuntu:
  Invalid

Bug description:
  Just doing a fresh 18.04 install and the requested upgrades/updates.

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: g++-7 (not installed)
  ProcVersionSignature: Ubuntu 4.15.0-15.16-generic 4.15.15
  Uname: Linux 4.15.0-15-generic x86_64
  ApportVersion: 2.20.9-0ubuntu6
  Architecture: amd64
  Date: Sat Apr 21 17:57:19 2018
  DuplicateSignature:
   package:g++-7:(not installed)
   Unpacking g++-7 (7.3.0-16ubuntu3) ...
   dpkg-deb: error: failed to read archive '/tmp/apt-dpkg-install-ja74T3/26-g++-7_7.3.0-16ubuntu3_amd64.deb': No such file or directory
   dpkg: error processing archive /tmp/apt-dpkg-install-ja74T3/26-g++-7_7.3.0-16ubuntu3_amd64.deb (--unpack):
    dpkg-deb --fsys-tarfile subprocess returned error exit status 2
  ErrorMessage: dpkg-deb --fsys-tarfile subprocess returned error exit status 2
  InstallationDate: Installed on 2018-04-21 (0 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Beta amd64 (20180404)
  Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
  PythonDetails: /root/Error: command ['which', 'python'] failed with exit code 1:, Error: [Errno 2] No such file or directory: "/root/Error: command ['which', 'python'] failed with exit code 1:": "/root/Error: command ['which', 'python'] failed with exit code 1:", unpackaged
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2
   apt  1.6.1
  SourcePackage: gcc-7
  Title: package g++-7 (not installed) failed to install/upgrade: dpkg-deb --fsys-tarfile subprocess returned error exit status 2
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1766036/+subscriptions



More information about the foundations-bugs mailing list