安装包失败,并显示“tar:无效参数”

安装包失败,并显示“tar:无效参数”

debian:wheezy我正在运行一个基于安装的docker容器wp-镜像。我在运行时遇到了很多依赖问题apt-get install wp-mirror,运行几次后似乎可以正常工作,因为它会拉取越来越多的依赖项。有没有办法避免/修复这个问题?

运行之前我安装的软件包apt-get install wp-mirror

apt-get apt-utils aptitude vim gnupg-curl vim

目前,它因这些错误消息而失败,我无法找到解决方案。

Get:427 http://httpredir.debian.org/debian/ wheezy/main xml-core all 0.13+nmu2 [24.2 kB]
Get:428 http://httpredir.debian.org/debian/ wheezy/main xterm amd64 278-4 [613 kB]
Fetched 1254 MB in 2min 14s (9294 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 428.)
debconf: falling back to frontend: Readline
Extracting templates from packages: 100%
Preconfiguring packages ...
Configuring mysql-server-5.5
----------------------------

While not mandatory, it is highly recommended that you set a password for the MySQL administrative "root" user.

If this field is left blank, the password will not be changed.

New password for the MySQL "root" user:



Repeat password for the MySQL "root" user:


tar: ./shlibs: Cannot change ownership to uid 0, gid 0: Invalid argument
tar: ./symbols: Cannot change ownership to uid 0, gid 0: Invalid argument
tar: ./postinst: Cannot change ownership to uid 0, gid 0: Invalid argument
tar: ./postrm: Cannot change ownership to uid 0, gid 0: Invalid argument
tar: ./control: Cannot change ownership to uid 0, gid 0: Invalid argument
tar: ./md5sums: Cannot change ownership to uid 0, gid 0: Invalid argument
tar: .: Cannot change ownership to uid 0, gid 0: Invalid argument
tar: Exiting with failure status due to previous errors
dpkg-deb: error: subprocess tar returned error exit status 2
dpkg: error processing /var/cache/apt/archives/libkmod2_9-3_amd64.deb (--unpack):
 subprocess dpkg-deb --control returned error exit status 2
tar: ./postrm: Cannot change ownership to uid 0, gid 0: Invalid argument
tar: ./symbols: Cannot change ownership to uid 0, gid 0: Invalid argument
tar: ./shlibs: Cannot change ownership to uid 0, gid 0: Invalid argument
tar: ./md5sums: Cannot change ownership to uid 0, gid 0: Invalid argument
tar: ./postinst: Cannot change ownership to uid 0, gid 0: Invalid argument
tar: ./control: Cannot change ownership to uid 0, gid 0: Invalid argument
tar: .: Cannot change ownership to uid 0, gid 0: Invalid argument
tar: Exiting with failure status due to previous errors
dpkg-deb: error: subprocess tar returned error exit status 2
dpkg: error processing /var/cache/apt/archives/libpipeline1_1.2.1-1_amd64.deb (--unpack):
 subprocess dpkg-deb --control returned error exit status 2

我正在谈论这些tar在很多依赖项中不断出现的错误。

知道那里发生了什么吗?谢谢!

相关内容