LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-11-2006, 05:44 PM   #1
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
New install of slackware 10.2 - need help to get/apply updates


Hi all,

I'm new slackware user. I just need some clarification on slack.

I'm up and running with Slackware 10.2.

Am I correct to assume that swaret is the only real proper and effective way to update my pc once I am loaded.

Question 1: In sware to do my updates do I just type :

"swaret --update", then type "swaret --upgrade -a", Then "swaret --dep"

and that's it or ....

Question 2: Or do i have to tell swaret to install things? Line by line? I'm a fresh install I fear I have to do one by one.......

Question 3: Will it automatically update my pc for me and recreate dependencies for me?

Questin 4: KPackage in slack as installed listed no updates or upgrades? Is that right? Or should I change some settings in Kpackage to list updates for me? Any ideas?

Last edited by Old_Fogie; 03-11-2006 at 05:45 PM.
 
Old 03-11-2006, 06:20 PM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
I have an aversion to telling swaret to "upgrade -a"

Why? Look in this forum for things like "Swaret updated foo, and now it doesn't work!"

Read the changelogs. Make your own decisions. AND NEVER UPDATE THE KERNEL OR ALSA.

swaret is by no means the only way to "upgrade"

But never do it automagically.

Also, why do you need to upgrade? Security? Or just need something to do?

If security, look at the changelogs and security bullitins. If needed, go ahead and upgrade.

If you need something to do, just update one component to 'current', then spend the next few days upgrading everything that depends on that, or it depends on.....

Upgrading is not as critical as in Windows.

Just watch what you are doing, and be careful. And take control, and don't use '-a'
 
Old 03-11-2006, 07:05 PM   #3
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Original Poster
Rep: Reputation: 63
Quote:
Originally Posted by cwwilson721
I have an aversion to telling swaret to "upgrade -a" '-a'
LOL - the beta version screwed up my machine it's reinstalling slack right now! haha that's what i get for assuming slack was "designed by geniuses to be operated by idiots" LOL@me.com

Quote:
Originally Posted by cwwilson721
Also, why do you need to upgrade? Security? Or just need something to do? '-a'
Upgrade for security reasons, I know this distro been out a while and I wanna keep the "hax-orz" out!


Quote:
Originally Posted by cwwilson721
If security, look at the changelogs and security bullitins.'-a'
You mean the ones at the slackware site right? I just wanna be sure.

Last edited by Old_Fogie; 06-10-2006 at 01:53 AM.
 
Old 03-11-2006, 07:25 PM   #4
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
I've never used swaret (never saw the point), but I'll have to agree with cwwilson - there are many threads here comlpaining the swaret broke something.

My quick & dirty method for keeping up with security updates is to make a directory specifically for them and simply do:

Code:
$  cd slackware/security
$  wget -N ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/packages/*.tgz
$ su -c "upgradepkg *.tgz"
That retrieves the latest packages from the (official) Slackware ftp server and installs them (only if the "old" version is already installed).

Note: one minor disadvantage is it downloads /all/ the updates regardless of wether you need them or not. It's an advantage for me to keep a local repository of them for all the machines on my net to retrieve them from - ultimately saving bandwidth.

There is also a "security" mailing list you can subscribe to at the Slackware website.

Slackware's native package management is almost non-existant (not necessarily a bad thing) - the commands are installpkg, upgradepkg and removepkg (no prizes for guessing what each one does ). There's also pkgtool which is a little more friendly.

Quote:
Originally Posted by Old_Fogie
I've only been able to install Unreal Tournament 2004 and this swaret without losing my OS and I don't understand why. It's almost like if it's not their in the distro then just forget it is about to become my new philosophy.
I'm really sorry to hear that, and hope that you won't seriously adopting that philosophy. Ask some questions here, you'll be able to get answers.
 
Old 03-11-2006, 08:08 PM   #5
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Original Poster
Rep: Reputation: 63
thanks gent's for the info really.

i'm gonna try odevans's tips here and read the sec bulletins at slack site.

this old pc just finished reloading and i need a break.

get me some pizza and a beer then hit it again.
 
Old 03-11-2006, 08:30 PM   #6
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Give us the wireless cards info, we may be able to help

I'm using a D-Link 650P1 w/linux-wlan-ng...Rocking along for months on this old laptop
 
Old 03-11-2006, 10:12 PM   #7
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Original Poster
Rep: Reputation: 63
Regarding wireless cards:

I can use either of the two following:

1. Hawking Technology
M/N : HWC546
Card is Revision T (very important according to their site)
This is a pcmcia card. I'd prefer to use this cuz it fits nicely into the laptop. But if i have to use the other that's listed below then no biggie.

I did some googling on this card and supposedly the chip is manufactured by one company and sold to many distributors and that this card can simulate a Linksys TNE1100 or something like that.

Last edited by Old_Fogie; 06-09-2006 at 04:36 PM.
 
Old 03-11-2006, 10:33 PM   #8
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Before you plug the card in, open up a terminal (as root) and issue:

Code:
tail -f /var/log/messages
Now plug the card in. You should see some output similar to this (this is what happens when I plug in an ancient DLink DWL650 wireless card):

Code:
kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
cardmgr[84]: socket 0: D-Link DWL-650
kernel: eth1: Intersil firmware earlier than v0.8.x - several features not supported
kernel: eth1: New link status: Connected (0001)
logger: /etc/rc.d/rc.inet1:  /sbin/iwconfig eth1 nick boo
kernel: eth1: New link status: Disconnected (0002)
logger: /etc/rc.d/rc.inet1:  /sbin/iwconfig eth1 essid any
kernel: eth1: New link status: Connected (0001)
(timestamps / host deleted for brevity)

Then I can bring up the interface with:
Code:
# dhcpcd eth1
What do you get when you do this and plug in the Hawking?
 
Old 03-13-2006, 09:46 PM   #9
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Original Poster
Rep: Reputation: 63
I was able to update by the way. But I do have just a few more questions regarding that, hence the reason that I wanted to be sure I backed up everything I did til' now.

I used the slapt-get tool to check my install vs. the official slackware FTP site; and simply downloaded the files and manaully installed each comparing to the change log at the slack site.

Now my question: Should I upgrade to them as well? Now the alsa probably not I believe cuz the sound is working, and if it ain't broke don't fix it. But the kernel? Hmm...will I have to recompile my existing b4 I do that.

Last edited by Old_Fogie; 06-09-2006 at 04:38 PM.
 
Old 03-13-2006, 10:33 PM   #10
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
You can use cd2's /linux-2.6.13 , or the /testing directory in 10.2 on Slackware. Just cd to that directory (or if you downloaded it, go to that directory)and run pkgtool.

Install everything but the kernel headers (I do believe). DON'T FORGET THE ALSA DRIVERS. After a reboot, run 'alsaconf' as root, then 'alsamixer', then 'alsactl store'. Then change /etc/initab back to init 4 (If you want GUI login.). You should be booting 2.6.13 now.

And regarding speed: I liked running the original 'Unreal' on this laptop in Windows. I installed it under wine, and....It's TOO fast...lol

Last edited by cwwilson721; 03-13-2006 at 10:35 PM.
 
Old 03-13-2006, 11:13 PM   #11
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Be sure that your hard drive is not SATA otherwise your kernel will not work.
Talking about package management I went with full install. Then it's much easier to keep Slackware current because of no broken dependencies. As I understand, slapt-get doesn't check for dependencies (IMHO, that's very good) and only downloads and updates only what you have on your hard drive (excluding alsa, kernel,kernel headers). However, swaret has a primitive dependency checking. The strange thing is that packages which will be upgraded are different when running swaret, slapt-get or slackpkg.

Last edited by Alien_Hominid; 03-13-2006 at 11:14 PM.
 
Old 03-14-2006, 03:35 AM   #12
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Original Poster
Rep: Reputation: 63
No the hard drive is simple IDE on this laptop. But I'm glad you pointed it out becuase I'm truly considering dumping the Mepis on my desktop and putting in the slackware. I tried Mepis as there were so many claims of it being noob friendly and by stupid luck the ATI works out of the box from the CD. But I'm finding some limitations/shortcoming on the Mepis that I am not too fond of. LOL another thread for that.

Last edited by Old_Fogie; 06-09-2006 at 04:39 PM.
 
Old 03-14-2006, 03:57 AM   #13
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
If you picked reiserfs as your filesystem during the original, read /boot/README.initrd before installing the 2.6.13 kernel from CD#2, and follow it's instruction after installing the kernel but _before_ rebooting.

You can get out of the "tail -f" command by hitting control & c.

Did a quick google on the the Hawking card (actually searched for "Texas Instruments ACX 111 linux") and some of the results said this card will work with ndiswrapper. Have you installed ndiswrapper--I see you got a "command not found"--it's not included with Slackware.

OTOH, several of the results reported that there was no way it would work. What happens when you plug in the USB one?

Last edited by odevans; 03-14-2006 at 04:02 AM.
 
Old 03-14-2006, 08:18 PM   #14
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Original Poster
Rep: Reputation: 63
Quote:
Originally Posted by odevans
If you picked reiserfs as your filesystem during the original, read /boot/README.initrd before installing the 2.6.13 kernel from CD#2, and follow it's instruction after installing the kernel but _before_ rebooting.

You can get out of the "tail -f" command by hitting control & c.

Did a quick google on the the Hawking card (actually searched for "Texas Instruments ACX 111 linux") and some of the results said this card will work with ndiswrapper. Have you installed ndiswrapper--I see you got a "command not found"--it's not included with Slackware.

OTOH, several of the results reported that there was no way it would work. What happens when you plug in the USB one?

I installed the file system as ext2. I heard it was reliable and less load on the system for older pc's.

Last edited by Old_Fogie; 06-09-2006 at 04:40 PM.
 
Old 03-14-2006, 08:21 PM   #15
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Quote:
Originally Posted by Old_Fogie
PS i got my image to work so I can crash this laptop over and over and restore it from my images on 2cd's and be back up in 20 minutes. Now i'm ready to tweak
THAT is forward thinking...lol
 
  


Reply



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
How to perform updates in slackware thorney Linux - Newbie 10 08-02-2005 08:27 PM
Slackware 10.0 and new packages, updates kpachopoulos Slackware 7 07-08-2005 04:20 PM
Updates to a fresh slackware 9.1 dogsbody Slackware 3 04-14-2004 09:45 AM
Online Updates in Slackware Darkangel90 Slackware 20 02-12-2004 01:55 PM
Updates to Slackware jtshaw Slackware 0 04-27-2003 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:11 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration