Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
python-updater problem, system corrupted!! [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
pigreco
Apprentice
Apprentice


Joined: 16 Nov 2005
Posts: 223
Location: Italia

PostPosted: Fri Nov 06, 2009 3:53 pm    Post subject: python-updater problem, system corrupted!! [SOLVED] Reply with quote

Hi,
I have this problem executing a python-update on my mail sever:
Code:

# python-updater
 * Starting Python Updater from 2.5 to 2.6 :
 *   Adding to list: sys-libs/libselinux:0
 *   Adding to list: sys-libs/libsemanage:0
 *   Adding to list: sys-libs/libcap:0
 *   Adding to list: sys-apps/policycoreutils:0
 *   Adding to list: sys-apps/file:0
 *   Adding to list: dev-java/java-config:2
 *   Adding to list: sys-process/audit:0
 *   Adding to list: media-libs/ming:0
 *   Adding to list: net-analyzer/fail2ban:0
 *   Adding to list: net-analyzer/net-snmp:0
 *   Adding to list: dev-libs/libxslt:0
 *   Adding to list: dev-libs/libxml2:2
 *   Adding to list: dev-python/setuptools:0
 * emerge -vD1 sys-libs/libselinux:0 sys-libs/libsemanage:0 sys-libs/libcap:0 sys-apps/policycoreutils:0 sys-apps/file:0 dev-java/java-config:2 sys-process/audit:0 media-libs/ming:0 net-analyzer/fail2ban:0 net-analyzer/net-snmp:0 dev-libs/libxslt:0 dev-libs/libxml2:2 dev-python/setuptools:0

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-devel/gnuconfig-20090203 [20080123] 0 kB [0]
[ebuild     U ] app-misc/pax-utils-0.1.19 [0.1.17] USE="-caps" 0 kB [0]
[ebuild     U ] app-arch/bzip2-1.0.5-r1 [1.0.5] USE="-static" 0 kB [0]
[ebuild     U ] dev-libs/gmp-4.3.1 [4.2.2-r2] USE="-nocxx (-doc%)" 1,838 kB [0]
[ebuild     U ] sys-devel/gcc-config-1.4.1 [1.4.0-r4] 0 kB [0]
[ebuild     U ] sys-devel/autoconf-wrapper-7 [6] 0 kB [0]
[ebuild     U ] sys-libs/timezone-data-2009m [2008c] USE="nls" 363 kB [0]
[ebuild     U ] app-arch/lzma-utils-4.32.7 [4.32.6] USE="-nocxx" 469 kB [0]
[ebuild     U ] media-libs/freetype-2.3.9-r1 [2.3.7] USE="-X -bindist -debug -doc -fontforge% -utils" 1,332 kB [0]
[ebuild     U ] sys-libs/libsepol-2.0.32 [1.16.11] 186 kB [0]
[ebuild     U ] media-libs/giflib-4.1.6-r1 [4.1.6] USE="-X -rle" 0 kB [0]
[ebuild  N    ] dev-libs/ustr-1.0.4  229 kB [0]
[ebuild     U ] sys-kernel/linux-headers-2.6.27-r2 [2.6.23-r3] 3,509 kB [0]
[ebuild     U ] sys-devel/m4-1.4.12 [1.4.11] USE="-examples (-nls%*)" 751 kB [0]
[ebuild     U ] sys-apps/sandbox-1.6-r2 [1.2.18.1-r2] 300 kB [?=>0]
[ebuild     U ] dev-libs/mpfr-2.4.1_p1 [2.3.1] 883 kB [0]
[ebuild     U ] media-libs/libpng-1.2.38 [1.2.26-r1] 514 kB [0]
[ebuild     U ] dev-java/java-config-wrapper-0.16 [0.15] 8 kB [0]
[ebuild  N    ] virtual/acl-0  0 kB [0]
[ebuild     U ] sys-apps/debianutils-3.1.3 [2.28.2] USE="-static" 130 kB [0]
[ebuild     U ] perl-core/Sys-Syslog-0.27 [0.18] 75 kB [?=>0]
[ebuild  N    ] perl-core/Package-Constants-0.01  3 kB [0]
[ebuild  N    ] perl-core/Compress-Raw-Bzip2-2.020  USE="-test" 142 kB [0]
[ebuild     U ] perl-core/Compress-Raw-Zlib-2.020 [2.005] USE="-test%" 208 kB [0]
[ebuild     U ] dev-perl/yaml-0.68 [0.65] 91 kB [0]
[ebuild     U ] virtual/perl-Sys-Syslog-0.27 [0.18] 0 kB [?=>0]
[ebuild  N    ] virtual/perl-ExtUtils-ParseXS-2.18  0 kB [0]
[ebuild  N    ] virtual/perl-Package-Constants-0.01  0 kB [0]
[ebuild  N    ] virtual/perl-Compress-Raw-Bzip2-2.020  0 kB [0]
[ebuild  N    ] virtual/perl-Compress-Raw-Zlib-2.020  0 kB [0]
[ebuild  N    ] perl-core/IO-Compress-2.020  200 kB [0]
[uninstall    ] perl-core/IO-Compress-Base-2.005  [0]
[blocks b     ] perl-core/IO-Compress-Base ("perl-core/IO-Compress-Base" is blocking perl-core/IO-Compress-2.020)
[uninstall    ] perl-core/IO-Compress-Zlib-2.005  [0]
[blocks b     ] perl-core/IO-Compress-Zlib ("perl-core/IO-Compress-Zlib" is blocking perl-core/IO-Compress-2.020)
[ebuild  N    ] virtual/perl-IO-Compress-2.020  0 kB [0]
[ebuild  N    ] virtual/perl-IO-Zlib-1.07  0 kB [0]
[ebuild     U ] perl-core/Archive-Tar-1.40 [1.32] 48 kB [0]
[ebuild  N    ] virtual/perl-Archive-Tar-1.40  0 kB [0]
[ebuild  N    ] virtual/perl-Module-Build-0.28.08  0 kB [0]
[ebuild     U ] perl-core/ExtUtils-CBuilder-0.26.03 [0.19] 28 kB [0]
[ebuild  N    ] virtual/perl-ExtUtils-CBuilder-0.26.03  0 kB [0]
[ebuild     U ] perl-core/File-Spec-3.29 [3.25] 128 kB [0]
[ebuild     U ] virtual/perl-File-Spec-3.29 [3.25] 0 kB [0]
[ebuild     U ] dev-perl/DBI-1.609 [1.601] 499 kB [0]
[ebuild     U ] sys-libs/gpm-1.20.5 [1.20.1-r6] USE="(-selinux)" 1,269 kB [0]
[ebuild     U ] sys-process/procps-3.2.8 [3.2.7] USE="(-n32)" 280 kB [?=>0]
[ebuild     U ] dev-libs/libxml2-2.7.3-r2 [2.6.32] USE="ipv6 python readline -debug -doc -examples -test (-bootstrap%) (-build%)" 4,678 kB [0]
[ebuild     U ] sys-libs/cracklib-2.8.13 [2.8.12] USE="nls python" 580 kB [0]
[ebuild     U ] sys-apps/file-5.03 [4.23] USE="python" 602 kB [0]
[ebuild   R   ] media-libs/ming-0.3.0-r1  USE="perl python -php" 0 kB [0]
[ebuild     U ] dev-python/setuptools-0.6.4 [0.6_rc8-r1] 508 kB [0]
[ebuild     U ] sys-libs/libselinux-2.0.71 [1.34.14] USE="-ruby%" 164 kB [0]
[ebuild     U ] sys-apps/sed-4.2 [4.1.5-r1] USE="acl%* nls -static" 862 kB [0]
[ebuild     U ] sys-apps/coreutils-7.5-r1 [6.10-r2] USE="acl* nls -caps% -gmp% (-selinux) -static -vanilla -xattr" 9,731 kB [0]
[ebuild     U ] sys-apps/texinfo-4.13 [4.11-r1] USE="nls -static" 1,528 kB [0]
[ebuild     U ] sys-apps/findutils-4.4.0 [4.3.13] USE="nls (-selinux) -static" 1,983 kB [0]
[ebuild     U ] dev-libs/popt-1.14 [1.10.7] USE="nls" 680 kB [?=>0]
[ebuild     U ] sys-libs/libsemanage-2.0.27 [1.10.9] 166 kB [0]
[ebuild     U ] dev-libs/libgpg-error-1.7 [1.6] USE="nls" 395 kB [0]
[ebuild     U ] net-dns/libidn-1.15 [1.5-r1] USE="nls -doc -emacs -java -mono" 2,574 kB [0]
[ebuild  N    ] dev-python/sepolgen-1.0.13  354 kB [0]
[ebuild     U ] app-misc/ca-certificates-20090709 [20080514-r2] 151 kB [0]
[ebuild     U ] net-misc/rsync-3.0.6 [3.0.2] USE="acl* iconv ipv6 -static -xattr (-xinetd%)" 761 kB [0]
[ebuild     U ] dev-libs/libpcre-7.9-r1 [7.7-r1] USE="bzip2* cxx (unicode) zlib -doc -static-libs%" 842 kB [0]
[ebuild     U ] net-analyzer/net-snmp-5.4.2.1-r1 [5.4.1.1] USE="ipv6 perl python ssl tcpd -X -diskio -doc -elf -extensible -lm_sensors -mfd-rewrites -minimal -rpm (-selinux) -sendmail -smux" 5,064 kB [0]
[ebuild     U ] net-misc/whois-4.7.36 [4.7.26] USE="nls" 71 kB [0]
[ebuild     U ] sys-apps/ed-1.0 [0.9] 67 kB [0]
[ebuild     U ] dev-java/java-config-2.1.9-r1 [2.1.6] 56 kB [0]
[ebuild   R   ] dev-libs/libxslt-1.1.24-r1  USE="crypt python -debug -examples" 0 kB [0]
[ebuild  NS   ] sys-libs/db-4.7.25_p4 [1.85-r3, 3.2.9-r11, 4.2.52_p4-r2, 4.3.29_p1-r1, 4.5.20_p2-r1] USE="-doc -java -nocxx -tcl -test" 12,835 kB [0]
[ebuild     U ] sys-libs/pam-1.0.4 [1.0.1] USE="cracklib nls -audit (-selinux) -test -vim-syntax" 982 kB [0]
[ebuild     U ] sys-libs/libcap-2.17 [1.10-r11] USE="pam%* (-python%*)" 48 kB [0]
[ebuild  N    ] sys-auth/pam_ssh-1.97-r1  196 kB [0]
[ebuild     U ] sys-auth/pambase-20090620.1-r1 [20080318] USE="cracklib sha512%* ssh%* -consolekit -debug -gnome-keyring -mktemp -passwdqc (-selinux)" 3 kB [0]
[ebuild     U ] sys-apps/shadow-4.1.2.2 [4.0.18.2] USE="cracklib nls pam -audit% (-selinux) -skey (-nousuid%)" 1,658 kB [0]
[ebuild     U ] sys-libs/glibc-2.9_p20081201-r2 [2.6.1] USE="(multilib*) nls -debug -gd -glibc-omitfp (-hardened) -profile (-selinux) -vanilla" 16,621 kB [0]
[ebuild  NS   ] sys-devel/gcc-4.3.4 [4.1.2] USE="fortran mudflap (multilib) nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -gtk (-hardened) -ip28 -ip32r10k (-libffi) -multislot (-n32) (-n64) -nocxx -nopie -objc -objc++ -objc-gc -test -vanilla" 58,060 kB [0]
[ebuild     U ] dev-db/mysql-5.0.84-r1 [5.0.60-r1] USE="berkdb community%* latin1 perl ssl -big-tables -cluster -debug -embedded -extraengine -max-idx-128 -minimal -profiling% (-selinux) -static" 35,973 kB [0]
[ebuild     U ] net-nds/openldap-2.4.19 [2.3.43] USE="berkdb crypt ipv6 perl sasl ssl tcpd -cxx% -debug -experimental% -gnutls% -icu% -iodbc% -kerberos -minimal -odbc -overlays -samba (-selinux) -slp -smbkrb5passwd -syslog% (-gdbm%*)" 5,346 kB [0]
[ebuild     U ] net-misc/openssh-5.2_p1-r3 [4.7_p1-r6] USE="ldap pam tcpd -X -X509 -hpn -kerberos -libedit -pkcs11% (-selinux) -skey -smartcard -static (-chroot%)" 1,100 kB [0]
[ebuild     U ] net-libs/courier-authlib-0.62.4 [0.61.0] USE="berkdb crypt gdbm ldap mysql pam -debug -postgres -vpopmail" 2,125 kB [0]
[ebuild   R   ] sys-process/audit-1.7.3  USE="ldap" 0 kB [0]
[ebuild     U ] net-mail/courier-imap-4.5.0 [4.0.6-r2] USE="berkdb gdbm ipv6 nls -debug -fam -gnutls% (-selinux)" 3,483 kB [?=>0]
[ebuild     U ] sys-apps/policycoreutils-2.0.55 [1.34.15] USE="nls" 318 kB [0]
[ebuild     U ] dev-libs/cyrus-sasl-2.1.23-r1 [2.1.22-r2] USE="authdaemond berkdb crypt gdbm ldap pam ssl -java -kerberos -mysql -ntlm_unsupported_patch -postgres -sample -sqlite% -srp -urandom" 1,576 kB [?=>0]
[ebuild     U ] mail-mta/postfix-2.6.5 [2.5.3-r1] USE="ipv6 ldap mysql pam sasl ssl vda -cdb -dovecot-sasl -hardened -mbox -nis -postgres (-selinux) (-mailwrapper%*)" 3,260 kB [0]
[ebuild     U ] net-analyzer/fail2ban-0.8.4 [0.8.0-r1] 71 kB [0]

Total: 84 packages (63 upgrades, 16 new, 2 in new slots, 3 reinstalls, 2 uninstalls), Size of downloads: 188,921 kB
Conflict: 2 blocks
Portage tree and overlays:
 [0] /usr/portage
 [?] indicates that the source repository could not be determined

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-libs/libselinux:0

  ('ebuild', '/', 'sys-libs/libselinux-2.0.71', 'merge') pulled in by
    >=sys-libs/libselinux-2.0 required by ('ebuild', '/', 'dev-python/sepolgen-1.0.13', 'merge')
    >=sys-libs/libselinux-2.0 required by ('ebuild', '/', 'sys-apps/policycoreutils-2.0.55', 'merge')
    =sys-libs/libselinux-2.0* required by ('ebuild', '/', 'sys-libs/libsemanage-2.0.27', 'merge')
    (and 1 more)

  ('installed', '/', 'sys-libs/libselinux-1.34.14', 'nomerge') pulled in by
    =sys-libs/libselinux-1.34* required by ('installed', '/', 'sys-libs/libsemanage-1.10.9', 'nomerge')
    (and 1 more)

sys-libs/libsemanage:0

  ('installed', '/', 'sys-libs/libsemanage-1.10.9', 'nomerge') pulled in by
    =sys-libs/libsemanage-1.10.9* required by ('installed', '/', 'sys-apps/checkpolicy-1.34.4', 'nomerge')
    (and 1 more)

  ('ebuild', '/', 'sys-libs/libsemanage-2.0.27', 'merge') pulled in by
    =sys-libs/libsemanage-2.0* required by ('ebuild', '/', 'sys-apps/policycoreutils-2.0.55', 'merge')
    (and 1 more)

sys-libs/libsepol:0

  ('installed', '/', 'sys-libs/libsepol-1.16.11', 'nomerge') pulled in by
    =sys-libs/libsepol-1.16.11* required by ('installed', '/', 'sys-libs/libsemanage-1.10.9', 'nomerge')
    =sys-libs/libsepol-1.16* required by ('installed', '/', 'sys-libs/libselinux-1.34.14', 'nomerge')

  ('ebuild', '/', 'sys-libs/libsepol-2.0.32', 'merge') pulled in by
    =sys-libs/libsepol-2.0* required by ('ebuild', '/', 'sys-libs/libsemanage-2.0.27', 'merge')
    =sys-libs/libsepol-2.0* required by ('ebuild', '/', 'sys-libs/libselinux-2.0.71', 'merge')


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man page
or refer to the Gentoo Handbook.


I have try to remove the blocking package
Code:

emerge -C dev-python/sepolgen-1.0.13 sys-apps/policycoreutils-2.0.55 sys-libs/libsemanage-2.0.27 sys-libs/libsemanage-1.10.9 sys-apps/policycoreutils-2.0.55 sys-libs/libsemanage-1.10.9 sys-libs/libselinux-1.34.14 sys-libs/libsemanage-2.0.27 sys-libs/libselinux-2.0.71

--- Couldn't find '=dev-python/sepolgen-1.0.13' to unmerge.

--- Couldn't find '=sys-apps/policycoreutils-2.0.55' to unmerge.

--- Couldn't find '=sys-libs/libsemanage-2.0.27' to unmerge.

--- Couldn't find '=sys-apps/policycoreutils-2.0.55' to unmerge.

--- Couldn't find '=sys-libs/libsemanage-2.0.27' to unmerge.

--- Couldn't find '=sys-libs/libselinux-2.0.71' to unmerge.

 sys-libs/libsemanage
    selected: 1.10.9
   protected: none
     omitted: none

 sys-libs/libselinux
    selected: 1.34.14
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging sys-libs/libsemanage-1.10.9...
 * Cleaning orphaned Python bytecode from /usr/lib64/python2.4/site-packages ..
 * Cleaning orphaned Python bytecode from /usr/lib64/python2.5/site-packages ..
 * Purging /usr/lib64/python2.5/site-packages/semanage.py[co]
 * Purging /usr/lib64/python2.5/site-packages/semanage.py[co]
 * Cleaning orphaned Python bytecode from /usr/lib64/python2.6/site-packages ..
 * Cleaning orphaned Python bytecode from /usr/lib/python2.4/site-packages ..
 * Cleaning orphaned Python bytecode from /usr/lib/python2.5/site-packages ..
 * Cleaning orphaned Python bytecode from /usr/lib/python2.6/site-packages ..
>>> Unmerging sys-libs/libselinux-1.34.14...
mv: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
 *
 * ERROR: sys-libs/libselinux-1.34.14 failed.
 * Call stack:
 *               ebuild.sh, line 1776:  Called die
 * The specific snippet of code:
 *      preprocess_ebuild_env || \
 *              die "error processing environment"
 *  The die message:
 *   error processing environment
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/binpkgs/sys-libs/libselinux-1.34.14/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/binpkgs/sys-libs/libselinux-1.34.14/temp/environment'.
 *
!!! FAILED postrm: 1
 * The 'postrm' phase of the 'sys-libs/libselinux-1.34.14' package has
 * failed with exit value 1.
 *
 * The problem occurred while executing the ebuild file named
 * 'libselinux-1.34.14.ebuild' located in the '/var/db/pkg/sys-
 * libs/libselinux-1.34.14' directory. If necessary, manually remove the
 * environment.bz2 file and/or the ebuild file located in that directory.
 *
 * Removal of the environment.bz2 file is preferred since it may allow the
 * removal phases to execute successfully. The ebuild will be sourced and
 * the eclasses from the current portage tree will be used when necessary.
 * Removal of the ebuild file will cause the pkg_prerm() and pkg_postrm()
 * removal phases to be skipped entirely.

 * Messages for package sys-libs/libselinux-1.34.14:

 *
 * ERROR: sys-libs/libselinux-1.34.14 failed.
 * Call stack:
 *               ebuild.sh, line 1776:  Called die
 * The specific snippet of code:
 *      preprocess_ebuild_env || \
 *              die "error processing environment"
 *  The die message:
 *   error processing environment
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/binpkgs/sys-libs/libselinux-1.34.14/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/binpkgs/sys-libs/libselinux-1.34.14/temp/environment'.
 *
 * The 'postrm' phase of the 'sys-libs/libselinux-1.34.14' package has
 * failed with exit value 1.
 *
 * The problem occurred while executing the ebuild file named
 * 'libselinux-1.34.14.ebuild' located in the '/var/db/pkg/sys-
 * libs/libselinux-1.34.14' directory. If necessary, manually remove the
 * environment.bz2 file and/or the ebuild file located in that directory.
 *
 * Removal of the environment.bz2 file is preferred since it may allow the
 * removal phases to execute successfully. The ebuild will be sourced and
 * the eclasses from the current portage tree will be used when necessary.
 * Removal of the ebuild file will cause the pkg_prerm() and pkg_postrm()
 * removal phases to be skipped entirely.

 * GNU info directory index is up-to-date.
mail incal # python-updater       * Starting Python Updater from 2.5 to 2.6 :

mail incal # emerge -C dev-python/sepolgen-1.0.13 sys-apps/policycoreutils sys-libs/libsemanage sys-libs/libsemanage sys-apps/policycoreutils sys-libs/libsemanage sys-libs/libselinux sys-libs/libsemanage sys-libs/libselinux

--- Couldn't find '=dev-python/sepolgen-1.0.13' to unmerge.

--- Couldn't find 'sys-libs/libsemanage' to unmerge.

--- Couldn't find 'sys-libs/libsemanage' to unmerge.

--- Couldn't find 'sys-libs/libsemanage' to unmerge.

--- Couldn't find 'sys-libs/libselinux' to unmerge.

--- Couldn't find 'sys-libs/libsemanage' to unmerge.

--- Couldn't find 'sys-libs/libselinux' to unmerge.

 sys-apps/policycoreutils
    selected: 1.34.15
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging sys-apps/policycoreutils-1.34.15...
mv: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
 *
 * ERROR: sys-apps/policycoreutils-1.34.15 failed.
 * Call stack:
 *               ebuild.sh, line 1776:  Called die
 * The specific snippet of code:
 *      preprocess_ebuild_env || \
 *              die "error processing environment"
 *  The die message:
 *   error processing environment
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/binpkgs/sys-apps/policycoreutils-1.34.15/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/binpkgs/sys-apps/policycoreutils-1.34.15/temp/environment'.
 *
!!! FAILED prerm: 1
mv: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
 *
 * ERROR: sys-apps/policycoreutils-1.34.15 failed.
 * Call stack:
 *               ebuild.sh, line 1776:  Called die
 * The specific snippet of code:
 *      preprocess_ebuild_env || \
 *              die "error processing environment"
 *  The die message:
 *   error processing environment
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/binpkgs/sys-apps/policycoreutils-1.34.15/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/binpkgs/sys-apps/policycoreutils-1.34.15/temp/environment'.
 *
!!! FAILED postrm: 1
 * The 'postrm' phase of the 'sys-apps/policycoreutils-1.34.15' package has
 * failed with exit value 1.
 *
 * The problem occurred while executing the ebuild file named
 * 'policycoreutils-1.34.15.ebuild' located in the '/var/db/pkg/sys-
 * apps/policycoreutils-1.34.15' directory. If necessary, manually remove
 * the environment.bz2 file and/or the ebuild file located in that
 * directory.
 *
 * Removal of the environment.bz2 file is preferred since it may allow the
 * removal phases to execute successfully. The ebuild will be sourced and
 * the eclasses from the current portage tree will be used when necessary.
 * Removal of the ebuild file will cause the pkg_prerm() and pkg_postrm()
 * removal phases to be skipped entirely.

 * Messages for package sys-apps/policycoreutils-1.34.15:

 *
 * ERROR: sys-apps/policycoreutils-1.34.15 failed.
 * Call stack:
 *               ebuild.sh, line 1776:  Called die
 * The specific snippet of code:
 *      preprocess_ebuild_env || \
 *              die "error processing environment"
 *  The die message:
 *   error processing environment
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/binpkgs/sys-apps/policycoreutils-1.34.15/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/binpkgs/sys-apps/policycoreutils-1.34.15/temp/environment'.
 *
 *
 * ERROR: sys-apps/policycoreutils-1.34.15 failed.
 * Call stack:
 *               ebuild.sh, line 1776:  Called die
 * The specific snippet of code:
 *      preprocess_ebuild_env || \
 *              die "error processing environment"
 *  The die message:
 *   error processing environment
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/binpkgs/sys-apps/policycoreutils-1.34.15/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/binpkgs/sys-apps/policycoreutils-1.34.15/temp/environment'.
 *
 * The 'postrm' phase of the 'sys-apps/policycoreutils-1.34.15' package has
 * failed with exit value 1.
 *
 * The problem occurred while executing the ebuild file named
 * 'policycoreutils-1.34.15.ebuild' located in the '/var/db/pkg/sys-
 * apps/policycoreutils-1.34.15' directory. If necessary, manually remove
 * the environment.bz2 file and/or the ebuild file located in that
 * directory.
 *
 * Removal of the environment.bz2 file is preferred since it may allow the
 * removal phases to execute successfully. The ebuild will be sourced and
 * the eclasses from the current portage tree will be used when necessary.
 * Removal of the ebuild file will cause the pkg_prerm() and pkg_postrm()
 * removal phases to be skipped entirely.

 * GNU info directory index is up-to-date.


and it was a serious mistake :(

now the system is corrupt, I can not install


Code:

python-updater  * Starting Python Updater from 2.5 to 2.6 :
 *   Adding to list: sys-libs/libcap:0
 *   Adding to list: sys-apps/file:0
 *   Adding to list: dev-java/java-config:2
 *   Adding to list: sys-process/audit:0
 *   Adding to list: media-libs/ming:0
 *   Adding to list: net-analyzer/fail2ban:0
 *   Adding to list: net-analyzer/net-snmp:0
 *   Adding to list: dev-libs/libxslt:0
 *   Adding to list: dev-libs/libxml2:2
 *   Adding to list: dev-python/setuptools:0
 * emerge -vD1 sys-libs/libcap:0 sys-apps/file:0 dev-java/java-config:2 sys-process/audit:0 media-libs/ming:0 net-analyzer/fail2ban:0 net-analyzer/net-snmp:0 dev-libs/libxslt:0 dev-libs/libxml2:2 dev-python/setuptools:0

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-devel/gnuconfig-20090203 [20080123] 0 kB [0]
[ebuild     U ] app-misc/pax-utils-0.1.19 [0.1.17] USE="-caps" 0 kB [0]
[ebuild     U ] app-arch/bzip2-1.0.5-r1 [1.0.5] USE="-static" 0 kB [0]
[ebuild     U ] dev-libs/gmp-4.3.1 [4.2.2-r2] USE="-nocxx (-doc%)" 1,838 kB [0]
[ebuild     U ] sys-devel/gcc-config-1.4.1 [1.4.0-r4] 0 kB [0]
[ebuild     U ] sys-devel/autoconf-wrapper-7 [6] 0 kB [0]
[ebuild     U ] sys-libs/timezone-data-2009m [2008c] USE="nls" 363 kB [0]
[ebuild     U ] app-arch/lzma-utils-4.32.7 [4.32.6] USE="-nocxx" 469 kB [0]
[ebuild     U ] media-libs/freetype-2.3.9-r1 [2.3.7] USE="-X -bindist -debug -doc -fontforge% -utils" 1,332 kB [0]
[ebuild     U ] media-libs/giflib-4.1.6-r1 [4.1.6] USE="-X -rle" 0 kB [0]
[ebuild     U ] sys-kernel/linux-headers-2.6.27-r2 [2.6.23-r3] 3,509 kB [0]
[ebuild     U ] sys-devel/m4-1.4.12 [1.4.11] USE="-examples (-nls%*)" 751 kB [0]
[ebuild     U ] sys-apps/sandbox-1.6-r2 [1.2.18.1-r2] 300 kB [?=>0]
[ebuild     U ] dev-libs/mpfr-2.4.1_p1 [2.3.1] 883 kB [0]
[ebuild     U ] media-libs/libpng-1.2.38 [1.2.26-r1] 514 kB [0]
[ebuild     U ] dev-java/java-config-wrapper-0.16 [0.15] 8 kB [0]
[ebuild  N    ] virtual/acl-0  0 kB [0]
[ebuild     U ] sys-apps/debianutils-3.1.3 [2.28.2] USE="-static" 130 kB [0]
[ebuild     U ] perl-core/Sys-Syslog-0.27 [0.18] 75 kB [?=>0]
[ebuild  N    ] perl-core/Package-Constants-0.01  3 kB [0]
[ebuild  N    ] perl-core/Compress-Raw-Bzip2-2.020  USE="-test" 142 kB [0]
[ebuild     U ] perl-core/Compress-Raw-Zlib-2.020 [2.005] USE="-test%" 208 kB [0]
[ebuild     U ] dev-perl/yaml-0.68 [0.65] 91 kB [0]
[ebuild     U ] virtual/perl-Sys-Syslog-0.27 [0.18] 0 kB [?=>0]
[ebuild  N    ] virtual/perl-ExtUtils-ParseXS-2.18  0 kB [0]
[ebuild  N    ] virtual/perl-Package-Constants-0.01  0 kB [0]
[ebuild  N    ] virtual/perl-Compress-Raw-Bzip2-2.020  0 kB [0]
[ebuild  N    ] virtual/perl-Compress-Raw-Zlib-2.020  0 kB [0]
[ebuild  N    ] perl-core/IO-Compress-2.020  200 kB [0]
[uninstall    ] perl-core/IO-Compress-Base-2.005  [0]
[blocks b     ] perl-core/IO-Compress-Base ("perl-core/IO-Compress-Base" is blocking perl-core/IO-Compress-2.020)
[uninstall    ] perl-core/IO-Compress-Zlib-2.005  [0]
[blocks b     ] perl-core/IO-Compress-Zlib ("perl-core/IO-Compress-Zlib" is blocking perl-core/IO-Compress-2.020)
[ebuild  N    ] virtual/perl-IO-Compress-2.020  0 kB [0]
[ebuild  N    ] virtual/perl-IO-Zlib-1.07  0 kB [0]
[ebuild     U ] perl-core/Archive-Tar-1.40 [1.32] 48 kB [0]
[ebuild  N    ] virtual/perl-Archive-Tar-1.40  0 kB [0]
[ebuild  N    ] virtual/perl-Module-Build-0.28.08  0 kB [0]
[ebuild     U ] perl-core/ExtUtils-CBuilder-0.26.03 [0.19] 28 kB [0]
[ebuild  N    ] virtual/perl-ExtUtils-CBuilder-0.26.03  0 kB [0]
[ebuild     U ] perl-core/File-Spec-3.29 [3.25] 128 kB [0]
[ebuild     U ] virtual/perl-File-Spec-3.29 [3.25] 0 kB [0]
[ebuild     U ] dev-perl/DBI-1.609 [1.601] 499 kB [0]
[ebuild     U ] sys-libs/gpm-1.20.5 [1.20.1-r6] USE="(-selinux)" 1,269 kB [0]
[ebuild     U ] sys-process/procps-3.2.8 [3.2.7] USE="(-n32)" 280 kB [?=>0]
[ebuild     U ] sys-libs/cracklib-2.8.13 [2.8.12] USE="nls python" 580 kB [0]
[ebuild     U ] sys-apps/sed-4.2 [4.1.5-r1] USE="acl%* nls -static" 862 kB [0]
[ebuild     U ] sys-apps/coreutils-7.5-r1 [6.10-r2] USE="acl* nls -caps% -gmp% (-selinux) -static -vanilla -xattr" 9,731 kB [0]
[ebuild     U ] sys-apps/texinfo-4.13 [4.11-r1] USE="nls -static" 1,528 kB [0]
[ebuild     U ] sys-apps/findutils-4.4.0 [4.3.13] USE="nls (-selinux) -static" 1,983 kB [0]
[ebuild     U ] dev-libs/popt-1.14 [1.10.7] USE="nls" 680 kB [?=>0]
[ebuild     U ] dev-libs/libgpg-error-1.7 [1.6] USE="nls" 395 kB [0]
[ebuild     U ] net-dns/libidn-1.15 [1.5-r1] USE="nls -doc -emacs -java -mono" 2,574 kB [0]
[ebuild     U ] app-misc/ca-certificates-20090709 [20080514-r2] 151 kB [0]
[ebuild     U ] net-misc/rsync-3.0.6 [3.0.2] USE="acl* iconv ipv6 -static -xattr (-xinetd%)" 761 kB [0]
[ebuild     U ] dev-libs/libpcre-7.9-r1 [7.7-r1] USE="bzip2* cxx (unicode) zlib -doc -static-libs%" 842 kB [0]
[ebuild     U ] net-misc/whois-4.7.36 [4.7.26] USE="nls" 71 kB [0]
[ebuild     U ] sys-apps/ed-1.0 [0.9] 67 kB [0]
[ebuild  NS   ] sys-libs/db-4.7.25_p4 [1.85-r3, 3.2.9-r11, 4.2.52_p4-r2, 4.3.29_p1-r1, 4.5.20_p2-r1] USE="-doc -java -nocxx -tcl -test" 12,835 kB [0]
[ebuild     U ] sys-libs/pam-1.0.4 [1.0.1] USE="cracklib nls -audit (-selinux) -test -vim-syntax" 982 kB [0]
[ebuild     U ] sys-libs/libcap-2.17 [1.10-r11] USE="pam%* (-python%*)" 48 kB [0]
[ebuild     U ] dev-libs/libxml2-2.7.3-r2 [2.6.32] USE="ipv6 python readline -debug -doc -examples -test (-bootstrap%) (-build%)" 4,678 kB [0]
[ebuild     U ] sys-apps/file-5.03 [4.23] USE="python" 602 kB [0]
[ebuild   R   ] media-libs/ming-0.3.0-r1  USE="perl python -php" 0 kB [0]
[ebuild     U ] dev-python/setuptools-0.6.4 [0.6_rc8-r1] 508 kB [0]
[ebuild     U ] dev-java/java-config-2.1.9-r1 [2.1.6] 56 kB [0]
[ebuild     U ] net-analyzer/net-snmp-5.4.2.1-r1 [5.4.1.1] USE="ipv6 perl python ssl tcpd -X -diskio -doc -elf -extensible -lm_sensors -mfd-rewrites -minimal -rpm (-selinux) -sendmail -smux" 5,064 kB [0]
[ebuild   R   ] dev-libs/libxslt-1.1.24-r1  USE="crypt python -debug -examples" 0 kB [0]
[ebuild  N    ] sys-auth/pam_ssh-1.97-r1  196 kB [0]
[ebuild     U ] sys-auth/pambase-20090620.1-r1 [20080318] USE="cracklib sha512%* ssh%* -consolekit -debug -gnome-keyring -mktemp -passwdqc (-selinux)" 3 kB [0]
[ebuild     U ] sys-apps/shadow-4.1.2.2 [4.0.18.2] USE="cracklib nls pam -audit% (-selinux) -skey (-nousuid%)" 1,658 kB [0]
[ebuild     U ] sys-libs/glibc-2.9_p20081201-r2 [2.6.1] USE="(multilib*) nls -debug -gd -glibc-omitfp (-hardened) -profile (-selinux) -vanilla" 16,621 kB [0]
[ebuild  NS   ] sys-devel/gcc-4.3.4 [4.1.2] USE="fortran mudflap (multilib) nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -gtk (-hardened) -ip28 -ip32r10k (-libffi) -multislot (-n32) (-n64) -nocxx -nopie -objc -objc++ -objc-gc -test -vanilla" 58,060 kB [0]
[ebuild     U ] dev-db/mysql-5.0.84-r1 [5.0.60-r1] USE="berkdb community%* latin1 perl ssl -big-tables -cluster -debug -embedded -extraengine -max-idx-128 -minimal -profiling% (-selinux) -static" 35,973 kB [0]
[ebuild     U ] net-nds/openldap-2.4.19 [2.3.43] USE="berkdb crypt ipv6 perl sasl ssl tcpd -cxx% -debug -experimental% -gnutls% -icu% -iodbc% -kerberos -minimal -odbc -overlays -samba (-selinux) -slp -smbkrb5passwd -syslog% (-gdbm%*)" 5,346 kB [0]
[ebuild     U ] net-misc/openssh-5.2_p1-r3 [4.7_p1-r6] USE="ldap pam tcpd -X -X509 -hpn -kerberos -libedit -pkcs11% (-selinux) -skey -smartcard -static (-chroot%)" 1,100 kB [0]
[ebuild     U ] net-libs/courier-authlib-0.62.4 [0.61.0] USE="berkdb crypt gdbm ldap mysql pam -debug -postgres -vpopmail" 2,125 kB [0]
[ebuild   R   ] sys-process/audit-1.7.3  USE="ldap" 0 kB [0]
[ebuild     U ] net-mail/courier-imap-4.5.0 [4.0.6-r2] USE="berkdb gdbm ipv6 nls -debug -fam -gnutls% (-selinux)" 3,483 kB [?=>0]
[ebuild     U ] dev-libs/cyrus-sasl-2.1.23-r1 [2.1.22-r2] USE="authdaemond berkdb crypt gdbm ldap pam ssl -java -kerberos -mysql -ntlm_unsupported_patch -postgres -sample -sqlite% -srp -urandom" 1,576 kB [?=>0]
[ebuild     U ] mail-mta/postfix-2.6.5 [2.5.3-r1] USE="ipv6 ldap mysql pam sasl ssl vda -cdb -dovecot-sasl -hardened -mbox -nis -postgres (-selinux) (-mailwrapper%*)" 3,260 kB [0]
[ebuild     U ] net-analyzer/fail2ban-0.8.4 [0.8.0-r1] 71 kB [0]

Total: 78 packages (59 upgrades, 14 new, 2 in new slots, 3 reinstalls, 2 uninstalls), Size of downloads: 187,507 kB
Conflict: 2 blocks
Portage tree and overlays:
 [0] /usr/portage
 [?] indicates that the source repository could not be determined


>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 78) sys-devel/gnuconfig-20090203
 * gnuconfig-20090203.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                              [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                             [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                            [ ok ]
 * This profile has not been tested thoroughly and is not considered to be
 * a supported server profile at this time.  For a supported server
 * profile, please check the Hardened project (http://hardened.gentoo.org).

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. This profile should also be used
 * if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this
 * applies to you, then it doesn't and you should probably be using
 * Hardened, instead.

mv: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
 *
 * ERROR: sys-devel/gnuconfig-20090203 failed.
 * Call stack:
 *               ebuild.sh, line 1776:  Called die
 * The specific snippet of code:
 *      preprocess_ebuild_env || \
 *              die "error processing environment"
 *  The die message:
 *   error processing environment
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gnuconfig-20090203/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gnuconfig-20090203/temp/environment'.
 *

>>> Failed to emerge sys-devel/gnuconfig-20090203, Log file:

>>>  '/var/tmp/portage/sys-devel/gnuconfig-20090203/temp/build.log'

 * Messages for package sys-devel/gnuconfig-20090203:

 *
 * ERROR: sys-devel/gnuconfig-20090203 failed.
 * Call stack:
 *               ebuild.sh, line 1776:  Called die
 * The specific snippet of code:
 *      preprocess_ebuild_env || \
 *              die "error processing environment"
 *  The die message:
 *   error processing environment
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gnuconfig-20090203/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gnuconfig-20090203/temp/environment'.
 *

please, anyone can help me for resolve this bad situation?

thanks in advance,
Maurizio


Last edited by pigreco on Fri Nov 06, 2009 4:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
pigreco
Apprentice
Apprentice


Joined: 16 Nov 2005
Posts: 223
Location: Italia

PostPosted: Fri Nov 06, 2009 4:57 pm    Post subject: Reply with quote

I have resolved with a copy of libselinux.so.1 from another system and reinstalled a core_utils,
now I can install

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum