Bilgehan Poyraz wrote:
When I run the update script getting below error.Have you any idea?
Issuing command: qtp-newmodel
qtp-newmodel v0.3.15 starting Fri Jun 4 09:50:02 EEST 2010
qtp-whatami v0.3.6
DISTRO=CentOS
OSVER=5.4
QTARCH=i686
QTKERN=2.6.18-164.15.1.el5
BUILD_DIST=cnt50
BUILD_DIR=/usr/src/redhat
This machine's OS is supported and has been tested
Let's get on with it!
The following packages have already been selected:
squirrelmail-toaster-1.4.20-1.3.17.src.rpm
clamav-toaster-0.96.0-1.3.35.src.rpm
Do you want to process this selection?
Shall we continue? (yes, no|skip, batch, quit) [y] / n|s / b / q : b
Getting source packages ...(this may take a while)
squirrelmail-toaster-1.4.20-1.3.17.src.rpm is already downloaded, bypassed
clamav-toaster-0.96.0-1.3.35.src.rpm is already downloaded, bypassed
qtp-newmodel - updating toaster (mostly spamassassin) dependencies ...
Loaded plugins: fastestmirror
Determining fastest mirrors
* addons: mirror.vit.com.tr
* base: mirror.vit.com.tr
* extras: mirror.vit.com.tr
* updates: mirror.vit.com.tr
addons | 951 B 00:00
addons/primary | 202 B 00:00
base | 1.1 kB 00:00
base/primary | 920 kB 00:04
base
2599/2599
extras | 2.1 kB 00:00
qtp-nodist | 951 B 00:00
updates | 1.9 kB 00:00
updates/primary_db | 142 kB 00:02
Setting up Update Process
Error: No Package Matching perl(Archive::Tar)
Shall we build a new sandbox at /mnt/qtp-sandbox? [y]/n: Running in
background, replied 'yes'
Removing sandbox at /mnt/qtp-sandbox ...
qtp-umount-sandbox v0.3.2
qtp-umount-sandbox: sandbox not mounted
Would you like a unionfs/overlay sandbox? (recommended) [y]/n: Running
in background, replied 'yes'
Using FUSE union filesystem ...
qtp-mount-sandbox v0.3.3
qtp-mount-sandbox - updating dependencies ...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.vit.com.tr
* base: mirror.vit.com.tr
* extras: mirror.vit.com.tr
* rpmforge: apt.sw.be
* updates: mirror.vit.com.tr
qtp-CentOS | 951 B 00:00
rpmforge | 1.1 kB 00:00
rpmforge/primary | 3.8 MB 01:02
rpmforge
10436/10436
Setting up Update Process
No Packages marked for Update
qtp-mount-sandbox: sandbox mounted successfully
Starting to build the binary rpms ...(pizza anyone?)
If you want to view compile messages, you can open another terminal and:
# tail -f /mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
qtp-build-rpms v0.3.5
qtp-remove-pkgs v0.3.1
Building squirrelmail-toaster-1.4.20-1.3.17 ...
qtp-build-rpms - rpmbuild failed for squirrelmail-toaster-1.4.20-1.3.17
qtp-build-rpms - here are the last 10 messages from the log:
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.75838
+ umask 022
+ cd /usr/src/redhat/BUILD
/var/tmp/rpm-tmp.75838: line 23: cd: /usr/src/redhat/BUILD: No such file
or directory
error: Bad exit status from /var/tmp/rpm-tmp.75838 (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.75838 (%prep)
<end of log messages>
qtp-build-rpms - see
/mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log for more details
Build failed, Exiting.
--- Hit ENTER to return to menu ---
* *
*Bilgehan POYRAZ
Software Engineer
Logicom Bilgi Teknolojileri Dagitim Ltd. Sti.
Member of the Logicom Group*
*Tel: +90 212 276 2720
Fax: +90 212 276 2750***
*CA_Banner*
*URL: www.logicom-group.com <http://www.logicom-group.com/>*
P Please consider the environment. Do you really need to print this email?
Here's the pertinent part:
/var/tmp/rpm-tmp.75838: line 23: cd: /usr/src/redhat/BUILD: No such file
or directory
That directory is part of the rpm-build package.
If the package is not installed, install it.
If the package is installed but the directory does not exist, re-install
the package.
If the package is installed and the directory exists, then something
weird is going on.
Let us know which.
In any case, when you rerun qtp-newmodel after fixing the problem,
choose to use a fresh sandbox.
--
-Eric 'shubes'
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com