Subprocess dpkg deb fsys tarfile returned error exit status 2

Ubuntu Wiki DebuggingInstallationIssues This page is part of the debugging series — pages with debugging details for a variety of Ubuntu packages. Introduction This page lists some general issues that users might encounter while performing updates of their system. Apport will usually detect these failures and file a bug in Launchpad. These bugs can […]

Содержание

  1. Ubuntu Wiki
  2. DebuggingInstallationIssues
  3. Introduction
  4. Known issues
  5. Corrupted package archive
  6. Not a Debian format archive
  7. Corrupted filesystem tarfile
  8. —fsys-tarfile
  9. short read — Input/output error
  10. Exec format error
  11. triggers ci file contains unknown directive syntax
  12. lzma : decoder error
  13. files list file missing final newline / contains empty filename
  14. Inconsistent state
  15. Package in bad inconsistent state
  16. package is already installed and configured
  17. Other issues
  18. Can’t access archive
  19. No space left on device
  20. DbDriver «config» is locked
  21. /var/lib/defoma/locked exists
  22. /etc/defoma/hints/FONTNAME.hints: Unable to open, or empty
  23. Non-bugs
  24. Segmentation Fault — Exit status 139
  25. Other resources
  26. package libavutil55 7:3.4.2-2 failed to install/upgrade: dpkg-deb —fsys-tarfile subprocess returned error exit status 2
  27. Bug Description

Ubuntu Wiki

DebuggingInstallationIssues

This page is part of the debugging series — pages with debugging details for a variety of Ubuntu packages.

Introduction

This page lists some general issues that users might encounter while performing updates of their system. Apport will usually detect these failures and file a bug in Launchpad. These bugs can be identified by the bug tag ‘apport-package’ and can occur on nearly any package.

There are usually log file attached to the report which differs depending on the kind of install/upgrade:

Package install/upgrade: DpkgTerminalLog

Distribution upgrade: VarLogDistupgradeMain and VarLogDistupgradeApttermlog

Detailed informations about debugging updatemanager can be found at DebuggingUpdateManager.

Documented below are the most commonly reported issues. For each case there is a description and a sample report and when applicable there is a workaround or fix and the master report it should be marked a duplicate of.

Known issues

Corrupted package archive

These errors indicates a corrupted archive (.deb or files on disk) The root cause of the corruption may be a bad network connection, faulty hardware, hardware shutdown.

For those report the common workaround and stock response is:

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that there was an error caused by a corrupted archive. Please execute the following commands, as it will clear your package cache, in a terminal ( Applications -> Accessories -> Terminal ) :

sudo apt-get clean
sudo apt-get update

Then try performing the update again. This will likely resolve your issue. If so please set the bug’s status to Invalid. Thanks in advance!

Not a Debian format archive

This error indicated that the header of the .deb archive is not recognized as a valid debian format.

Corrupted filesystem tarfile

—fsys-tarfile

short read — Input/output error

The ‘short read’ error happens when trying to install a partially downloaded package. The front-end verify the integrity of the archive, but it is not the case if dpkg is invoked directly.

An input/output error is likely to mean filesystem corruption, hardware problems or no space left on hard disk. The typical errors are:

The suggestion is to run a manual fsck and look whether the hard drive or storage device is operating correctly (dmesg may contain helpful information too)

TODO: Write a standard response

Exec format error

This error indicates that the installation or removal script is corrupted. It is caused by a sudden system failure during dpkg operation (power failure, hardware failure, . ) on filesystems supporting delayed allocation (like ext4, xfs, btrfs, . )

Empty files or files filed with garbage are left on the hard drive. The file causing the dpkg error is one of /var/lib/dpkg/info/PACKAGE_NAME.p*

This error can occur either during installation or removal of the package.

During installation of a package

During removal of a package

Workaround A: Finish the install

sudo apt-get clean
sudo aptitude download python-libvirt
sudo dpkg —unpack ./python-libvirt*.deb
sudo dpkg —configure python-libvirt

Workaround B: Remove the package and reinstall

sudo rm /var/lib/dpkg/info/flashplugin-installer.
sudo apt-get remove —purge flashplugin-installer
sudo apt-get clean
sudo apt-get update

Then reinstall the package

Note: Change the package by the one which failed (check the log file)

Note about localized error message:
Finding this error in the log is not always easy because the error string has been localized.

  • Erreur de format pour exec()
  • Error de formato ejecutable
  • Errore di formato di exec
  • Exec format error
  • Formatfel på körbar fil
  • Érvénytelen végrehajtható fájlformátum
  • Exec formátum hiba
  • Verkeerd uitvoerbaar bestand
  • Exec 格式错误

triggers ci file contains unknown directive syntax

This is the same kind of issue than the one above. It means that the trigger file is empty or corrupted. The file is /var/lib/dpkg/info/PACKAGE.triggers This error can occur during installation or removal of a package.

During installation of a package

Workaround

remove the file /var/lib/dpkg/info/PACKAGE.triggers
sudo rm /var/lib/dpkg/info/PACKAGE.triggers
and run
sudo dpkg —purge ureadahead
then clean your cache
sudo apt-get clean
and try performing the install of ureadahead again.

lzma : decoder error

files list file missing final newline / contains empty filename

This error indicates that the file /var/lib/dpkg/info/PACKAGE_NAME.list is corrupted ( empty or full of garbage ) The reason may be a disk error, a memory error, a process being interrupted during unpack, .

Typically these errors take the form :
files list file for package packagename contains empty filename
or
files list file for package packagename is missing final newline

Workaround: Recreate the file list from .deb
This can be fixed, with a little work. If you have the .deb file for the offending package currently available on your system, then check its integrity by running:
dpkg —contents /var/cache/apt/archive/libgnome2-0_2.24.1-0ubuntu3_i386.deb
or get a .deb file by running :
sudo apt-get install —reinstall —download-only libgnome2-0

Once you have a valid .deb file, then you can reconstitute the file. First become root by using sudo -s (enter your administrative user password if necessary), and then use the following command (copy/paste and change the package name accordingly):

Inconsistent state

Package in bad inconsistent state

Workaround A:

Please open a Terminal from the menu Applications->Accessories->Terminal and type or copy and paste the row below:

sudo apt-get —reinstall install cupsys
sudo dpkg —configure -a
sudo apt-get -f install

give your user password when requested, you don’t see nothing when you type it, then press enter.

Workaround B:

Try the command below to purge the offending packages :
sudo dpkg —purge —force-remove-reinstreq flashplugin-installer flashplugin-nonfree

Then to reinstall :
sudo apt-get install flashplugin-installer

package is already installed and configured

Conditions of this failure are unknown. Please provide any additional informations in the master report.

Note to triagers: Before marking a report as duplicate, be sure that there is no other error in the log file term.log . In other words, don’t blindly duplicate because the title says ‘already installed and configured’.

Workaround A:

sudo dpkg —configure -a

Workaround B:

sudo apt-get install —reinstall language-pack-ar

Other issues

Can’t access archive

The source of this error is not clearly identified and needs further investigation (see comment #3 of the master report)

No space left on device

Bug 105113 was a request to detect this prior to performing any updates.

Bug 312491 was a request to report to the user when running out of disk space.

This error is self-explanatory.

Note about localized error message:
Despite the fact that there is no ambiguity regarding the cause of the failure, finding this error in the log is not always easy because the error string has been localized. Checking for the strings —unpack and buffer_write in the error log is a good indication too.

DbDriver «config» is locked

fuser -v will return the locking process if any. Kill it and try performing the upgrade again. Most often, this is only a transient situation and fuser will return nothing. Simply performing the update again should solve this issue.

/var/lib/defoma/locked exists

Under certain circumstances font packages failed to install with the following error:

Workaround

Open a terminal (Applications -> Accessories -> Terminal ) and run the following command:

/etc/defoma/hints/FONTNAME.hints: Unable to open, or empty

Under certain circumstances font packages failed to install with the following error:

This is due to a corrupted hint file.

Workaround

To workaround it, open a terminal and run the following commands:

Then try performing the install again. Replace the font file name (FONTNAME) by the font name failing on your system (e.g ttf-dejavu-extra, ttf-konatu, . )

Non-bugs

Common issues arising from hardware failures, common invalid bugs for this category.

Segmentation Fault — Exit status 139

If the installation failed with no reason with an exit status 139, that the configuration script is trivial and there is no other report of this kind for that package, then this is very likely a memory corruption error.

The error from the term.log will show something like this:

There is not much we can do except the advice below:

Thanks for your report.

This looks like a hardware issue. Could you run memtest on your system? (boot a live CD / USB key and select test memory)

The reporter will most of the time says that the test reports error. If so, then close the report.

Note : an exit status 139 can also appear on other scenarios that aren’t related to faulty memory modules. For example, if you install a Hardy guest on a Lenny host using Xen, and then try an apt-get upgrade on the Hardy guest, that will fail with a segfault and an exit status 139 if you forget to disable /lib/tls as advised in the Xen Faq

Other resources

  • Add note about localized messages in log file and method to process those reports
  • Search for master reports, complete missing references in wiki and cross-reference report/wiki content

Add section ‘How to triage’ and merge the one from DebuggingUpdateManager

Add missing descriptions & workaround

  • Add section with common install/upgrade issues for specific packages ? only provide list of report + description ?
  • DebuggingInstallationIssues (последним исправлял пользователь mail 2014-11-17 18:12:57)

    The material on this wiki is available under a free license, see Copyright / License for details.

    Источник

    package libavutil55 7:3.4.2-2 failed to install/upgrade: dpkg-deb —fsys-tarfile subprocess returned error exit status 2

    Affects Status Importance Assigned to Milestone
    ffmpeg (Ubuntu)

    Bug Description

    package libavutil55 7:3.4.2-2 failed to install/upgrade: dpkg-deb —fsys-tarfile subprocess returned error exit status 2

    ProblemType: Package
    DistroRelease: Ubuntu 18.04
    Package: libavutil55 7:3.4.2-2
    ProcVersionSign ature: Ubuntu 4.15.0- 32.35-generic 4.15.18
    Uname: Linux 4.15.0-32-generic x86_64
    ApportVersion: 2.20.9-0ubuntu7.2
    AptOrdering:
    libavutil55:amd64: Install
    NULL: ConfigurePending
    Architecture: amd64
    Date: Fri Aug 24 09:47:25 2018
    DpkgTerminalLog:
    Preparing to unpack . /libavutil55 _7%3a3. 4.4-0ubuntu0. 18.04.1_ amd64.deb .
    Unpacking libavutil55:amd64 (7:3.4. 4-0ubuntu0. 18.04.1) over (7:3.4.2-2) .
    dpkg-deb: error: failed to read archive ‘/var/cache/ apt/archives/ libavutil55_ 7%3a3.4. 4-0ubuntu0. 18.04.1_ amd64.deb’ : No such file or directory
    dpkg: error processing archive /var/cache/ apt/archives/ libavutil55_ 7%3a3.4. 4-0ubuntu0. 18.04.1_ amd64.deb (—unpack):
    dpkg-deb —fsys-tarfile subprocess returned error exit status 2
    DuplicateSignature:
    package: libavutil55: 7:3.4.2- 2
    Unpacking libavutil55:amd64 (7:3.4. 4-0ubuntu0. 18.04.1) over (7:3.4.2-2) .
    dpkg-deb: error: failed to read archive ‘/var/cache/ apt/archives/ libavutil55_ 7%3a3.4. 4-0ubuntu0. 18.04.1_ amd64.deb’ : No such file or directory
    dpkg: error processing archive /var/cache/ apt/archives/ libavutil55_ 7%3a3.4. 4-0ubuntu0. 18.04.1_ 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-05-07 (108 days ago)
    InstallationMedia: Ubuntu 18.04 LTS «Bionic Beaver» — Release amd64 (20180426)
    Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
    PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15

    rc1-1
    RelatedPackageV ersions:
    dpkg 1.19.0.5ubuntu2
    apt 1.6.3ubuntu0.1
    SourcePackage: ffmpeg
    Title: package libavutil55 7:3.4.2-2 failed to install/upgrade: dpkg-deb —fsys-tarfile subprocess returned error exit status 2
    UpgradeStatus: No upgrade log present (probably fresh install)

    • Dependencies.txtEdit (1.0 KiB, text/plain; charset=»utf-8″)
    • Df.txtEdit (2.4 KiB, text/plain; charset=»utf-8″)
    • Dmesg.txtEdit (60.5 KiB, text/plain; charset=»utf-8″)
    • DpkgHistoryLog.txtEdit (9.9 KiB, text/plain; charset=»utf-8″)
    • ProcCpuinfoMinimal.txtEdit (1.1 KiB, text/plain; charset=»utf-8″)
    tags: removed: need-duplicate-check

    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 ffmpeg (Ubuntu):
    status: New → Invalid

    I’m getting the same error as Vijayan, when I run «sudo apt —fix-broken install» command.
    Below is the error log.

    Reading package lists. Done
    Building dependency tree
    Reading state information. Done
    Correcting dependencies. Done
    The following additional packages will be installed:
    libavutil55 libswresample2
    The following NEW packages will be installed:
    libavutil55 libswresample2
    0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
    6 not fully installed or removed.
    Need to get 0 B/245 kB of archives.
    After this operation, 765 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    E: Invalid archive signature
    E: Internal error, could not locate member control. tar.
    E: Prior errors apply to /var/cache/ apt/archives/ libavutil55_ 7%3a3.4. 4-0ubuntu0. 18.04.1_ amd64.deb
    E: Invalid archive signature
    E: Internal error, could not locate member control. tar.
    E: Prior errors apply to /var/cache/ apt/archives/ libswresample2_ 7%3a3.4. 4-0ubuntu0. 18.04.1_ amd64.deb
    debconf: apt-extracttemp lates failed: No such file or directory
    dpkg-deb: error: ‘/var/cache/ apt/archives/ libavutil55_ 7%3a3.4. 4-0ubuntu0. 18.04.1_ amd64.deb’ is not a Debian format archive
    dpkg: error processing archive /var/cache/ apt/archives/ libavutil55_ 7%3a3.4. 4-0ubuntu0. 18.04.1_ amd64.deb (—unpack):
    dpkg-deb —control subprocess returned error exit status 2
    dpkg-deb: error: ‘/var/cache/ apt/archives/ libswresample2_ 7%3a3.4. 4-0ubuntu0. 18.04.1_ amd64.deb’ is not a Debian format archive
    dpkg: error processing archive /var/cache/ apt/archives/ libswresample2_ 7%3a3.4. 4-0ubuntu0. 18.04.1_ amd64.deb (—unpack):
    dpkg-deb —control subprocess returned error exit status 2
    Errors were encountered while processing:
    /var/cache/ apt/archives/ libavutil55_ 7%3a3.4. 4-0ubuntu0. 18.04.1_ amd64.deb
    /var/cache/ apt/archives/ libswresample2_ 7%3a3.4. 4-0ubuntu0. 18.04.1_ amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I tried uninstalling whole gstreamer by using
    «sudo apt-get purge gstreamer1.0-alsa gstreamer1. 0-plugins- base-apps gstreamer1. 0-clutter- 3.0 gstreamer1. 0-plugins- good gstreamer1. 0-fluendo- mp3 gstreamer1. 0-plugins- ugly gstreamer1.0-gl gstreamer1. 0-pulseaudio gstreamer1.0-libav gstreamer1.0-tools gstreamer1. 0-packagekit gstreamer1.0-vaapi gstreamer1. 0-plugins- base gstreamer1.0-x»

    I also tried uninstall all libraries related to gstreamer with
    «libavcodec57, libavcodec-extra57, libavfilter6, libavfilter-extra6, libavformat57, libavutil55, libavcodec57, libavcodec-extra57, libavutil55»

    but still getting dependency error and it’s asking to run «apt —fix-broken install».
    I wanted to install «anbox», which in turn reqire dkms-dev to be installed. But I’m getting dependency error as shown below.
    Log:

    sudo apt-get install dpkg-dev
    Reading package lists. Done
    Building dependency tree
    Reading state information. Done
    You might want to run ‘apt —fix-broken install’ to correct these.
    The following packages have unmet dependencies:
    gstreamer1.0-libav : Depends: libavcodec57 (>= 7:3.4.2) but it is not going to be installed or
    libavcodec- extra57 (>= 7:3.4.2) but it is not going to be installed
    Depends: libavfilter6 (>= 7:3.4.2) but it is not going to be installed or
    libavfilter- extra6 (>= 7:3.4.2) but it is not going to be installed
    Depends: libavformat57 (>= 7:3.4.2) but it is not going to be installed
    Depends: libavutil55 (>= 7:3.4.2) but it is not going to be installed
    libchromaprint1 : Depends: libavcodec57 (>= 7:3.4.1) but it is not going to be installed or
    libavcodec- extra57 (>= 7:3.4.1) but it is not going to be installed
    Depends: libavutil55 (>= 7:3.4.1) but it is not going to be installed
    E: Unmet dependencies. Try ‘apt —fix-broken install’ with no packages (or specify a solution).

    Источник

    Debugging Central

    This page is part of the debugging series — pages with debugging details for a variety of Ubuntu packages.

    Contents

    1. Introduction
    2. Known issues

      1. Corrupted package archive

        1. Not a Debian format archive
        2. Corrupted filesystem tarfile
        3. —fsys-tarfile
        4. short read — Input/output error
        5. Exec format error
        6. triggers ci file contains unknown directive syntax
        7. lzma : decoder error
        8. files list file missing final newline / contains empty filename
      2. Inconsistent state

        1. Package in bad inconsistent state
        2. package is already installed and configured
      3. Other issues

        1. Can’t access archive
        2. No space left on device
        3. DbDriver «config» is locked
        4. /var/lib/defoma/locked exists
        5. /etc/defoma/hints/FONTNAME.hints: Unable to open, or empty
    3. Non-bugs

      1. Segmentation Fault — Exit status 139
    4. Other resources
    5. TODO

    Introduction

    This page lists some general issues that users might encounter while performing updates of their system. Apport will usually detect these failures and file a bug in Launchpad. These bugs can be identified by the bug tag ‘apport-package’ and can occur on nearly any package.

    There are usually log file attached to the report which differs depending on the kind of install/upgrade:

    • Package install/upgrade: DpkgTerminalLog

    • Distribution upgrade: VarLogDistupgradeMain and VarLogDistupgradeApttermlog

    Detailed informations about debugging updatemanager can be found at DebuggingUpdateManager.

    Documented below are the most commonly reported issues. For each case there is a description and a sample report and when applicable there is a workaround or fix and the master report it should be marked a duplicate of.

    Known issues

    Corrupted package archive

    These errors indicates a corrupted archive (.deb or files on disk) The root cause of the corruption may be a bad network connection, faulty hardware, hardware shutdown,…

    For those report the common workaround and stock response is:

    Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that there was an error caused by a corrupted archive. Please execute the following commands, as it will clear your package cache, in a terminal ( Applications -> Accessories -> Terminal ) :

    sudo apt-get clean
    sudo apt-get update

    Then try performing the update again. This will likely resolve your issue. If so please set the bug’s status to Invalid. Thanks in advance!

    Not a Debian format archive

    • Bug : provide a master report

    This error indicated that the header of the .deb archive is not recognized as a valid debian format.

    dpkg-deb: `/var/cache/apt/archives/libswscale0_4%3a0.5+svn20090706-2ubuntu2_i386.deb' is not a debian format archive 
    dpkg: error processing /var/cache/apt/archives/libswscale0_4%3a0.5+svn20090706-2ubuntu2_i386.deb (--unpack): 
     subprocess dpkg-deb --control returned error exit status 2

    Corrupted filesystem tarfile

    • Bug 320743

    Unpacking libaccess-bridge-java (from .../libaccess-bridge-java_1.24.0-0ubuntu2_all.deb) ...
    dpkg: error processing /var/cache/apt/archives/libaccess-bridge-java_1.24.0-0ubuntu2_all.deb (--unpack):
     corrupted filesystem tarfile - corrupted package archive
    dpkg-deb: subprocess paste killed by signal (Broken pipe)

    —fsys-tarfile

    • Bug : provide a master report
    Unpacking replacement audacity-data ...
    dpkg-deb: subprocess paste killed by signal (Broken pipe)
    dpkg: error processing /var/cache/apt/archives/audacity-data_1.3.7-2ubuntu1_all.deb (--unpack):
     subprocess dpkg-deb --fsys-tarfile returned error exit status 2
    Processing triggers for man-db ...
    Errors were encountered while processing:
     /var/cache/apt/archives/audacity-data_1.3.7-2ubuntu1_all.deb

    short read — Input/output error

    • Bug : provide a master report

    The ‘short read’ error happens when trying to install a partially downloaded package. The front-end verify the integrity of the archive, but it is not the case if dpkg is invoked directly.

    An input/output error is likely to mean filesystem corruption, hardware problems or no space left on hard disk. The typical errors are:

    Unpacking linux-image-2.6.27-11-generic (from .../linux-image-2.6.27-11-generic_2.6.27-11.24_i386.deb) ...
    Done.
    dpkg-deb: subprocess paste killed by signal (Broken pipe)
    dpkg: error processing /var/cache/apt/archives/linux-image-2.6.27-11-generic_2.6.27-11.24_i386.deb (--unpack):
     short read in buffer_copy (backend dpkg-deb during `./lib/modules/2.6.27-11-generic/kernel/drivers/infiniband/core/ib_uverbs.ko')

    or

    Unpacking replacement libfreetype6 ...
    dpkg-deb (subprocess): error in buffer_read(stream): failed to write to pipe in copy: Input/output error
    dpkg-deb: subprocess paste returned error exit status 2
    dpkg: error processing /var/cache/apt/archives/libfreetype6_2.3.9-4ubuntu0.1_i386.deb (--unpack):
     short read in buffer_copy (backend dpkg-deb during `./usr/lib/libfreetype.so.6.3.20')

    The suggestion is to run a manual fsck and look whether the hard drive or storage device is operating correctly (dmesg may contain helpful information too)

    TODO: Write a standard response

    Exec format error

    • Bug : 512096

    This error indicates that the installation or removal script is corrupted. It is caused by a sudden system failure during dpkg operation (power failure, hardware failure, …) on filesystems supporting delayed allocation (like ext4, xfs, btrfs, …)

    Empty files or files filed with garbage are left on the hard drive. The file causing the dpkg error is one of /var/lib/dpkg/info/PACKAGE_NAME.p*

    This error can occur either during installation or removal of the package.

    During installation of a package

    Setting up flashplugin-installer (10.0.32.18ubuntu1) ...
    dpkg (subprocess): unable to execute installed post-installation script: Exec format error
    dpkg: error processing flashplugin-installer (--configure):
     subprocess installed post-installation script returned error exit status 2

    During removal of a package

    Removing gnome-do ...
    dpkg (subprocess): unable to execute installed pre-removal script: Exec format error
    dpkg: error processing gnome-do (--purge):
     subprocess installed pre-removal script returned error exit status 2

    Workaround A: Finish the install

    sudo apt-get clean
    sudo aptitude download python-libvirt
    sudo dpkg —unpack ./python-libvirt*.deb
    sudo dpkg —configure python-libvirt

    Workaround B: Remove the package and reinstall

    sudo rm /var/lib/dpkg/info/flashplugin-installer.{postinst,prerm,postrm}
    sudo apt-get remove —purge flashplugin-installer
    sudo apt-get clean
    sudo apt-get update

    Then reinstall the package

    Note: Change the package by the one which failed (check the log file)

    Note about localized error message:
    Finding this error in the log is not always easy because the error string has been localized.

    • Erreur de format pour exec()
    • Error de formato ejecutable
    • Errore di formato di exec
    • Exec format error
    • Formatfel på körbar fil
    • Érvénytelen végrehajtható fájlformátum
    • Exec formátum hiba
    • Verkeerd uitvoerbaar bestand
    • Exec 格式错误

    triggers ci file contains unknown directive syntax

    • Bug 500042

    This is the same kind of issue than the one above. It means that the trigger file is empty or corrupted. The file is /var/lib/dpkg/info/PACKAGE.triggers This error can occur during installation or removal of a package.

    During installation of a package

    Setting up ureadahead (0.90.3-2) ...
    dpkg: error processing ureadahead (--configure):
     triggers ci file contains unknown directive syntax

    Workaround

    remove the file /var/lib/dpkg/info/PACKAGE.triggers
    sudo rm /var/lib/dpkg/info/PACKAGE.triggers
    and run
    sudo dpkg —purge ureadahead
    then clean your cache
    sudo apt-get clean
    and try performing the install of ureadahead again.

    lzma : decoder error

    • Bug : provide a master report
    Unpacking openjdk-6-jre-lib (from .../openjdk-6-jre-lib_6b12-0ubuntu6_all.deb) ...
    lzma: Decoder error
    dpkg-deb: subprocess <decompress> returned error exit status 1
    dpkg: error processing /var/cache/apt/archives/openjdk-6-jre-lib_6b12-0ubuntu6_all.deb (--unpack):
     short read in buffer_copy (backend dpkg-deb during `./usr/lib/jvm/java-6-openjdk/jre/lib/ext/localedata.jar')

    files list file missing final newline / contains empty filename

    • Bug 108189

    This error indicates that the file /var/lib/dpkg/info/PACKAGE_NAME.list is corrupted ( empty or full of garbage ) The reason may be a disk error, a memory error, a process being interrupted during unpack, …

    Typically these errors take the form :
    files list file for package packagename contains empty filename
    or
    files list file for package packagename is missing final newline

    Selecting previously deselected package linux-source-2.6.27.
    (Reading database ... dpkg: error processing /var/cache/apt/archives/linux-source-2.6.27_2.6.27-9.19_all.deb (--unpack):
     files list file for package `libpoppler-glib3' is missing final newline

    Workaround: Recreate the file list from .deb
    This can be fixed, with a little work. If you have the .deb file for the offending package currently available on your system, then check its integrity by running:
    dpkg —contents /var/cache/apt/archive/libgnome2-0_2.24.1-0ubuntu3_i386.deb
    or get a .deb file by running :
    sudo apt-get install —reinstall —download-only libgnome2-0

    Once you have a valid .deb file, then you can reconstitute the file. First become root by using sudo -s (enter your administrative user password if necessary), and then use the following command (copy/paste and change the package name accordingly):

    dpkg -c /var/cache/apt/archive/libgnome2-0_2.24.1-0ubuntu3_i386.deb | awk 
    ‘{if ($6 == «./») { print «/.»; } 
    else if (substr($6, length($6), 1) == «/») 
    {print substr($6, 2, length($6) — 2); } 
    else { print substr($6, 2, length($6) — 1);}}’ 
    > /var/lib/dpkg/info/libgnome2-0.list

    Inconsistent state

    Package in bad inconsistent state

    • Bug : provide a master report
    Removing flashplugin-nonfree ...
    dpkg: error processing flashplugin-installer (--purge):
     Package is in a very bad inconsistent state - you should
     reinstall it before attempting a removal.

    Workaround A:

    Please open a Terminal from the menu Applications->Accessories->Terminal and type or copy and paste the row below:

    sudo apt-get —reinstall install cupsys
    sudo dpkg —configure -a
    sudo apt-get -f install

    give your user password when requested, you don’t see nothing when you type it, then press enter.

    Workaround B:

    Try the command below to purge the offending packages :

    sudo dpkg —purge —force-remove-reinstreq flashplugin-installer flashplugin-nonfree

    Then to reinstall :

    sudo apt-get install flashplugin-installer

    package is already installed and configured

    • Bug : 541595

    Conditions of this failure are unknown. Please provide any additional informations in the master report.

    Note to triagers: Before marking a report as duplicate, be sure that there is no other error in the log file term.log . In other words, don’t blindly duplicate because the title says ‘already installed and configured’.

    dpkg: error processing language-pack-ar (--configure):
     package language-pack-ar is already installed and configured

    Workaround A:

    Workaround B:

    sudo apt-get install —reinstall language-pack-ar

    Other issues

    Can’t access archive

    • Bug : 523395

    The source of this error is not clearly identified and needs further investigation (see comment #3 of the master report)

    dpkg: error processing /media/cdrom0//pool/main/g/gcc-4.4/libstdc++6-4.4-dev_4.4.1-4ubuntu8_i386.deb (--unpack):
     cannot access archive: No such file or directory
    dpkg: error processing /media/cdrom0//pool/main/g/gcc-4.4/g++-4.4_4.4.1-4ubuntu8_i386.deb (--unpack):
     cannot access archive: No such file or directory

    No space left on device

    • Bug 105113 was a request to detect this prior to performing any updates.

    • Bug 312491 was a request to report to the user when running out of disk space.

    This error is self-explanatory.

    Unpacking replacement perl-base ...
    dpkg: error processing /var/cache/apt/archives/perl-base_5.10.0-11.1ubuntu2.2_i386.deb (--unpack):
     failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during `./usr/lib/perl/5.10.0/IO.pm': No space left on device

    Note about localized error message:
    Despite the fact that there is no ambiguity regarding the cause of the failure, finding this error in the log is not always easy because the error string has been localized. Checking for the strings —unpack and buffer_write in the error log is a good indication too.

    DbDriver «config» is locked

    • Bug 349469

    • Bug 377211

    debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable

    fuser -v will return the locking process if any. Kill it and try performing the upgrade again. Most often, this is only a transient situation and fuser will return nothing. Simply performing the update again should solve this issue.

    /var/lib/defoma/locked exists

    • Bug 386763

    Under certain circumstances font packages failed to install with the following error:

    Setting up ttf-dejavu-extra (2.28-1) ...
    E: /var/lib/defoma/locked exists.
    E: Another defoma process seems running, or you aren't root.
    E: If you are root and defoma process isn't running undoubtedly,
    E: it is possible that defoma might have aborted.
    E: Please run defoma-reconfigure -f to fix its broken status.
    dpkg: error processing ttf-dejavu-extra (--configure):
     subprocess post-installation script returned error exit status 1

    Workaround

    Open a terminal (Applications -> Accessories -> Terminal ) and run the following command:

    $ sudo defoma-reconfigure -f

    /etc/defoma/hints/FONTNAME.hints: Unable to open, or empty

    • Bug 521431

    Under certain circumstances font packages failed to install with the following error:

    Setting up ttf-konatu (24-3) ...
    /etc/defoma/hints/ttf-konatu.hints: Unable to open, or empty.
    dpkg: error processing ttf-konatu (--configure):
     subprocess installed post-installation script returned error exit status 1

    This is due to a corrupted hint file.

    Workaround

    To workaround it, open a terminal and run the following commands:

    $ sudo rm /var/lib/dpkg/info/FONTNAME.prerm
    $ sudo apt-get remove --purge FONTNAME
    $ sudo apt-get clean

    Then try performing the install again. Replace the font file name (FONTNAME) by the font name failing on your system (e.g ttf-dejavu-extra, ttf-konatu, …)

    Non-bugs

    Common issues arising from hardware failures, common invalid bugs for this category.

    Segmentation Fault — Exit status 139

    • Bug 493572

    • Bug 478841

    If the installation failed with no reason with an exit status 139, that the configuration script is trivial and there is no other report of this kind for that package, then this is very likely a memory corruption error.

    The error from the term.log will show something like this:

    Setting up python-dateutil (1.4.1-2) ...
    Segmentation fault
    dpkg: error processing python-dateutil (--configure):
     subprocess post-installation script returned error exit status 139

    There is not much we can do except the advice below:

    Thanks for your report.

    This looks like a hardware issue. Could you run memtest on your system? (boot a live CD / USB key and select test memory)

    The reporter will most of the time says that the test reports error. If so, then close the report.

    Note : an exit status 139 can also appear on other scenarios that aren’t related to faulty memory modules. For example, if you install a Hardy guest on a Lenny host using Xen, and then try an apt-get upgrade on the Hardy guest, that will fail with a segfault and an exit status 139 if you forget to disable /lib/tls as advised in the Xen Faq

    Other resources

    • Kernel specific errors

    • Debugging Update manager

    TODO

    • Add note about localized messages in log file and method to process those reports
    • Search for master reports, complete missing references in wiki and cross-reference report/wiki content
    • Add section ‘How to triage’ and merge the one from DebuggingUpdateManager

    • Add missing descriptions & workaround

    • Add section with common install/upgrade issues for specific packages ? only provide list of report + description ?

    CategoryBugSquad CategoryDebugging

    theblueplll

    Posts: 154
    Joined: 2019-04-29 01:17
    Been thanked: 2 times

    Dpkg error can’t solve

    #1

    Post

    by theblueplll » 2019-07-04 15:29

    Machine is an older machine I was trying to setup for a project running Debian Buster 32bit
    AMD Semperon 3000+ 1.5gb ram no desktop(don’t need one for what I want to do)

    Seems to run great untill I try to install a package.
    I don’t have anything from any repo besides Debians official repos on purpose.

    I keep getting this when I try to install things.

    Partitions are setup like this

    Code: Select all

    60gb hd
    /boot
    /root
    and /swap
    
    other drive is 40gb where my /home partition is

    Code: Select all

    dpkg-deb: error: <decompress> subprocess returned error exit status 2
    
    dpkg: error processing archive /var/cache/apt/archives[package name here].deb (--unpack):
    
    dpkg=deb --fsys-tarfile subprocess returned error exit status 2
    
    Errors were encountered while prrocessing:
    
    /var/cache/apt/[package name here].deb
    
    Error Sub-process /usr/bin/dpkg returned error code (1)

    Doesn’t seem to matter what it is although some packages will install without error.

    Have tried the instructions at this link and a few similar things to no avail

    Code: Select all

    https://itsfoss.com/dpkg-returned-an-error-code-1/

    I also can NOT remove the package once this happens when I try to I get unment dependency warnings.
    And if I try to install the dependencies it starts with the dpkg errors all over again.

    This started when I had Buster installed on it originally so I switched to Stretch thinking the older hardware would work better but had the same problem.
    So i reinstalled Buster again and some stuff was whacky so I looked into it and found out either my iso was corrupted or my flash drive was acting funny.
    So I tried with a new usb stick and a fresh download that I verified and check for integrity and it seemed to install a lot faster and smoother.

    2 days go by and the problem comes back.
    Could this be a hardware problem somehow? Maybe a bad hdd?
    Both drives are kind of old.

    Any other information that could be needed please just ask and I will do my best to share it.


    User avatar

    GarryRicketson

    Posts: 5871
    Joined: 2015-01-20 22:16
    Location: Durango, Mexico

    Re: Dpkg error can’t solve

    #2

    Post

    by GarryRicketson » 2019-07-04 15:57

    Please show how you are running ‘dpkg’ ? IE:normal user, sudo, su, su — ,….etc
    You show the output from when you run the command, but please show everything, including how you run the command.
    For example:

    Code: Select all

    garry@debian:~$ dpkg conky-all_1.10.8-1+b1_amd64.deb
    dpkg: error: need an action option
    
    Type dpkg --help for help about installing and deinstalling packages [*];
    Use 'apt' or 'aptitude' for user-friendly package management;
    Type dpkg -Dhelp for a list of dpkg debug flag values;
    Type dpkg --force-help for a list of forcing options;
    Type dpkg-deb --help for help about manipulating *.deb files;
    
    Options marked [*] produce a lot of output - pipe it through 'less' or 'more' ! 

    Doesn’t seem to matter what it is although some packages will install without error.

    Don’t you think that the actual package name, and perhaps where you got it might be relevant ? Especially since «some packages» will install with out error. Maybe the mystery package is not packaged properly.

    Could this be a hardware problem somehow? Maybe a bad hdd?
    Both drives are kind of old.

    Could be, if you suspect that it is, then the logical thing to do is to use a live device , with some drive testing tools, and test it. I can not do that for you, since I am not there, and can not access your, you need to do that your self, or take it to someone that can do it for you.
    ===== also===
    You claim you are only using Debian repos, is there some reason you don’t just use :

    Use ‘apt’ or ‘aptitude’ for user-friendly package management;

    ?


    theblueplll

    Posts: 154
    Joined: 2019-04-29 01:17
    Been thanked: 2 times

    Re: Dpkg error can’t solve

    #3

    Post

    by theblueplll » 2019-07-04 16:22

    Doesn’t seem to matter what it is although some packages will install without error.

    Don’t you think that the actual package name, and perhaps where you got it might be relevant ? Especially since «some packages» will install with out error. Maybe the mystery package is not packaged properly.

    Could this be a hardware problem somehow? Maybe a bad hdd?
    Both drives are kind of old.

    Could be, if you suspect that it is, then the logical thing to do is to use a live device , with some drive testing tools, and test it. I can not do that for you, since I am not there, and can not access your, you need to do that your self, or take it to someone that can do it for you.
    ===== also===
    You claim you are only using Debian repos, is there some reason you don’t just use :

    Use ‘apt’ or ‘aptitude’ for user-friendly package management;

    apt install XXX is how I install things what I meant was that only the official repos are in my sources.list sorry if that was confusing or not clear enough.
    Doesn’t seem to make a difference if I log my normal user and use sudo or sudo su or if I log the root account when this is happening.

    It will get part of the way into installing and gie me the dpkg error.
    If I try to uninstall it I get the unmet dependency error and if I try to install dependencies I get the dpkg error all over again.

    For instance this is happening with android sdk which I wanted for the adb tools.
    But like I said didn’t seem to matter what package it would randomly decide to do this to me.

    As far as testing the dries from a live cd that is no problem i know how to do it for the most part LoL
    Is there some tool besides maybe fsck that you would reccomend to use?

    Sorry if I am not being clear enough it is not intentional.


    Deb-fan

    Posts: 1047
    Joined: 2012-08-14 12:27
    Been thanked: 4 times

    Re: Dpkg error can’t solve

    #4

    Post

    by Deb-fan » 2019-07-04 17:22

    Automagically resolving/installing dependencies is what apt/itude are for and don’t need a Desktop/WM to use them. Have had great success in downloading packages and their depends .deb(s) into a directory, cd = change directory or opening a terminal in the folder and installing the things with «dpkg -i *.deb» but this is what’s refered to as «dependency hell».

    ie: I don’t have net access have to go to Mcdonald’s, download all xyz package, then it’s depends and any of their depends onto a dang phone. Take em home, transfer to pc and install em all. Noooooooo ! Though dpkg does a great job of installing these packages in order and successful in my experience. Having a real hard time trying to figure what you’re doing and why. Some possible helpful commands related to this though and/or could make your situation even worse, depending. < PUN INTENDED. :D

    Did you «sudo apt-get upgrade && sudo apt-get upgrade» the effected Debian install. Man am out of comments on this deal.

    Most powerful FREE tech-support tool on the planet * HERE. *


    theblueplll

    Posts: 154
    Joined: 2019-04-29 01:17
    Been thanked: 2 times

    Re: Dpkg error can’t solve

    #5

    Post

    by theblueplll » 2019-07-05 04:18

    I am starting to wonder about the master drive in that machine actually.

    I got the error fixed today finally

    Code: Select all

    apt -f install or was it install -f

    worked. Although I tried that 2 nights ago more than once and it didn’t help.

    But this keeps happening like every other day and today when i got home and turn it on and it was fine then all of a sudden it reboots itself and tries to tell me the OS is missing Oh boy.

    So either someone is playing games(if so why did they go after the machine with nothing on it and not this one LoL) or somethings wrong with the machine itself.

    I’ll have to run some tests on it I guess.

    Thank you for the replies I really do appreciate people at trying to help.


    Deb-fan

    Posts: 1047
    Joined: 2012-08-14 12:27
    Been thanked: 4 times

    Re: Dpkg error can’t solve

    #6

    Post

    by Deb-fan » 2019-07-05 17:11

    Is it possible to partition and add a fresh os install. See if the oddities continue. Sounds really frustrating.

    Most powerful FREE tech-support tool on the planet * HERE. *



    theblueplll

    Posts: 154
    Joined: 2019-04-29 01:17
    Been thanked: 2 times

    Re: Dpkg error can’t solve

    #8

    Post

    by theblueplll » 2019-07-06 18:55

    Head_on_a_Stick wrote:

    theblueplll wrote:Could this be a hardware problem somehow? Maybe a bad hdd?

    ^ This.

    Has to be some sort of hardware problem since 3 different fresh installs with 2 different ISO’s and this keeps happening.


    User avatar

    GarryRicketson

    Posts: 5871
    Joined: 2015-01-20 22:16
    Location: Durango, Mexico

    Re: Dpkg error can’t solve

    #9

    Post

    by GarryRicketson » 2019-07-06 20:04

    If the hardware is suspected, that should be the first thing to check

    Deb-fan wrote:Is it possible to partition and add a fresh os install. See if the oddities continue. Sounds really frustrating.

    What would the point be in doing a fresh install on bad hardware ?


    Deb-fan

    Posts: 1047
    Joined: 2012-08-14 12:27
    Been thanked: 4 times

    Re: Dpkg error can’t solve

    #10

    Post

    by Deb-fan » 2019-07-06 20:56

    Hadn’t read closely enough to see he’d already been there, done it. Was thinking could rule out software/os issue perhaps. My bad, sorry if it’s in fact hardware bluepill, that stinks.

    Most powerful FREE tech-support tool on the planet * HERE. *


    theblueplll

    Posts: 154
    Joined: 2019-04-29 01:17
    Been thanked: 2 times

    Re: Dpkg error can’t solve

    #11

    Post

    by theblueplll » 2019-07-07 21:36

    GarryRicketson wrote:If the hardware is suspected, that should be the first thing to check

    Deb-fan wrote:Is it possible to partition and add a fresh os install. See if the oddities continue. Sounds really frustrating.

    What would the point be in doing a fresh install on bad hardware ?

    I SHOULD HAVE thought things through before I even started so I wouldn’t have had to post this.
    I’m suspicous of the ATA cable that is in there since one of them broke the end off awful easily while removing it from the drive.

    So I ordered some (need a couple for another «project machine» also).

    I plan to switch out the cables and run a bunch of tests on the HDD and then go from there.

    If the drive is toast not a big deal I have quite a few hanging around from parts I have collected over the years.

    Thanks to all for trying to help.


    Forum rules
    Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

    Mike-k

    Broken packages (can’t fix with apt-get -f install) (SOLVED)

    I do not know what happening, I guess it’s somehow related to Java security bug…
    My update manager says I have 5 broken packages, and result of apt-get -f install is below:

    Code: Select all

    sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
      firefox openjdk-6-jre-headless thunderbird
    Suggested packages:
      latex-xft-fonts sun-java6-fonts ttf-baekmuk ttf-unfonts ttf-unfonts-core
      ttf-sazanami-gothic ttf-kochi-gothic ttf-sazanami-mincho ttf-kochi-mincho
      ttf-indic-fonts-core ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts
      ttf-bengali-fonts thunderbird-gnome-support
    Recommended packages:
      ubufox
    The following packages will be upgraded:
      firefox openjdk-6-jre-headless thunderbird
    3 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
    6 not fully installed or removed.
    Need to get 0 B/51.9 MB of archives.
    After this operation, 28.7 kB of additional disk space will be used.
    Do you want to continue [Y/n]? Y
    (Reading database ... 160922 files and directories currently installed.)
    Preparing to replace firefox 4.0.1+build1+nobinonly-0ubuntu0.11.04.1 (using .../firefox_4.0.1+build1+nobinonly-0ubuntu0.11.04.3_i386.deb) ...
    Unpacking replacement firefox ...
    dpkg: error processing /var/cache/apt/archives/firefox_4.0.1+build1+nobinonly-0ubuntu0.11.04.3_i386.deb (--unpack):
     corrupted filesystem tarfile - corrupted package archive
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Please restart all running instances of firefox, or you will experience problems.
    Preparing to replace openjdk-6-jre-headless 6b22-1.10.1-0ubuntu1 (using .../openjdk-6-jre-headless_6b22-1.10.2-0ubuntu1~11.04.1_i386.deb) ...
    Unpacking replacement openjdk-6-jre-headless ...
    dpkg-deb (subprocess): data: internal gzip read error: '<fd:0>: data error'
    dpkg-deb: error: subprocess <decompress> returned error exit status 2
    dpkg: error processing /var/cache/apt/archives/openjdk-6-jre-headless_6b22-1.10.2-0ubuntu1~11.04.1_i386.deb (--unpack):
     subprocess dpkg-deb --fsys-tarfile returned error exit status 2
    Preparing to replace thunderbird 3.1.9+nobinonly-0ubuntu4 (using .../thunderbird_3.1.10+build1+nobinonly-0ubuntu0.11.04.2_i386.deb) ...
    Unpacking replacement thunderbird ...
    dpkg-deb (subprocess): data: internal gzip read error: '<fd:0>: data error'
    dpkg-deb: error: subprocess <decompress> returned error exit status 2
    dpkg: error processing /var/cache/apt/archives/thunderbird_3.1.10+build1+nobinonly-0ubuntu0.11.04.2_i386.deb (--unpack):
     subprocess dpkg-deb --fsys-tarfile returned error exit status 2
    Processing triggers for menu ...
    Processing triggers for man-db ...
    Processing triggers for bamfdaemon ...
    Rebuilding /usr/share/applications/bamf.index...
    Processing triggers for desktop-file-utils ...
    Processing triggers for python-gmenu ...
    Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
    Processing triggers for python-support ...
    Errors were encountered while processing:
     /var/cache/apt/archives/firefox_4.0.1+build1+nobinonly-0ubuntu0.11.04.3_i386.deb
     /var/cache/apt/archives/openjdk-6-jre-headless_6b22-1.10.2-0ubuntu1~11.04.1_i386.deb
     /var/cache/apt/archives/thunderbird_3.1.10+build1+nobinonly-0ubuntu0.11.04.2_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    

    What is that? Never seen such, I mean I had some broken packages but that was easy fixed by apt-get install -f …

    Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.

    Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

    rich_roast

    Re: Broken packages (can’t fix with apt-get -f install)

    Post

    by rich_roast » Mon Jun 20, 2011 2:40 pm

    I’m not 100% sure but

    Code: Select all

    dpkg-deb (subprocess): data: internal gzip read error: '<fd:0>: data error'

    could suggest corrupted .deb packages; I would remove the offenders from /var/cache/apt/archive to force

    to redownload the packages.

    Mike-k

    Re: Broken packages (can’t fix with apt-get -f install)

    Post

    by Mike-k » Tue Jun 21, 2011 7:14 am

    Thank you all for helping. I also was getting a lot of segfaults on very different occasions. I thought oh well mb it’s an ubuntu 11 bug… So I tried Fedora 15 (actually very nice distro, and gnome 3 not that bad, it’s quite cool, but quite different and you have to learn how do deal with it), OpenSuse 11 and Debian stable and testing one, and they all were not working as it should (they were bugging everywhere). So, after 12 hours of such fun, I decided to check my HDD and it failed 1st test in 1 min on reading… Well, it was not that old Seagate SATA (SMART says 2 years operating), but I removed it, and installed (of course, I installed Katja) on another HDD and everything works like SHARM.

    AlbertP

    Level 16
    Level 16
    Posts: 6701
    Joined: Sun Jan 30, 2011 12:38 pm
    Location: Utrecht, The Netherlands

    Re: Broken packages (can’t fix with apt-get -f install)

    Post

    by AlbertP » Tue Jun 21, 2011 7:55 am

    I also have had problems with a harddisk on some computer, but that was caused by a broken IDE cable making short-circuit… The motherboard and harddisk were damaged by this. Anyway, the computer wasn’t very Linux-compatible so it’s replaced. But the replacement has a SiS graphics card… Anyway, I’ll get the ATI card from the old computer as soon as I get time for that.

    Registered Linux User #528502
    Image
    Feel free to correct me if I’m trying to write in Spanish, French or German.

    • Печать

    Страницы: [1] 2  Все   Вниз

    Тема: Проблема установки пакета PPTP  (Прочитано 2446 раз)

    0 Пользователей и 1 Гость просматривают эту тему.

    Оффлайн
    MynameisQuo

    Добрый вечер,

    Установил систему, настроил сеть. Появилась нужда в настройке интернета путем установки PPTP-клиента.

    sudo dpkg -i pptp-linux.deb

    (Reading database ... 95927 files and directories currently installed.)
    Unpacking pptp-linux (from pptp-linux.deb) ...
    dpkg-deb (subprocess): short read in buffer_copy (failed to write to pipe in copy)
    dpkg-deb: subprocess paste returned error exit status 2
    dpkg: error processing pptp-linux.deb (--install):
     subprocess dpkg-deb --fsys-tarfile returned error exit status 2
    Errors were encountered while processing:
     pptp-linux.deb

    Прошу вашей помощи, господа Знатоки.


    Оффлайн
    AnrDaemon

    sudo -E -i
    dpkg -i pptp-linux.deb

    Попробуй.
    Как вариант — сам пакет повреждён.

    Хотите получить помощь? Потрудитесь представить запрошенную информацию в полном объёме.

    Прежде чем [Отправить], нажми [Просмотр] и прочти собственное сообщение. Сам-то понял, что написал?…


    Оффлайн
    Application

    Добрый вечер,

    Установил систему, настроил сеть. Появилась нужда в настройке интернета путем установки PPTP-клиента.

    sudo dpkg -i pptp-linux.deb

    (Reading database ... 95927 files and directories currently installed.)
    Unpacking pptp-linux (from pptp-linux.deb) ...
    dpkg-deb (subprocess): short read in buffer_copy (failed to write to pipe in copy)
    dpkg-deb: subprocess paste returned error exit status 2
    dpkg: error processing pptp-linux.deb (--install):
     subprocess dpkg-deb --fsys-tarfile returned error exit status 2
    Errors were encountered while processing:
     pptp-linux.deb

    Прошу вашей помощи, господа Знатоки.

    а чем

    apt-get install pptp-linux
    не вариант?

    тока сначала надо

    apt-get updateсделать, обновив тем самым список пакетов репы)


    Оффлайн
    MynameisQuo

    Application, нету интернета ж на компьютере, где не ставится PPTP

    AnrDaemon, попробовал по совету:

    sudo -E -i
    dpkg -i pptp-linux.deb

    dpkg: error processing pptp-linux.deb (--install):
     cannot access archive: No such file or directory
    Errors were encountered while processing:
     pptp-linux.deb



    Оффлайн
    MynameisQuo

    У меня нормально получалось ставить раньше. Я скачивал на одном компьютере, на флешку и нес на второй.

    Тем более я не знаю, почему может быть битый архив. Брал отсюда: http://packages.ubuntu.com/hardy/pptp-linux

    Через NAT не вариант, в моем случае.


    Оффлайн
    Mam(O)n

    Тем более я не знаю, почему может быть битый архив.

    Причин слишком много, начиная от провайдера, заканчивая флехой. Причем причина может быть не ограничена этими рамками. Проверяй md5sum скаченного файла.


    Оффлайн
    Application

    У меня нормально получалось ставить раньше. Я скачивал на одном компьютере, на флешку и нес на второй.

    Тем более я не знаю, почему может быть битый архив. Брал отсюда: http://packages.ubuntu.com/hardy/pptp-linux

    Через NAT не вариант, в моем случае.

    у тя Ubuntu 10.04 ????

    cat /etc/apt/sources.list увидешь название дистра своего там)
    [Ubuntu 10.04 LTS _Lucid Lynx_ — Release i386 (20100429)]

     тода отсюда надо брать http://packages.ubuntu.com/lucid/pptp-linux

    ЗЫЫЫ, и про зависимости не забудь)

    « Последнее редактирование: 23 Июня 2010, 12:21:27 от Application »


    Оффлайн
    MynameisQuo

    У меня Ubuntu 8.04 Hardy :)


    Оффлайн
    censor

    У меня нормально получалось ставить раньше. Я скачивал на одном компьютере, на флешку и нес на второй.

    Тем более я не знаю, почему может быть битый архив. Брал отсюда: http://packages.ubuntu.com/hardy/pptp-linux

    Через NAT не вариант, в моем случае.

    у тя Ubuntu 10.04 ???? cat /etc/apt/sources.list увидешь название дистра своего там)
    [Ubuntu 10.04 LTS _Lucid Lynx_ — Release i386 (20100429)]

     тода отсюда надо брать http://packages.ubuntu.com/lucid/pptp-linux

    ЗЫЫЫ, и про зависимости не забудь)

    в 10.04 pptp-linux ставится с базовой системой


    Оффлайн
    Application

    в 10.04 pptp-linux ставится с базовой системой

    Это я знаю, сам на ней сижу, подумал — малали что могло произойти в процессе установкинастройки… люди ведь разные бывают, не в обиду никому сам такой в некоторых вещах)


    Оффлайн
    MynameisQuo

    А по поводу моей проблемы кто-то может что-то толковое сказать? К сожалению, гугл молчит.


    Оффлайн
    Mam(O)n


    Оффлайн
    MynameisQuo

    Подскажите, пожалуйста, как проверить?


    Оффлайн
    kobaltd

    Извени за наивный вопрос — а полный путь до deb пакета указывать пробовал?


    • Печать

    Страницы: [1] 2  Все   Вверх


    package libavutil55 7:3.4.2-2 failed to install/upgrade: dpkg-deb —fsys-tarfile subprocess returned error exit status 2

    Bug #1788777 reported by
    Vijayan
    on 2018-08-24

    This bug affects 2 people

    Affects Status Importance Assigned to Milestone


    ffmpeg (Ubuntu)

    Invalid

    Undecided


    Unassigned

    Bug Description

    package libavutil55 7:3.4.2-2 failed to install/upgrade: dpkg-deb —fsys-tarfile subprocess returned error exit status 2

    ProblemType: Package
    DistroRelease: Ubuntu 18.04
    Package: libavutil55 7:3.4.2-2
    ProcVersionSignature: Ubuntu 4.15.0-32.35-generic 4.15.18
    Uname: Linux 4.15.0-32-generic x86_64
    ApportVersion: 2.20.9-0ubuntu7.2
    AptOrdering:
     libavutil55:amd64: Install
     NULL: ConfigurePending
    Architecture: amd64
    Date: Fri Aug 24 09:47:25 2018
    DpkgTerminalLog:
     Preparing to unpack …/libavutil55_7%3a3.4.4-0ubuntu0.18.04.1_amd64.deb …
     Unpacking libavutil55:amd64 (7:3.4.4-0ubuntu0.18.04.1) over (7:3.4.2-2) …
     dpkg-deb: error: failed to read archive ‘/var/cache/apt/archives/libavutil55_7%3a3.4.4-0ubuntu0.18.04.1_amd64.deb’: No such file or directory
     dpkg: error processing archive /var/cache/apt/archives/libavutil55_7%3a3.4.4-0ubuntu0.18.04.1_amd64.deb (—unpack):
      dpkg-deb —fsys-tarfile subprocess returned error exit status 2
    DuplicateSignature:
     package:libavutil55:7:3.4.2-2
     Unpacking libavutil55:amd64 (7:3.4.4-0ubuntu0.18.04.1) over (7:3.4.2-2) …
     dpkg-deb: error: failed to read archive ‘/var/cache/apt/archives/libavutil55_7%3a3.4.4-0ubuntu0.18.04.1_amd64.deb’: No such file or directory
     dpkg: error processing archive /var/cache/apt/archives/libavutil55_7%3a3.4.4-0ubuntu0.18.04.1_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-05-07 (108 days ago)
    InstallationMedia: Ubuntu 18.04 LTS «Bionic Beaver» — Release amd64 (20180426)
    Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
    PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
    RelatedPackageVersions:
     dpkg 1.19.0.5ubuntu2
     apt 1.6.3ubuntu0.1
    SourcePackage: ffmpeg
    Title: package libavutil55 7:3.4.2-2 failed to install/upgrade: dpkg-deb —fsys-tarfile subprocess returned error exit status 2
    UpgradeStatus: No upgrade log present (probably fresh install)

    Понравилась статья? Поделить с друзьями:
  • Subprocess dpkg deb control returned error exit status 2 cydia
  • Subnautica ошибки новичков
  • Submit error success перевод
  • Submit error success perfect world
  • Submission failed http error 422 roblox