Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115310 - Semi-automatically re-emerging kernel-dependant packages
Summary: Semi-automatically re-emerging kernel-dependant packages
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-12 07:42 UTC by Lutz Lehmann
Modified: 2005-12-12 07:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
batch script to be run by root that re-emerges those _installed_ packages that die when updating the kernel (update-kernel-deps.sh,444 bytes, application/x-shellscript)
2005-12-12 07:46 UTC, Lutz Lehmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lutz Lehmann 2005-12-12 07:42:41 UTC
There are several packages that need re-emerging after updating or    
reconfiguring your kernel, such as x11-drm, [ati|nvidia]-drivers, captive,   
ndiswrapper, and possibly others. I usually forget to re-emerge those and   
wonder why my system keeps bugging me one way or the other.   
   
Manually emerging all needed packages is not a prefered way as one can forget  
packages that actually need to be rebuilt.  
  
  

Reproducible: Always
Steps to Reproduce:
1. rebuild kernel  
2. reboot 
3. watch error messages flying by :)
Comment 1 SpanKY gentoo-dev 2005-12-12 07:46:23 UTC
emerge sys-kernel/module-rebuild
Comment 2 Lutz Lehmann 2005-12-12 07:46:25 UTC
Created attachment 74579 [details]
batch script to be run by root that re-emerges those _installed_ packages that die when updating the kernel

batch script to be run by root that re-emerges those _installed_ packages that
die when updating the kernel
Comment 3 Lutz Lehmann 2005-12-12 07:57:31 UTC
(In reply to comment #1)  
> emerge sys-kernel/module-rebuild  
  
sorry, didn't find that one. 
 
actually, it doesn't do all I need, does it?  
 
nx6110 ~ # module-rebuild list 
** Packages which I will emerge are: 
        =media-libs/svgalib-1.9.21-r1 
        =net-wireless/ndiswrapper-1.5 
        =sys-fs/fuse-2.4.1-r1 
nx6110 ~ #                      
 
what about x11-drm and captive? 
 
nx6110 ~ # module-rebuild populate 
** Module already exists in moduledb. 
** Setting media-libs/svgalib-1.9.21-r1; rebuild=1. 
** Module already exists in moduledb. 
** Setting net-wireless/ndiswrapper-1.5; rebuild=1. 
** Module already exists in moduledb. 
** Setting sys-fs/fuse-2.4.1-r1; rebuild=1. 
** Adding x11-base/x11-drm-20050502 to moduledb. 
** Adding x11-base/x11-drm-20051028 to moduledb. 
nx6110 ~ # module-rebuild list 
** Packages which I will emerge are: 
        =media-libs/svgalib-1.9.21-r1 
        =net-wireless/ndiswrapper-1.5 
        =sys-fs/fuse-2.4.1-r1 
        =x11-base/x11-drm-20050502 
        =x11-base/x11-drm-20051028 
nx6110 ~ # 
 
we won't install both versions of drm, do we?!?