Subprocess dpkg deb control returned error exit status 2 cydia

I am currently installing Frida 16.0.8 on my iPhone 7, iOS 14.4 (Jailbroken). The error messages are as follows: dpkg-deb --control subprocess returned error exit status 2 Sub-process /usr/libexec/...

@jichngan

I am currently installing Frida 16.0.8 on my iPhone 7, iOS 14.4 (Jailbroken).
The error messages are as follows:

dpkg-deb --control subprocess returned error exit status 2
Sub-process /usr/libexec/cydia/cydo returned an error code (1)

Please kindly help. Thanks

LJ-Silver, dgrivera, novitae, uceka, luckyowlj, AndnixSH, standinga, In3tinct, siloed, yangwudong, and poplax reacted with thumbs up emoji
cheshie reacted with confused emoji

@xiaozhuai

Same problem

XS-Max-Jailed:~ root# dpkg -i frida_16.0.8_iphoneos-arm.deb
dpkg-deb: error: archive 'frida_16.0.8_iphoneos-arm.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive frida_16.0.8_iphoneos-arm.deb (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 frida_16.0.8_iphoneos-arm.deb

16.0.6 is ok

XS-Max-Jailed:~ root# dpkg -i frida_16.0.6_iphoneos-arm.deb
Selecting previously unselected package re.frida.server.
(Reading database ... 5843 files and directories currently installed.)
Preparing to unpack frida_16.0.6_iphoneos-arm.deb ...
Unpacking re.frida.server (16.0.6) ...
Setting up re.frida.server (16.0.6) ...

@thesilas

@cheshie

Same here. Btw how do you get older versions of Frida server for iOS? I couldn’t find them here

@xiaozhuai

Same here. Btw how do you get older versions of Frida server for iOS? I couldn’t find them here

You can download it from the release page, just scroll down to the end and find iphoneos_xx.deb. Use scp to copy it to your device and install by dpkg -i xxx.deb

This was referenced

Dec 15, 2022

@jichngan

Thanks @xiaozhuai for the recommendation. I manage to install an older working version of Frida (16.0.7) onto my iPhone 7, version 14.4 (Jailbroken) by downloading the .deb file on the iPhone itself. I subsequently opened the application using Filza and then install the .deb file using Filza.
Reference: https://idisqus.com/how-to-install-deb-files-ios-14-with-filza

Still yet to install 16.0.8 using Cydia.

@xiaozhuai

Thanks @xiaozhuai for the recommendation. I manage to install an older working version of Frida (16.0.7) onto my iPhone 7, version 14.4 (Jailbroken) by downloading the .deb file on the iPhone itself. I subsequently opened the application using Filza and then install the .deb file using Filza. Reference: https://idisqus.com/how-to-install-deb-files-ios-14-with-filza

Still yet to install 16.0.8 using Cydia.

I mean you can download it on your pc. Then use scp to copy it to your jailbreaked device. And then ssh into you device and run dpkg -i xxx.deb.

@Thireus

The new 16.0.8 archive was compressed using zst which isn’t supported by dpkg on iOS.

# dpkg -i frida_16.0.8_iphoneos-arm.deb 
dpkg-deb: error: archive 'frida_16.0.8_iphoneos-arm.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive frida_16.0.8_iphoneos-arm.deb (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 frida_16.0.8_iphoneos-arm.deb

To repack the archive using xz compression over zst:

mkdir frida_16.0.8_iphoneos-arm
cd frida_16.0.8_iphoneos-arm
ar -x ../frida_16.0.8_iphoneos-arm.deb
zstd -d *.zst
xz *.tar
ar r frida_16.0.8_iphoneos-arm-repacked.deb debian-binary control.tar.xz data.tar.xz

SCP the frida_16.0.8_iphoneos-arm-repacked.deb archive to your device, and run dpkg -i:

# dpkg -i frida_16.0.8_iphoneos-arm-repacked.deb
(Reading database ... 2530 files and directories currently installed.)
Preparing to unpack frida_16.0.8_iphoneos-arm-repacked.deb ...
Unpacking re.frida.server (16.0.8) over (16.0.7) ...
/Library/LaunchDaemons/re.frida.server.plist: Operation now in progress
Setting up re.frida.server (16.0.8) ...
ngn999, terryso, xiaozhuai, la0s, cheshie, akarsh-enciphers, novitae, launchdaemon, hexploitable, kyoshiro972, and 12 more reacted with thumbs up emoji
gamegrd, andiradulescu, jotamjr, In3tinct, shivang1989, and fengyunyongjie reacted with hooray emoji
shivang1989 and fengyunyongjie reacted with heart emoji

@terryso

The new 16.0.8 archive was compressed using zst which isn’t supported by dpkg on iOS.

# dpkg -i frida_16.0.8_iphoneos-arm.deb 
dpkg-deb: error: archive 'frida_16.0.8_iphoneos-arm.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive frida_16.0.8_iphoneos-arm.deb (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 frida_16.0.8_iphoneos-arm.deb

To repack the archive using xz compression over zst:

mkdir frida_16.0.8_iphoneos-arm
cd frida_16.0.8_iphoneos-arm
ar -x ../frida_16.0.8_iphoneos-arm.deb
zstd -d *.zst
xz *.tar
ar r frida_16.0.8_iphoneos-arm-repacked.deb debian-binary control.tar.xz data.tar.xz

SCP the frida_16.0.8_iphoneos-arm-repacked.deb archive to your device, and run dpkg -i:

# dpkg -i frida_16.0.8_iphoneos-arm-repacked.deb
(Reading database ... 2530 files and directories currently installed.)
Preparing to unpack frida_16.0.8_iphoneos-arm-repacked.deb ...
Unpacking re.frida.server (16.0.8) over (16.0.7) ...
/Library/LaunchDaemons/re.frida.server.plist: Operation now in progress
Setting up re.frida.server (16.0.8) ...

Thanks, bro, problem solved

@bwogi28

@xiaozhuai thank you very much. Had the same challenge but it has been resolved.

@akarsh-enciphers

The new 16.0.8 archive was compressed using zst which isn’t supported by dpkg on iOS.

# dpkg -i frida_16.0.8_iphoneos-arm.deb 
dpkg-deb: error: archive 'frida_16.0.8_iphoneos-arm.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive frida_16.0.8_iphoneos-arm.deb (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 frida_16.0.8_iphoneos-arm.deb

To repack the archive using xz compression over zst:

mkdir frida_16.0.8_iphoneos-arm
cd frida_16.0.8_iphoneos-arm
ar -x ../frida_16.0.8_iphoneos-arm.deb
zstd -d *.zst
xz *.tar
ar r frida_16.0.8_iphoneos-arm-repacked.deb debian-binary control.tar.xz data.tar.xz

SCP the frida_16.0.8_iphoneos-arm-repacked.deb archive to your device, and run dpkg -i:

# dpkg -i frida_16.0.8_iphoneos-arm-repacked.deb
(Reading database ... 2530 files and directories currently installed.)
Preparing to unpack frida_16.0.8_iphoneos-arm-repacked.deb ...
Unpacking re.frida.server (16.0.8) over (16.0.7) ...
/Library/LaunchDaemons/re.frida.server.plist: Operation now in progress
Setting up re.frida.server (16.0.8) ...

This helped thank you

@RobLinux

In case you’re trying to do it from iOS, use this command line as the last one instead :

ar r —format=gnu frida_16.0.8_iphoneos-arm-repacked.deb

@launchdaemon

@pich4ya

just get back to xz version of .deb -_-

@AndnixSH

Got same issue on Sileo and Zebra

fr_94

fr_95

@wyywang

The new 16.0.8 archive was compressed using zst which isn’t supported by dpkg on iOS.

# dpkg -i frida_16.0.8_iphoneos-arm.deb 
dpkg-deb: error: archive 'frida_16.0.8_iphoneos-arm.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive frida_16.0.8_iphoneos-arm.deb (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 frida_16.0.8_iphoneos-arm.deb

To repack the archive using xz compression over zst:

mkdir frida_16.0.8_iphoneos-arm
cd frida_16.0.8_iphoneos-arm
ar -x ../frida_16.0.8_iphoneos-arm.deb
zstd -d *.zst
xz *.tar
ar r frida_16.0.8_iphoneos-arm-repacked.deb debian-binary control.tar.xz data.tar.xz

SCP the frida_16.0.8_iphoneos-arm-repacked.deb archive to your device, and run dpkg -i:

# dpkg -i frida_16.0.8_iphoneos-arm-repacked.deb
(Reading database ... 2530 files and directories currently installed.)
Preparing to unpack frida_16.0.8_iphoneos-arm-repacked.deb ...
Unpacking re.frida.server (16.0.8) over (16.0.7) ...
/Library/LaunchDaemons/re.frida.server.plist: Operation now in progress
Setting up re.frida.server (16.0.8) ...

Thanks, bro, problem solved

Thanks

@In3tinct

Well, the above solutions didn’t work for me, i kept getting below error for my iphone 8+.
dpkg: error processing archive frida_16.0.8_iphoneos-arm-repacked.deb (—install):
failed to open package info file ‘/var/lib/dpkg/tmp.ci/control’ for reading: No such file or directory

After wasting a couple hours trying to troubleshoot. Decided to download and install an older version 16.0.5 manually on the device, worked perfectly. Perhaps something wrong with 16.0.8.

@pich4ya

Copy & Paste solution is here:

# on MacOS
FRIDA_VERSION="16.0.8"
wget https://github.com/frida/frida/releases/download/"${FRIDA_VERSION}"/frida_"${FRIDA_VERSION}"_iphoneos-arm.deb 
frida_"${FRIDA_VERSION}"_iphoneos-arm.deb

mkdir frida_"${FRIDA_VERSION}"_iphoneos-arm
cd frida_"${FRIDA_VERSION}"_iphoneos-arm
ar -x ../frida_"${FRIDA_VERSION}"_iphoneos-arm.deb
zstd -d *.zst
xz *.tar
ar r frida_"${FRIDA_VERSION}"_iphoneos-arm-repacked.deb debian-binary control.tar.xz data.tar.xz

scp frida_"${FRIDA_VERSION}"_iphoneos-arm-repacked.deb iphone:/var/root
# on iPhone
FRIDA_VERSION="16.0.8"
dpkg -i  "${FRIDA_VERSION}"_iphoneos-arm-repacked.deb






answered

Jan 15, 2014


by
osky

(201k points)



edited

Oct 17, 2014


by osky


Solution to sub-process /usr/bin/dpkg returned an error code (2) cydia

reseting Cydia might help as well.

use ifile or ifunbox:

Navigate to /private/etc/apt/sources.list.d

Delete the file «cydia.list» 

Navigate to /var/lib/apt/lists

Delete all of the files in this folder except the one called «lock»

Navigate to /var/lib/apt/lists/partial

Delete all of the files in this folder

Navigate to /var/lib/cydia

Delete the file «metadata.plist»

Restart Cydia. 



answered

Feb 4, 2014


by
connor

(18.3k points)



edited

May 26, 2014


by osky


Get your way to the file and directory structure of your iPhone (through SSH or iFile or Mobile Terminal …)

Look for the /var/lib/dpkg/ directory

You should be able to find the following files: available, availble-old, status, status-old

 Rename «available» to «available-bak»

 Rename «status» to «status-bak»

 Rename «available-bak» to «available»

Rename «status-old» to «status»

than 

Start Cydia , 

usr bin dpkg error code 2



answered

Feb 15, 2014


by
esd

(3.8k points)



Finally I solved the problem! Just download and install iFile 

1. Sign Cydia and download iFile. 

Two. CLOSE Cydia! 

Three. Open iFile. 

Three. Head to the first folder «/». 

April. Slide to the top and you will see a search field. 

May. Search on «Hierarchy» the application you want to uninstall, so in my case was «MyWi» (without the quotes). 

6. deletes all files that contain the phrase you want to delete the application, in my case was «MyWi» 

7. Once deleted all files, Closes Open iFile and Cydia. 

8. Head to Manage> Packages> «uninstall application» in my case was «MyWi»> Modify> Remove 

Now remove it completely! 

Finally I solved the problem! Just download and install iFile 

1. Open Cydia and download iFile. 

2. CLOSE Cydia! 

3. Open iFile. 

4. Navigate to the top (first) folder. 

5. Scroll to the top and you’ll see a search field. 

6. Search in «Hierarchy» mode for «MyWi». 

7. Delete all files container containing the phrase «MyWi» 

8 Close iFile and open Cydia. 

9. Go to Manage> Packages> MyWi OnDemand> Modify> Remove 

Now it will remove it completely! 

Modded/Hacked App: 마계전기 DISGAEA RPG By Hong Kong Bao Chuan Software Technology Limited
Bundle ID: com.boltrend.disgaeakr
iTunes Store Link: https://apps.apple.com/kr/app/%EB%A7%88%EA%B3%84%EC%A0%84%EA%B8%B0-disgaea-rpg/id1632554348?uo=4

Mod Requirements:
— Jailbroken iPhone/iPad/iPod Touch.
— iGameGod / Filza / iMazing or any other file managers for iOS.
— Cydia Substrate, Substitute or libhooker depending on your jailbreak.
— PreferenceLoader (from Cydia, Sileo or Zebra).

Hack Features:
— x Dmg
— x Def

Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
Modded Android APK(s): https://iosgods.com/forum/68-android-section/
For more fun, check out the Club(s): https://iosgods.com/clubs/

iOS Hack Download Link:

Hidden Content
Download Hack

Installation Instructions:
STEP 1: Download the .deb Cydia hack file from the link above. Use Safari/Google Chrome or other iOS browsers to download.
STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
STEP 3: If necessary, tap on the downloaded file, and then, you will need to press ‘Install’ from the options on your screen.
STEP 4: Let iGameGod/Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
STEP 5: If the hack is a Mod Menu — which is usually the case nowadays — the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
STEP 6: Turn on the features you want and play the game. You may need to follow further instructions inside the hack’s popup in-game.

 

NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven’t found a solution, post your issue down below and we’ll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.

Credits:
— AlyssaX64

Cheat Video/Screenshots:

N/A

Содержание

  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).

    Источник

    • #1

    Ok, so as you see, i get an error in Cydia when ever i try to install an app.
    And while i was trying to fix it, i accidently deleted the sources and i don’t know how to get them back :(
    Thank in advance

    • #3

    Do you have MobileTerminal, SSH, or iFile?

    • #4

    1. Run Cydia.
    2. Search for gzip & reinstall.
    3. Search for bzip2 & reinstall.
    4. Cydia goto Changes & click Refresh.
    5. Wait for Cydia to refresh.

    Not sure if you came across this on the net as well..

    Solution:
    1- Get your way to the file and directory structure of your iPhone (through SSH or iFile or Mobile Terminal …)
    2- Look for the /var/lib/dpkg/ directory
    3- You should be able to find the following files: available, availble-old, status, status-old
    4- Rename «available» to «available-bak»
    5- Rename «status» to «status-bak»
    6- Rename «available-old» to «available»
    7- Rename «status-old» to «status»
    8- Start Cydia , make sure that you allow Cydia to load completely first (just to be on the safe side ), try to install some apps.

    • #5

    1. Run Cydia.
    2. Search for gzip & reinstall.
    3. Search for bzip2 & reinstall.
    4. Cydia goto Changes & click Refresh.
    5. Wait for Cydia to refresh.

    His Cydia doesn’t work. That’s the problem.

    • #6

    Hi,

    there’s a couple steps that you have to complete to get this issue resolve.

    1. Restart your Device or turn it off and turn it back on.
    2. As soon as you see the apple on the screen press the up volume key and leave it pressed until the Device load to your lock screen.
    3. Open cydia and try to install whatever you have in the changes section you might be able to accomplish this from the very first time, if not you’re going to receive an error saying «PKG LOCKED» after this try to install everything again and is going to work.

    I’m a lover of everything apple and I have learned a lot from a couple Devs and as I learned I can help you guys too. you can reach me at:

    yavesantiago17@gmail.com

    • #7

    Hey, thanx for this quick fix. Worked perfectly.

    • #8

    1. Run Cydia.
    2. Search for gzip & reinstall.
    3. Search for bzip2 & reinstall.
    4. Cydia goto Changes & click Refresh.
    5. Wait for Cydia to refresh.

    Not sure if you came across this on the net as well..

    Solution:
    1- Get your way to the file and directory structure of your iPhone (through SSH or iFile or Mobile Terminal …)
    2- Look for the /var/lib/dpkg/ directory
    3- You should be able to find the following files: available, availble-old, status, status-old
    4- Rename «available» to «available-bak»
    5- Rename «status» to «status-bak»
    6- Rename «available-old» to «available»
    7- Rename «status-old» to «status»
    8- Start Cydia , make sure that you allow Cydia to load completely first (just to be on the safe side ), try to install some apps.

    I accidently removed the orignal status what do I do?

    Понравилась статья? Поделить с друзьями:
  • Submit error success perfect world
  • Submission failed http error 422 roblox
  • Submarine titans internal error
  • Sublime text как изменить цветовую схему
  • Sublime text как изменить настройки