损坏的文件系统 tarfile - 损坏的包存档 Ubuntu

Corrupted filesystem tarfile - corrupted package archive Ubuntu

我正在尝试在 Ubuntu 上编译和安装开源应用程序。我可以制作应用程序、制作安装程序和制作软件包。在这些步骤中我没有看到任何错误。当我发出 dpkg -i 安装它时,如果失败并出现以下错误。

dpkg: 错误处理存档 application.deb (--install): 损坏的文件系统 tarfile - 损坏的包存档 dpkg-deb: 错误: 子进程粘贴被信号杀死 (Broken pipe)

我只能在下载文件时找到解决问题的参考,并说要发出apt-get clean和purge。我已经这样做了,但它不起作用,而且似乎不适用,因为我正在创建安装文件。当我发出 dpkg -c application.deb 时,它会显示内容,因此文件没有完全损坏。

关于如何安装此应用程序的任何建议?

尝试这些命令

# sudo dpkg -i --force-overwrite application.deb

之后运行

# sudo apt-get -f install 

按照 https://github.com/Brewtarget/brewtarget 在新安装的 Ubuntu 14.04.3 上的描述,我得到了一个可以安装的 .deb。

这些是我的命令 运行:

$ sudo apt-get install cmake git qtbase5-dev qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5webkit5-dev libqt5sql5-sqlite libqt5svg5 libqt5multimedia5-plugins doxygen
$ git clone https://github.com/Brewtarget/brewtarget.git
$ mkdir brewtarget-build
$ cd brewtarget-build
$ cmake ../brewtarget
$ make
$ make package
$ sudo apt-get install libphonon4 libqt4-webkit phonon phonon-backend-vlc
$ sudo dpkg -i brewtarget*.deb
Selecting previously unselected package brewtarget_2.2.0.
(Reading database ... 175209 files and directories currently installed.)
Preparing to unpack brewtarget_2.2.0_x86_64.deb ...
Unpacking brewtarget_2.2.0 (2.2.0-1) ...
Setting up brewtarget_2.2.0 (2.2.0-1) ...
$ file *.deb
brewtarget_2.2.0_x86_64.deb: Debian binary package (format 2.0)

你 运行 是哪个 Ubuntu 版本?

奇怪的是,您的错误消息显示 "application.deb",因为我在按照说明操作时得到了一个名为 "brewtarget_2.2.0_x86_64.deb" 的 .deb。