On May 6, 2008, at 2:40 PM, Eric Shubert wrote:

Jim Bassett wrote:
I'm trying to upgrade an old QMT to QTP and ran into a little trouble.
Here's the end of the output from qtp-newmodel where it fails:

[...snip...]

Would you like a unioned sandbox (quicker, smaller) [y]/n: y

Using union filesystem ...
qtp-mount-sandbox v0.3
--No existing unionfs115 found.  Continuing with build process
--Testing for valid rpm install tool:
yum -y install found!

--Searching for valid kernel source/devel to build unionfs115:
--Looking at current kernel
--You have no installed kernel source!
--Installing

--Installing the most current kernel source
Setting up Install Process
Setting up repositories
rpmforge 100% |=========================| 1.1 kB 00:00 update 100% |=========================| 951 B 00:00 qmailtoaster-plus 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kernel-smp-devel to pack into transaction set. kernel-smp-devel-2.6.9-67 100% |=========================| 755 kB 00:00 ---> Package kernel-smp-devel.x86_64 0:2.6.9-67.0.7.EL set to be updated
--> Running transaction check

Dependencies Resolved

= = = = = = = = =====================================================================

Package Arch Version Repository Size = = = = = = = = =====================================================================

Installing:
kernel-smp-devel        x86_64     2.6.9-67.0.7.EL  update
3.8 M

Transaction Summary
= = = = = = = = =====================================================================

Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 3.8 M
Downloading Packages:
(1/1): kernel-smp-devel-2 100% |=========================| 3.8 MB 00:04
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: kernel-smp-devel ######################### [1/1]

Installed: kernel-smp-devel.x86_64 0:2.6.9-67.0.7.EL
Complete!

--Checking if install process went okay
--Install process failed!!
--Please install manually and reboot to latest kernel release before retry!
qtp-build-unionfs failed, Exiting!

qtp-newmodel - qtp-mount-sandbox failed, exiting

[...end...]


My questions are: Did this actually install a new kernal?

No, it installed the kernel development package. The kernel-dev package contains kernel headers, which are part of the kernel source, used when
compiling kernel modules.

If I reboot the machine will I be running the new kernal?

No, as there's no new kernel installed.

What does 'Please install
manually' mean (is this referring to the kernal? maybe the new kernal is
not really installed and I have to do it manually through yum before
rebooting?)

This sorta looks like a bug of some sort to me. The yum install seemed to go
ok, but the script doesn't appear to think so.

What if I do qtp-newmodel again and this time say 'no' when
it asks if I want a 'unioned sandbox'?

That would allow you to pick a copied or linked sandbox, either one of which
should work. Both will take a bit of time, and a copied sandbox takes
considerable (2G+) disk space.

Might that make it install
without updating the kernal?

Yes. There are no kernel modules involved with a linked or copied sandbox,
only a unionfs one.

I'm just always a little nervous to install
new things and reboot - should I get over this?

No, rebooting is very rarely necessary. Or at least should be.

Sorry for my confusion. Thanks so much for any help!

No problem.

I'm a bit curious why the script chose to install the kernel-smp-devel
package. Are you running the smp kernel? What does
# uname -a
show? Also,
# rpm -qa | grep kernel
?


--
-Eric 'shubes'


Thanks for the response Eric!

# uname -a
Linux server1.example.com 2.6.9-22.0.2.ELsmp #1 SMP Tue Jan 17 06:12:06 CST 2006 x86_64 x86_64 x86_64 GNU/Linux

# rpm -qa | grep kernel
kernel-2.6.9-22.EL
kernel-utils-2.4-13.1.69
kernel-smp-2.6.9-22.0.2.EL
kernel-smp-2.6.9-22.EL
kernel-smp-devel-2.6.9-67.0.7.EL
kernel-2.6.9-22.0.2.EL

I tried qtp-newmodel again with a unioned sandbox and it failed in exactly the same way. Then I did qtp-newmodel again, this time with a linked sandbox. This got much further but then failed when trying to update some perl stuff:

Transaction Check Error: file /usr/share/man/man3/ MIME::Base64.3pm.gz from install of perl-MIME-Base64-3.07-1.el4.rf conflicts with file from package perl-5.8.5-24.RHEL4 file /usr/share/man/man3/MIME::QuotedPrint.3pm.gz from install of perl-MIME-Base64-3.07-1.el4.rf conflicts with file from package perl-5.8.5-24.RHEL4 file /usr/share/man/man3/DB_File.3pm.gz from install of perl- DB_File-1.817-1.el4.rf conflicts with file from package perl-5.8.5-24.RHEL4
qtp-newmodel - installation of dependent packages failed, exiting



I remember some posts on the list about Perl dependencies so I'm going to go look for those now. Of course any pointers would be welcome.

Really appreciate all the help,
Jim



---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to