It's possible to let apt take care of executing the correct boot manager, etc after downloading/installing a kernel package via a postinstall script: Answer 29: http://apt4rpm.sourceforge.net/faq.html#q29 How do to execute a post install script from apt-get? This requires a change to apt.conf file and a wrapper around rpm. First add the following lines to apt.conf: Dir { bin { rpm "/usr/bin/aptrpm"; }; }; SystemConfig { KernelPkg k_deflt; BootMgr /sbin/lilo; } This will execute the script /usr/bin/aptrpm instead of /bin/rpm. In this script all kind of actions can be programmed. The actions can be made configurable by adding more attributes to the apt.conf file. This is just an example, it is up to your fantasy to do whatever you want it to. If you think it is interesting for others, please let us know, we can make it part of the apt4rpm project! Get the a working script (aptrpm-1) and explaination (README) from: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/apt4rpm/apt4rpm/client/ And there is a warning for this phenomenom in the apt for suse webpage: Pay attention to the packages being upgraded. If a kernel rpm (e.g. k_deflt, k_psmp, k_i386, k_*, etc) is to be updated you must execute mk_initrd and lilo. If you forget to run these 2, your system won't come up next time it's booted! If you like, you can configure APT to execute the before mentioned tools as explained here. Or use the possibility to prevent that certain rpms are to be updated, see below for more info. Op maandag 2 september 2002 13:32, schreef Richard:
Today I used apt-get to update my suse 8.0 instalation. All went well until I rebooted later. LILO didnt work. It stopped on L. Fortunately I remembered doing the update so I figured that was the culprit. It was.
After booting an installed system with a floppy, I simply went to a term window as su and ran lilo.
Moral, save yourself some heartache. After an update either run lilo or have a boot disk handy so you can recover without spending a day trying to make the disks through windows. ra
-- Richard Bos Without a home the journey is endless