dpkg:处理档案中的文件时出错

dpkg:处理档案中的文件时出错

当我想将 Backtrack Linux 升级到 ubuntu 14.04 时出现以下错误:

(Reading database ... 218798 files and directories currently installed.)
Preparing to replace hostname 3.03ubuntu1 (using .../hostname_3.15ubuntu1_amd64.deb) ...
Unpacking replacement hostname ...
dpkg-deb: file `/var/cache/apt/archives/hostname_3.15ubuntu1_amd64.deb' contains ununderstood data member data.tar.xz     , giving up
dpkg: error processing /var/cache/apt/archives/hostname_3.15ubuntu1_amd64.deb (--unpack):
 subprocess dpkg-deb --fsys-tarfile returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/hostname_3.15ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

我该如何修复它?注意:我已将 ubuntu repos 复制到 bactrack

答案1

您无法将 Kali(backtracks 的新名称)升级到 Ubuntu。Kali 是基于 Debian Testing 的。

相关内容