无法安装 pinguy builder 并发现一些错误包

无法安装 pinguy builder 并发现一些错误包

我使用的是 Ubuntu 14.04 LTS amd64。我将安装 Pinguy Builder,但我发现了一些错误

我尝试安装

sudo dpkg -i pinguybuilder_3.3-7_all.deb

这是输出

(Reading database ... 167103 files and directories currently installed.)
Preparing to unpack pinguybuilder_3.3-7_all.deb ...
Unpacking pinguybuilder (3.3-7) over (3.3-7) ...
dpkg: dependency problems prevent configuration of pinguybuilder:
 pinguybuilder depends on squashfs-tools; however:
  Package squashfs-tools is not installed.
 pinguybuilder depends on casper; however:
  Package casper is not installed.
 pinguybuilder depends on libdebian-installer4; however:
  Package libdebian-installer4 is not installed.
 pinguybuilder depends on ubiquity-frontend-debconf; however:
  Package ubiquity-frontend-debconf is not installed.
 pinguybuilder depends on user-setup; however:
  Package user-setup is not installed.
 pinguybuilder depends on discover1 | discover; however:
  Package discover1 is not installed.
  Package discover is not installed.
 pinguybuilder depends on aufs-tools | unionfs-fuse; however:
  Package aufs-tools is not installed.
  Package unionfs-fuse is not installed.
 pinguybuilder depends on dpkg-dev; however:
  Package dpkg-dev is not installed.
 pinguybuilder depends on gksu; however:
  Package gksu is not installed.
 pinguybuilder depends on python-glade2; however:
  P
dpkg: error processing package pinguybuilder (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
 pinguybuilder

我尝试更新并安装一个未安装的软件包

apt-get update && apt-get install squashfs-tools

错误一直存在

Err http://id.archive.ubuntu.com trusty InRelease                              

Err http://id.archive.ubuntu.com trusty-updates InRelease                      

Err http://id.archive.ubuntu.com trusty-backports InRelease             

Err http://id.archive.ubuntu.com trusty Release.gpg                     
  Could not resolve 'id.archive.ubuntu.com'
Err http://id.archive.ubuntu.com trusty-updates Release.gpg             
  Could not resolve 'id.archive.ubuntu.com'
Err http://id.archive.ubuntu.com trusty-backports Release.gpg           
  Could not resolve 'id.archive.ubuntu.com'
Err http://security.ubuntu.com trusty-security InRelease                

Err http://extras.ubuntu.com trusty InRelease                           

Err http://security.ubuntu.com trusty-security Release.gpg              
  Could not resolve 'security.ubuntu.com'
Err http://extras.ubuntu.com trusty Release.gpg
  Could not resolve 'extras.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://id.archive.ubuntu.com/ubuntu/dists/trusty/InRelease 
W: Failed to fetch http://id.archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease  

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease  

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/InRelease  

W: Failed to fetch http://id.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Could not resolve 'id.archive.ubuntu.com'

W: Failed to fetch http://id.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg  Could not resolve 'id.archive.ubuntu.com'

W: Failed to fetch http://id.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg  Could not resolve 'id.archive.ubuntu.com'

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg  Could not resolve 'security.ubuntu.com'

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Could not resolve 'extras.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 pinguybuilder : Depends: casper but it is not going to be installed
                 Depends: libdebian-installer4 but it is not going to be installed
                 Depends: ubiquity-frontend-debconf but it is not going to be installed
                 Depends: user-setup but it is not going to be installed
                 Depends: discover1 but it is not installable or
                          discover but it is not going to be installed
                 Depends: aufs-tools but it is not going to be installed or
                          unionfs-fuse
                 Depends: dpkg-dev but it is not going to be installed
                 Depends: gksu but it is not going to be installed
                 Depends: python-glade2 but it is not going to be installed
                 Depends: python-vte but it is not going to be installed
                 Depends: plymouth-x11 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

这些软件包出了什么问题?为什么我无法安装它们?如何正确安装 pinguy builder?

答案1

dpkg不知道存储库,因此无法安装依赖项。

要安装该程序及其依赖项,请使用apt

sudo apt install ./pinguybuilder_3.3-7_all.deb

来源

相关内容