* Can't install kernel source
@ 2002-10-09 19:49 Eugene Chu
0 siblings, 0 replies; 7+ messages in thread
From: Eugene Chu @ 2002-10-09 19:49 UTC (permalink / raw)
To: axp-list
Hi Folks,
I have a strange problem I hope someone can point me to the right
direction.
I have a couple of UP2000+ systems identically configured, and installed
RH 7.2 (kernel 2.4.9-32.5smp) the same way. I was able to rpm -i the
kernel-source-2.4.9-32.5 package on one of them, but the other does
nothing when i execute the same command:
rpm -i kernel-source-2.4.9-32.5.rpm
I was able to add other packages with no problems, but I can't add this
one for some reason. I was able to do it on the first system a couple of
weeks ago.
Any ideas?
eyc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Can't install kernel source
@ 2002-10-09 20:30 Robert M. Riches Jr.
0 siblings, 0 replies; 7+ messages in thread
From: Robert M. Riches Jr. @ 2002-10-09 20:30 UTC (permalink / raw)
To: axp-list
> From: chu@tes-mail.jpl.nasa.gov (Eugene Chu)
> Date: Wed, 9 Oct 2002 12:49:23 -0700 (PDT)
>
> I have a strange problem I hope someone can point me to the right
> direction.
>
> I have a couple of UP2000+ systems identically configured, and installed
> RH 7.2 (kernel 2.4.9-32.5smp) the same way. I was able to rpm -i the
> kernel-source-2.4.9-32.5 package on one of them, but the other does
> nothing when i execute the same command:
>
> rpm -i kernel-source-2.4.9-32.5.rpm
>
> I was able to add other packages with no problems, but I can't add this
> one for some reason. I was able to do it on the first system a couple of
> weeks ago.
>
> Any ideas?
Here are a couple, spoken by a non-expert:
Are you sure the systems are entirely identical in the
installed packages? How about doing a "rpm -qa | sort"
on both systems and comparing the results?
When you do that 'rpm' command, is there _no_ response
at all? Any text it prints back might be useful.
Also, it might be useful to do a "rpm -Va" on both
systems and compare the results.
Robert Riches
rm.riches@verizon.net
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Can't install kernel source
@ 2002-10-10 1:58 Eugene Chu
2002-10-10 12:52 ` Rich Payne
0 siblings, 1 reply; 7+ messages in thread
From: Eugene Chu @ 2002-10-10 1:58 UTC (permalink / raw)
To: axp-list
"Robert M. Riches Jr." wrote:
>Are you sure the systems are entirely identical in the
>installed packages? How about doing a "rpm -qa | sort"
>on both systems and comparing the results?
Well, there are a couple other rpms I added on the first system that
I did not add to the second. They were the results of my scrambling
for rpms when I was trying to install xemacs (Wnn and Canna libraries
and development packages). I do not believe they would have caused the
kernel source rpm to not install. But I will add them to the second
system to see if it makes any difference.
>When you do that 'rpm' command, is there _no_ response
>at all? Any text it prints back might be useful.
When I do rpm -i kernel... it sits there for a few seconds and then
comes back with no messages at all. I'll try again with verbose mode.
>Also, it might be useful to do a "rpm -Va" on both
>systems and compare the results.
I'll try this as well. I can't get to the machine right now (locked
room, no network connections...)
thanks for the reply,
eyc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Can't install kernel source
2002-10-10 1:58 Eugene Chu
@ 2002-10-10 12:52 ` Rich Payne
0 siblings, 0 replies; 7+ messages in thread
From: Rich Payne @ 2002-10-10 12:52 UTC (permalink / raw)
To: axp-list
On Wed, 9 Oct 2002, Eugene Chu wrote:
>
> When I do rpm -i kernel... it sits there for a few seconds and then
> comes back with no messages at all. I'll try again with verbose mode.
Do an 'rpm -ivh kernel-....rpm'. If I use just an '-i' here on 7.1 it does
exactly as you describe but it does install the RPM.
--rdp
--
Rich Payne
http://talisman.mv.com
rdp at talisman dot mv dot com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Can't install kernel source
@ 2002-10-11 17:57 Eugene Chu
2002-10-12 0:57 ` Igor Schein
2002-10-14 16:30 ` Helge Kreutzmann
0 siblings, 2 replies; 7+ messages in thread
From: Eugene Chu @ 2002-10-11 17:57 UTC (permalink / raw)
To: axp-list
Thanks for all the responses so far, but I am still unable to install
the kernel source rpm.
Here's what has transpired so far with various suggestions:
Date: Wed, 9 Oct 2002 13:30:02 -0700
From: "Robert M. Riches Jr." <rm.riches@verizon.net>
>Are you sure the systems are entirely identical in the installed
>packages? How about doing a "rpm -qa | sort" on both systems and
>comparing the results?
>Also, it might be useful to do a "rpm -Va" on both systems and compare
>the results.
The two systems are not on the same network, so I can not easily diff
these outputs until I can get the output of one onto the other. I'll
have to figure out how to use the floppy.
Date: Wed, 9 Oct 2002 22:22:00 -0600
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
>Sounds like something funny happened to your rpm database. Did you try
>'rpm --rebuilddb'? If this will not fix things (takes a while) then you
>can try more radical 'db_dump' with piping results to 'db_load' which
>stores that in a _copy_ of your database to be reused later.
I did that, and the install attempt still did nothing.
>Depending on a version of db used by your rpm and what is installed
>on your machine you may need to "custom fit" variants. Type in
>bash 'db<TAB>' to see what you have on hands.
Can you elaborate on this? Where am I supposed to run this command?
I usually get "No such file or directory" when I try this.
Date: Thu, 10 Oct 2002 08:52:04 -0400 (EDT)
From: Rich Payne <rdp@talisman.mv.com>
>Do an 'rpm -ivh kernel-....rpm'. If I use just an '-i' here on 7.1 it
>does exactly as you describe but it does install the RPM.
Date: Thu, 10 Oct 2002 16:25:48 +0200 (MET DST)
From: "F. Winter" <winter@PHYSnet.uni-hamburg.de>
>Just try using rpm -ivh for a more informative output. Indeed rpm -i
>does not produce any output.
When I do this, I get the hash blocks from the unpacking; it goes from
0% to 100%, then ends with nothing else happening. On the other system
where this worked, I get the same hash blocks, and then it goes through
and does some things, and then I have a directory full of stuff in
/usr/src/linux-2.4.9-32.5. Is there a default directory that rpm tries
to unpack to? How about a way to keep those files around so I can see
what actually got unpacked on both systems?
I've even re-installed RH 7.2 on this machine that would not take the
kernel source rpm. This is from the same set of disks that was used to
install the other system that worked.
I've a feeling I'm doing something stupid that's causing this, but I'm
running out of time messing with it. I'm going to have to physically
swap some hardware so we can proceed with our work, and work on the
problem when I have some time next week. I am tempted to replicate the
disk on the system that has the kernel rpm installed onto the one that
would not install. Will a machine boot off of such a replicated disk?
Now let me ask another question which goes to the original intention of
this exercise. We lost an Alphastation 250-4/266 when its hardware
died for unknown reasons, and there was a lot of data on there that we
needed. They were on disk partitions created with ufs and Advfs under
Tru64 UNIX 5.0. I see in the kernel configurator for RH 7.2/Alpha that
there is an option to read Advfs partitions and ufs. Is it actually
possible to read these disks from RH 7.2/Alpha? So far, the kernel can
not seem to recognize them, which is why I wanted to reconfigure it in
the first place. This needed the kernel source, which would not
install on the system that was physically co-located with the AS 250
that died.
Again, thanks for any assistance.
eyc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Can't install kernel source
2002-10-11 17:57 Can't install kernel source Eugene Chu
@ 2002-10-12 0:57 ` Igor Schein
2002-10-14 16:30 ` Helge Kreutzmann
1 sibling, 0 replies; 7+ messages in thread
From: Igor Schein @ 2002-10-12 0:57 UTC (permalink / raw)
To: axp-list
On Fri, Oct 11, 2002 at 10:57:34AM -0700, Eugene Chu wrote:
> Thanks for all the responses so far, but I am still unable to install
> the kernel source rpm.
do 'strace -f rpm -i *.rpm' and see what it does. Maybe db file is
corrupted and you need to rebuild it.
Igor
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Can't install kernel source
2002-10-11 17:57 Can't install kernel source Eugene Chu
2002-10-12 0:57 ` Igor Schein
@ 2002-10-14 16:30 ` Helge Kreutzmann
1 sibling, 0 replies; 7+ messages in thread
From: Helge Kreutzmann @ 2002-10-14 16:30 UTC (permalink / raw)
To: axp-list
[-- Attachment #1: Type: text/plain, Size: 655 bytes --]
Hello !
Would it not be possible to install a kernel by hand, without rpm by
simply pulling it off ftp.us.kernel.org ? Since a kernel does not
install many files (i.e. they are located in clearly visible places)
you should be able to remove the later on easily once the
kernel-rpm-issue is solved.
Greetings
Helge
--
Helge Kreutzmann, Dipl.-Phys. Helge.Kreutzmann@itp.uni-hannover.de
gpg signed mail preferred gpg-key: finger kreutzm@rigel.itp.uni-hannover.de
64bit GNU powered http://www.itp.uni-hannover.de/~kreutzm
Help keep free software "libre": http://www.freepatents.org/
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-10-14 16:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-11 17:57 Can't install kernel source Eugene Chu
2002-10-12 0:57 ` Igor Schein
2002-10-14 16:30 ` Helge Kreutzmann
-- strict thread matches above, loose matches on Subject: below --
2002-10-10 1:58 Eugene Chu
2002-10-10 12:52 ` Rich Payne
2002-10-09 20:30 Robert M. Riches Jr.
2002-10-09 19:49 Eugene Chu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox