LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   upgrading iptables in Slack 10 (https://www.linuxquestions.org/questions/slackware-14/upgrading-iptables-in-slack-10-a-304305/)

linuxhippy 03-21-2005 09:35 AM

upgrading iptables in Slack 10
 
I downloaded Slack 10.1 and saw from the main cd 1 boot screen that I could upgrade my installed Slack 10 by mounting my Slack partition, chmod, pkgtool-remove packages...I think. Then choose upgrade?

Now, if I have to remove all installed packages to upgrade-that's a pain since pkgtool doesn't show packages I had to build from source. I'm thinking that I upgraded my kernel to 2.4.29 and now I'd like to upgrade my IP tables from the 10.1 cd.

So, could I removed my IP tables package if I boot off the Slack 10.1 cd and then install the new IP tables from that cd?

keefaz 03-21-2005 09:53 AM

You could boot from the CD #2 (login as root), locate the iptables package, then
do the following commands :
(say your root partition is /dev/hda1)

mount /dev/hda1 /mnt/hd
cp iptables-xxx.tgz /mnt/hd/tmp
chroot /mnt/hd
cd /tmp
upgradepkg iptables-xxx.tgz
exit
reboot
(do no forget to eject the cd before boot)

[edit]
I followed your wish to boot from a CD, to upgrade iptables you don't need
to boot from a CD

linuxhippy 03-21-2005 11:55 AM

Do I need to remove my old iptable package first for an upgrade...probably not?

slackie1000 03-21-2005 12:16 PM

Quote:

Originally posted by linuxhippy
Do I need to remove my old iptable package first for an upgrade...probably not?
indeed...
you don't need to remove.

regards

slackie1000

linuxhippy 03-21-2005 04:52 PM

The recommended method worked well, with 3 modifications for future users:

You could boot from the CD #1 (login as root), locate the iptables package, then
do the following commands :
(say your root partition is /dev/hda1)

cd /mnt
mkdir hd
mount /dev/hda1 /mnt/hd
cp iptables-xxx.tgz /mnt/hd/tmp
chroot /mnt/hd
cd /tmp
upgradepkg iptables-xxx.tgz
exit
reboot
(do no forget to eject the cd before boot)

[edit]
I followed your wish to boot from a CD, to upgrade iptables you don't need
to boot from a CD


Thanks for all the help here-my old laptop now has the needed security updates (kernel rebuilt to 2.4.29 and new iptables)!


All times are GMT -5. The time now is 03:41 AM.