Bug 16238 - Upgrade of kernel-headers is broken.
Summary: Upgrade of kernel-headers is broken.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-08-15 14:30 UTC by Kenneth Topp
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-08-15 14:30:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Kenneth Topp 2000-08-15 14:30:21 UTC
This is an .spec or a document solution, as you cannot rpm -Uvh
kernel-headers from symlink style to the current way in .21.rpm.

The .21.rpm installs following the symlinks in /usr/include, and you get
the following output errors (as well as the error of the files all over the
place)
---
cannot remove /usr/src/linux-2.4.0/include/linux - directory not empty
cannot remove /usr/src/linux-2.4.0/include/asm-i386 - directory not empty
cannot remove /usr/src/linux-2.4.0 - directory not empty
---
I used kernel-headers-2.4.0-0.16.i386.rpm ->
kernel-headers-2.4.0-0.21.i386.rpm to see this, but I'm sure it's valid in
other upgrade situations.

I don't how rpm upgrades operate, but shouldn't rpm's dirs that were
symlinks in older rpms, have in the pre-install:

[ -L /usr/include/asm ] && rm -f /usr/include/asm 
[ -L /usr/include/linux ] && rm -f /usr/include/linux

Comment 1 Michael K. Johnson 2000-08-16 18:57:20 UTC
Fixed in our current internal source tree, thanks!


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