LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-21-2005, 10:35 AM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,189

Rep: Reputation: 47
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?

Last edited by linuxhippy; 03-21-2005 at 10:36 AM.
 
Old 03-21-2005, 10:53 AM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
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

Last edited by keefaz; 03-21-2005 at 10:55 AM.
 
Old 03-21-2005, 12:55 PM   #3
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,189

Original Poster
Rep: Reputation: 47
Do I need to remove my old iptable package first for an upgrade...probably not?
 
Old 03-21-2005, 01:16 PM   #4
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 45
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
 
Old 03-21-2005, 05:52 PM   #5
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,189

Original Poster
Rep: Reputation: 47
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)!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading from iptables 1.3.3 to 1.3.4 mikfig Linux - Networking 2 11-13-2005 07:47 PM
upgrading slack 1_8_7 Slackware 7 03-20-2005 07:50 PM
iptables doesn't like ACCEPT after upgrading to 2.6.10 TruckStuff Linux - Security 5 01-12-2005 05:51 PM
iptables errors since upgrading to RH 8.0 pdibona Linux - Networking 2 02-17-2003 09:53 AM
Upgrading from ipchains to iptables pros Linux - Networking 2 06-25-2001 09:29 AM


All times are GMT -5. The time now is 03:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration