Bug 25368 - Upgrade problem
Summary: Upgrade problem
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda
Version: 7.0
Hardware: i386
OS: Linux
high
high
Target Milestone: ---
Assignee: Michael Fulbright
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-01-31 05:29 UTC by Need Real Name
Modified: 2005-10-31 22:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-02-01 16:35:35 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2001-01-31 05:29:14 UTC
While upgrading from Redhat 6.2 to 7.0 the installation produce the 
following.  I cannot get the system to boot because of this. HELP!

-------

Traceback (innermost last):
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/iw/progress_gui.py", 
line 20, in run
    rc = self.todo.doInstall ()
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/todo.py", line 1732, in 
doInstall
    self.upgrade)
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/lilo.py", line 247, in 
install
    instRoot + '/etc/lilo.conf.rpmsave')
OSError: [Errno 1] Operation not permitted

Local variables in innermost frame:
self: <lilo.LiloConfiguration instance at 8426de8>
fstab: <fstab.GuiFstab instance at 83ae050>
lilo: boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux

image=/boot/vmlinuz-2.2.14-6.1.1smp
	label=linux
	read-only
	root=/dev/hda5

image=/boot/vmlinuz-2.2.14-6.1.1
	label=linux-up
	read-only
	root=/dev/hda5

perms: 384
upgrade: 1
hdList: <comps.HeaderListFromFile instance at 84a0a80>
instRoot: /mnt/sysimage

ToDo object:
(itodo
ToDo
p1
(dp2
S'method'
p3
(iimage
CdromInstallMethod
p4
(dp5
S'currentDisc'
p6
I2
sS'tree'
p7
S'/mnt/source'
sS'device'
p8
S'hdc'
sS'progressWindow'
p9

<failed>

Comment 1 Michael Fulbright 2001-01-31 18:22:19 UTC
Do you have the emergency boot floppy that the installer allows you to create?

Comment 2 Need Real Name 2001-01-31 19:09:00 UTC
Yes, to both your questions.

However, I solved the problem.

Due to security concerns, I had chattr the file /etc/lilo.conf.

chattr +i lilo.conf

so the install script couldn't update the kernel info in /etc/lilo.conf

When I chattr -i lilo.conf and re-upgraded everything seemed to work
alright.

Shame that the install script doesn't check the attributes of the files it
is trying to write to and issue warnings/error messages.

RPM under 6.2. didn't warn about this either.  This was actually where my probs
began.  I was trying to upgrade the kernel.

Cheers!
Craig





Comment 3 Michael Fulbright 2001-02-01 16:35:30 UTC
Ok glad you were able to resolve your problem.


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