2.2.3 - 2.2.4 upgrade error

Johannes Graumann johannes_graumann at web.de
Tue Jul 6 20:30:47 CEST 2010


Hello,

When trying to upgrade my openpkg 2.2.3 install with the latest release, I 
hit the roadblock documented by the log excerpt below. I have the impression 
that the first problem is
> env: /kolab/bin/pear: No such file or directory
> Channel already exists!
> env: /kolab/bin/pear: No such file or directory
> Could not update channel pear.horde.org!

which is then provokes the followup error
> env: /kolab/bin/pear: No such file or directory
> error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.13894 (%install)
> RPM build errors:
>    Bad exit status from /kolab/RPM/TMP/rpm-tmp.13894 (%install)
> /kolab/RPM/PKG now contains the installed packages.
> Previous contents were moved to /kolab/RPM/PKG....28002

Can anybody help me with this problem?

Sincerely, Joh

:::: /kolab/RPM/PKG/PEAR-Horde-Channel-1.0-20090119.src.rpm ::::
Installing /kolab/RPM/PKG/PEAR-Horde-Channel-1.0-20090119.src.rpm
Executing(%prep): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix 
-e /kolab/RPM/TMP/rpm-tmp.62438
+ cd /kolab/RPM/TMP
+ set +x
+----------------------------------
Warning------------------------------------+
| This OpenPKG package is of class JUNK.                                      
|
| This means it is still in DEVELOPMENT state.                                
|
| Hence it is still NOT ready even for general evaluation.                    
|
| Do not use it at all, except in development environments!                   
|
| It is definitely unstable and incompletely packaged.                        
|
+-----------------------------------------------------------------------------+
+ cd /kolab/RPM/TMP
+ rm -rf PEAR-Horde-Channel-1.0
+ /kolab/lib/openpkg/shtool mkdir -f -p -m 755 -p PEAR-Horde-Channel-1.0
+ cd PEAR-Horde-Channel-1.0
+ exit 0
Executing(%build): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix 
-e /kolab/RPM/TMP/rpm-tmp.62438
+ cd /kolab/RPM/TMP
+ cd PEAR-Horde-Channel-1.0
+ exit 0
Executing(%install): env -i /kolab/lib/openpkg/bash --norc --noprofile --
posix -e /kolab/RPM/TMP/rpm-tmp.62438
+ cd /kolab/RPM/TMP
+ cd PEAR-Horde-Channel-1.0
+ rm -rf /kolab/RPM/TMP/PEAR-Horde-Channel-1.0-root
+ mkdir -p /kolab/RPM/TMP/PEAR-Horde-Channel-1.0-root/kolab/var/pear
+ install -m 644 /kolab/RPM/SRC/PEAR-Horde-Channel/pear.horde.org.xml 
/kolab/RPM/TMP/PEAR-Horde-Channel-1.0-root/kolab/var/pear
+ /kolab/lib/openpkg/rpmtool files -v -ofiles -r/kolab/RPM/TMP/PEAR-Horde-
Channel-1.0-root '%defattr(-,kolab,kolab)' /kolab '%not %dir 
{/kolab,/kolab/*,/kolab/etc/rc.d,/kolab/man/*}'
rpmtool:files: pass 1 (preparation and syntactical expansions)
rpmtool:files: pass 2 (filesystem-based expansions)
rpmtool:files: pass 3 (duplication removal and cleanup)
+ exit 0
Processing files: PEAR-Horde-Channel-1.0-20090119
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: php php::with_pear = yes
Obsoletes: php-channel-horde
Wrote: /kolab/RPM/PKG/PEAR-Horde-Channel-1.0-20090119.ix86-debian-kolab.rpm
Executing(%clean): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix 
-e /kolab/RPM/TMP/rpm-tmp.62438
+ cd /kolab/RPM/TMP
+ cd PEAR-Horde-Channel-1.0
+ rm -rf /kolab/RPM/TMP/PEAR-Horde-Channel-1.0-root
+ exit 0
Executing(--clean): env -i /kolab/lib/openpkg/bash --norc --noprofile --
posix -e /kolab/RPM/TMP/rpm-tmp.62438
+ cd /kolab/RPM/TMP
+ rm -rf PEAR-Horde-Channel-1.0
+ exit 0
Preparing...                
##################################################
PEAR-Horde-Channel          
##################################################
env: /kolab/bin/pear: No such file or directory
Channel already exists!
env: /kolab/bin/pear: No such file or directory
Could not update channel pear.horde.org!
:::: /kolab/RPM/PKG/PEAR-Horde-Channel-1.0-20090119.src.rpm = 0 ::::
:::: /kolab/RPM/PKG/Horde_Util-0.1.0-20081209.src.rpm ::::
Installing /kolab/RPM/PKG/Horde_Util-0.1.0-20081209.src.rpm
Executing(%prep): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix 
-e /kolab/RPM/TMP/rpm-tmp.13894
+ cd /kolab/RPM/TMP
+ set +x
+----------------------------------
Warning------------------------------------+
| This OpenPKG package is of class JUNK.                                      
|
| This means it is still in DEVELOPMENT state.                                
|
| Hence it is still NOT ready even for general evaluation.                    
|
| Do not use it at all, except in development environments!                   
|
| It is definitely unstable and incompletely packaged.                        
|
+-----------------------------------------------------------------------------+
+ cd /kolab/RPM/TMP
+ rm -rf Util-0.1.0
+ /kolab/lib/openpkg/gzip -dc /kolab/RPM/SRC/Horde_Util/Util-0.1.0.tgz
+ /kolab/lib/openpkg/tar -xvvf -
-rw-r--r-- 500/100        5035 2008-09-25 11:41 package.xml
-rw-r--r-- 500/100        1613 2008-09-25 11:41 
Util-0.1.0/tests/Array_sort.phpt
drwxr-xr-x                  Creating directory: Util-0.1.0
drwxr-xr-x                  Creating directory: Util-0.1.0/tests
-rw-r--r-- 500/100         664 2008-09-25 11:41 
Util-0.1.0/tests/Variables_remove.phpt
-rw-r--r-- 500/100        1202 2008-09-25 11:41 
Util-0.1.0/tests/addParameter.phpt
-rw-r--r-- 500/100         882 2008-09-25 11:41 Util-0.1.0/tests/case.phpt
-rw-r--r-- 500/100         575 2008-09-25 11:41 
Util-0.1.0/tests/case_php6.phpt
-rw-r--r-- 500/100         356 2008-09-25 11:41 Util-0.1.0/tests/length.phpt
-rw-r--r-- 500/100        1551 2008-09-25 11:41 Util-0.1.0/tests/pad.phpt
-rw-r--r-- 500/100         756 2008-09-25 11:41 
Util-0.1.0/tests/removeParameter.phpt
-rw-r--r-- 500/100        1582 2008-09-25 11:41 Util-0.1.0/tests/utf-8.phpt
-rw-r--r-- 500/100        9652 2008-09-25 11:41 Util-0.1.0/Array.php
-rw-r--r-- 500/100       24747 2008-09-25 11:41 Util-0.1.0/String.php
-rw-r--r-- 500/100       31446 2008-09-25 11:41 Util-0.1.0/Util.php
-rw-r--r-- 500/100        7564 2008-09-25 11:41 Util-0.1.0/Variables.php
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Util-0.1.0
+ exit 0
Executing(%build): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix 
-e /kolab/RPM/TMP/rpm-tmp.13894
+ cd /kolab/RPM/TMP
+ cd Util-0.1.0
+ exit 0
Executing(%install): env -i /kolab/lib/openpkg/bash --norc --noprofile --
posix -e /kolab/RPM/TMP/rpm-tmp.13894
+ cd /kolab/RPM/TMP
+ cd Util-0.1.0
+ env 'PHP_PEAR_PHP_BIN=/kolab/bin/php -d safe_mode=off -d memory_limit=40M' 
PHP_PEAR_CACHE_DIR=/tmp/pear/cache /kolab/bin/pear install --offline --force 
--nodeps -P /kolab/RPM/TMP/Horde_Util-0.1.0-root 
/kolab/RPM/SRC/Horde_Util/Util-0.1.0.tgz
env: /kolab/bin/pear: No such file or directory
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.13894 (%install)


RPM build errors:
    Bad exit status from /kolab/RPM/TMP/rpm-tmp.13894 (%install)
/kolab/RPM/PKG now contains the installed packages.
Previous contents were moved to /kolab/RPM/PKG....28002




More information about the users mailing list