Bug 67935 - errors during install from rpm
Summary: errors during install from rpm
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: setup
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks: 67218 79579
TreeView+ depends on / blocked
 
Reported: 2002-07-04 14:03 UTC by ellson
Modified: 2014-03-17 02:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-02-11 05:47:05 UTC
Embargoed:


Attachments (Terms of Use)

Description ellson 2002-07-04 14:03:54 UTC
Description of Problem:
# rpm -ivh kernel-smp-2.4.18-5.59.i686.rpm
Preparing...                ########################################### [100%]
   1:kernel-smp             ########################################### [100%]
find: /proc/scsi/usb-sto*: No such file or directory
basename: too few arguments
Try `basename --help' for more information.
find: /proc/scsi/usb-sto*: No such file or directory
basename: too few arguments
Try `basename --help' for more information.
fatal error: unable to find a suitable template


Version-Release number of selected component (if applicable):
kernel-smp-2.4.18-5.59.i686.rpm

How Reproducible:


Steps to Reproduce:
1. 
2. 
3. 

Actual Results:


Expected Results:


Additional Information:

Comment 1 ellson 2002-07-05 16:39:41 UTC
Problem still exists, with additional stty errors, in kernel-smp-2.4.18-5.61


rpm -ivh kernel-smp-2.4.18-5.61.i686.rpm
Preparing...                ########################################### [100%]
   1:kernel-smp             ########################################### [100%]
stty: standard input: Invalid argument
stty: standard input: Invalid argument
stty: standard input: Invalid argument
find: /proc/scsi/usb-sto*: No such file or directory
basename: too few arguments
Try `basename --help' for more information.
find: /proc/scsi/usb-sto*: No such file or directory
basename: too few arguments
Try `basename --help' for more information.
fatal error: unable to find a suitable template


Comment 2 Erik Troan 2002-07-08 13:23:39 UTC
what version of mkinitrd are you running?

Comment 3 ellson 2002-07-08 13:37:14 UTC
mkinitrd-3.4.12-1
rawhide-release-20020706-1

Comment 4 Erik Troan 2002-07-08 14:28:37 UTC
Ugh -- think I found it. Could you try fixing this by searching for
"usb-storage" in /sbin/mkinitrd and changing the line:

    if [ -z "$usbHosts" -a /proc/scsi/usb-storage-0 ]; then

to read:

    if [ -z "$usbHosts" -a -d /proc/scsi/usb-storage-0 ]; then

To test this, run "mkinitrd -f /tmp/foo.img $(uname -r)" and see if you get
any error messages. You should before the fix, but not after. Please let me know
if this works.

Comment 5 ellson 2002-07-08 14:52:32 UTC
That fixed the "basename" part of the problem.


root@amber:root# mkinitrd -f /tmp/foo.img $(uname -r)
find: /proc/scsi/usb-sto*: No such file or directory
basename: too few arguments
Try `basename --help' for more information.
find: /proc/scsi/usb-sto*: No such file or directory
basename: too few arguments
Try `basename --help' for more information.
root@amber:root# vi /sbin/mkinitrd
root@amber:root# mkinitrd -f /tmp/foo.img $(uname -r)
root@amber:root#


But I'm still getting error messages from kernel upgrades:

root@amber:rawhide# rpm -Uvh --replacepkgs kernel-smp-2.4.18-5.62.i686.rpm
Preparing...                ########################################### [100%]
   1:kernel-smp             ########################################### [100%]
stty: standard input: Invalid argument
stty: standard input: Invalid argument
stty: standard input: Invalid argument
fatal error: unable to find a suitable template
stty: standard input: Invalid argument
fatal error: unable to find a suitable template
stty: standard input: Invalid argument
fatal error: unable to find a suitable template
stty: standard input: Invalid argument
fatal error: unable to find a suitable template
root@amber:rawhide#




Comment 6 Erik Troan 2002-07-08 17:30:40 UTC
the unable to find a suitable template messages are transitory (from the
mkinitrd failures that occured); still trying to track down the stty stuff

Comment 7 Erik Troan 2002-07-09 20:04:51 UTC
The stty error is coming from /etc/bashrc; changing component to setup

Comment 8 Bill Nottingham 2002-08-21 19:50:12 UTC
I have not seen this anywhere else. How are you installing the kernel (terminal
type, etc.)?

Comment 9 Bill Nottingham 2003-02-11 05:46:37 UTC
closing, lack of input


Note You need to log in before you can comment on or make changes to this bug.