Met Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

xq_dl xq_dl at 126.com
Mon Sep 24 09:08:21 UTC 2012


 Hi,

I want to install xCAT on my server which can not access the internet. This software need may dependecy packages, so I download all of them one by one with http://us.archive.ubuntu.com/ubuntu/dists/precise/main/binary-amd64/ and http://us.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-amd64/. And run dpkg-scanpackages  . > Packages to create the local repository. But I met the error show on the title. Thanks.

root at hs23n01kvm15:/data/ubunturepo# apt-get install libxml-sax-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6 : Depends: tzdata but it is not going to be installed
 libxml-sax-perl : Depends: perl but it is not going to be installed
                   Depends: libxml-namespacesupport-perl but it is not going to be installed
                   Depends: libxml-sax-base-perl but it is not going to be installed
                   Depends: ucf (>= 0.28) but it is not going to be installed
                   Recommends: libxml-sax-expat-perl but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.In fact these 4 packages are all can installed by apt-get, why the libxml-sax-perl can not be installed?

some information about my server

root at hs23n01kvm15:/data/ubunturepo# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.1 LTS
Release:        12.04
Codename:       precise

root at hs23n01kvm15:/data/ubunturepo# apt-cache search libxml-namespacesupport-perl
libxml-namespacesupport-perl - Perl module for supporting simple generic namespaces
root at hs23n01kvm15:/data/ubunturepo# apt-cache search libxml-sax-base-perl
libxml-sax-base-perl - base class for SAX drivers and filters
root at hs23n01kvm15:/data/ubunturepo# dpkg -l |grep perl
ii  libalgorithm-diff-perl          1.19.02-2                  module to find differences between files
ii  libalgorithm-diff-xs-perl       0.04-2build2               module to find differences between files (XS accelerated)
ii  libalgorithm-merge-perl         0.08-2                     Perl module for three-way merge of textual data
ii  libclass-isa-perl               0.36-3                     report the search path for a class's ISA tree
ii  libdpkg-perl                    1.16.1.2ubuntu7            Dpkg perl modules
ii  liblocale-gettext-perl          1.05-7build1               module using libc functions for internationalization in Perl
ii  libperl5.14                     5.14.2-6ubuntu2.1          shared Perl library
ii  libswitch-perl                  2.16-2                     switch statement for Perl
ii  libtext-charwidth-perl          0.04-7build1               get display widths of characters on the terminal
ii  libtext-iconv-perl              1.7-5                      converts between character sets in Perl
ii  libtext-wrapi18n-perl           0.06-7                     internationalized substitute of Text::Wrap
ii  libtimedate-perl                1.2000-1                   collection of modules to manipulate date/time information
ri  perl                            5.14.2-6ubuntu2.1          Larry Wall's Practical Extraction and Report Language
ii  perl-base                       5.14.2-6ubuntu2.1          minimal Perl system
ii  perl-modules                    5.14.2-6ubuntu2.1          Core Perl modules
root at hs23n01kvm15:/data/ubunturepo# dpkg -l |grep ucf
ii  ucf                             3.0025+nmu2ubuntu1         Update Configuration File: preserve user changes to config files.

root at hs23n01kvm15:/data/ubunturepo# ls -l
total 21064
-rw-r--r-- 1 root root  163130 Sep 24 09:13 expect_5.45-2_amd64.deb
-rw-r--r-- 1 root root   80004 Sep 24 09:13 expect-dev_5.45-2_amd64.deb
-rw-r--r-- 1 root root  109706 Sep 24 09:13 expect-lite_4.2.0-0ubuntu1_all.deb
-rw-r--r-- 1 root root   36958 Sep 24 09:25 fping_2.4b2-to-ipv6-16.1_amd64.deb
-rw-r--r-- 1 root root   94018 Sep 24 09:28 libdbd-sqlite3-perl_1.35-1_amd64.deb
-rw-r--r-- 1 root root  863838 Sep 24 09:35 libssl0.9.8_0.9.8o-7ubuntu2_amd64.deb
-rw-r--r-- 1 root root 1647550 Sep 24 09:35 libssl0.9.8-dbg_0.9.8o-7ubuntu2_amd64.deb
-rw-r--r-- 1 root root  206954 Sep 24 09:26 libsys-virt-perl_0.9.7-2_amd64.deb
-rw-r--r-- 1 root root   15300 Sep 24 08:26 libxml-namespacesupport-perl_1.09-3_all.deb
-rw-r--r-- 1 root root  265316 Sep 24 09:26 libxml-parser-perl_2.41-1build1_amd64.deb
-rw-r--r-- 1 root root   21514 Sep 24 09:42 libxml-sax-base-perl_1.07-1_all.deb
-rw-r--r-- 1 root root   64452 Sep 24 08:26 libxml-sax-perl_0.99+dfsg-1_all.deb
-rw-r--r-- 1 root root   73418 Sep 24 08:26 libxml-simple-perl_2.18-3_all.deb
-rw-r--r-- 1 root root   55230 Sep 24 09:54 Packages
-rw-r--r-- 1 root root  870028 Sep 24 09:25 tcl8.4_8.4.19-4ubuntu3_amd64.deb
-rw-r--r-- 1 root root  700914 Sep 24 09:25 tcl8.4-dev_8.4.19-4ubuntu3_amd64.deb
-rw-r--r-- 1 root root  851944 Sep 24 09:25 tcl8.4-doc_8.4.19-4ubuntu3_all.deb
-rw-r--r-- 1 root root    4690 Sep 24 09:25 tcl_8.5.0-2_all.deb
-rw-r--r-- 1 root root 1097730 Sep 24 09:25 tcl8.5_8.5.11-1ubuntu1_amd64.deb
-rw-r--r-- 1 root root  971758 Sep 24 09:25 tcl8.5-dev_8.5.11-1ubuntu1_amd64.deb
-rw-r--r-- 1 root root 1018392 Sep 24 09:25 tcl8.5-doc_8.5.11-1ubuntu1_all.deb
-rw-r--r-- 1 root root    6706 Sep 24 09:25 tcl8.5-kwwidgets_1.0.0~cvs20100930-6_amd64.deb
-rw-r--r-- 1 root root   17654 Sep 24 09:25 tclcl_1.20-6_amd64.deb
-rw-r--r-- 1 root root   59698 Sep 24 09:25 tclcl-dbg_1.20-6_amd64.deb
-rw-r--r-- 1 root root    4238 Sep 24 09:25 tclcl-dev_1.20-6_all.deb
-rw-r--r-- 1 root root  270702 Sep 24 09:25 tcl-combat_0.8.1-1_all.deb
-rw-r--r-- 1 root root   39960 Sep 24 09:25 tclcsound_5.17.6~dfsg-1_amd64.deb
-rw-r--r-- 1 root root   74408 Sep 24 09:25 tclcurl_7.19.6-3_amd64.deb
-rw-r--r-- 1 root root    7002 Sep 24 09:25 tcl-dev_8.5.0-2_all.deb
-rw-r--r-- 1 root root  116724 Sep 24 09:25 tcl-doc_8.5.0-2_all.deb
-rw-r--r-- 1 root root   48452 Sep 24 09:25 tclex_1.2a1-15_amd64.deb
-rw-r--r-- 1 root root    9798 Sep 24 09:25 tclgeoip_0.2-1_amd64.deb
-rw-r--r-- 1 root root 4714192 Sep 24 09:25 tcllib_1.14-dfsg-1_all.deb
-rw-r--r-- 1 root root   59050 Sep 24 09:25 tclodbc_2.5.1-1.1build1_amd64.deb
-rw-r--r-- 1 root root   65442 Sep 24 09:25 tclreadline_2.1.0-10_amd64.deb
-rw-r--r-- 1 root root  116750 Sep 24 09:25 tclthread_2.6.6-1_amd64.deb
-rw-r--r-- 1 root root   66334 Sep 24 09:25 tcl-tls_1.5.0.dfsg-10build1_amd64.deb
-rw-r--r-- 1 root root   81372 Sep 24 09:25 tcl-trf_2.1.4-dfsg-2build2_amd64.deb
-rw-r--r-- 1 root root   14742 Sep 24 09:25 tcl-trf-dev_2.1.4-dfsg-2build2_amd64.deb
-rw-r--r-- 1 root root  122928 Sep 24 09:25 tcl-trf-doc_2.1.4-dfsg-2build2_all.deb
-rw-r--r-- 1 root root  105122 Sep 24 09:25 tclvfs_1.3-20080503-1_amd64.deb
-rw-r--r-- 1 root root 5260006 Sep 24 09:25 tcl-vtk_5.8.0-5_amd64.deb
-rw-r--r-- 1 root root  101542 Sep 24 09:25 tclx8.4_8.4.0-3_amd64.deb
-rw-r--r-- 1 root root   96404 Sep 24 09:25 tclx8.4-dev_8.4.0-3_amd64.deb
-rw-r--r-- 1 root root   74352 Sep 24 09:25 tclx8.4-doc_8.4.0-3_all.deb
-rw-r--r-- 1 root root  172624 Sep 24 09:25 tclxapian_1.2.8-1_amd64.deb
-rw-r--r-- 1 root root  397054 Sep 24 09:25 tclxml_3.2-1_amd64.deb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20120924/bdba120e/attachment.html>


More information about the ubuntu-users mailing list