1748054 Members
4833 Online
108758 Solutions
New Discussion юеВ

Re: apt4rpm

 
Ross Minkov
Esteemed Contributor

apt4rpm

Hi,

I'm using apt4rpm to automate monthly patching of Red Hat ProLiant servers.

How do I install (rpm -i) a new kernel using apt-get? If I use "apt-get install" or "apt-get upgrade" it will upgrade it instead. I want to install it so I can preserve the old kernel.

TIA,
Ross
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: apt4rpm

either methodology will preserve the old kernel.

I do a straight install on kernels.

The install process does this:

Installs the thing.
updates the grub.conf file and makes that kernel the default boot kernel.

So install is the way to go there.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: apt4rpm

Can you post a link and some doc. I've heard about this methodology and am eager to learn more about it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Cuitlahuac
Advisor

Re: apt4rpm

I do not use Red Hat but I am using this to upgrade my kernel, may be is useful for you

http://www.desktop-linux.net/debkernel.htm
Ross Minkov
Esteemed Contributor

Re: apt4rpm


Here are some links for those who want to learn more about apt4rpm.

http://apt4rpm.sourceforge.net/

http://freshmeat.net/articles/view/192/

SEP wrote:
> either methodology will preserve the old kernel.

If I use "apt-get install kernel" or "apt-get upgrade" it installs the new kernel but deletes the old kernel. Again, my question is how do you use apt-get to install the new kernel and keep the old one.

TIA,
Ross
Steven E. Protter
Exalted Contributor

Re: apt4rpm

Because this technology is using rpm packageing, which I am very familiar with from my Red Hat experience, I am confident that the old kernel will be left in place in either scenario.

I've gone through the two links, and say that now because it uses the rpm system. The rpm system leaves old kernels in place. They get left there when you use up2date, they get left there when you use yum.

The only ways to get rid of old kernels in the rpm system is to manually remove the components and edit the files or use the rpm -e on the kernel you want to dissappear.

I recommend the install option. I also recommend a system backup before any work of this kind. The doc did not say it, but they easily could have written an rpm -e statement into either process.

Thanks for posting the documentation.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ross Minkov
Esteemed Contributor

Re: apt4rpm

newer version solved my problem. thanks all.