LinuxQuestions.org
Help answer threads with 0 replies.
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 04-04-2004, 12:21 AM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Help with Upgrading Slack ?


How do i go about upgrading Slack? Ive got 9.1 but several security packages have been released.
 
Old 04-04-2004, 12:52 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
Honestly, I would NOT use Swaret.........
as it has a bad habit of not updating some Library packages.
I use Linux/Slackware because I like to do things for myself.
So I just d/l updates manually and only the packages that I think
are important.
 
Old 04-04-2004, 01:13 AM   #3
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
You could use slapt-get to upgrade packages. You can download slapt-get here . It's similar to apt-get in that it downloads packages from repositories, but I don't think it worries about dependencies. It's nice you keep your system up to date. But I agree with the above poster, its better to take things into your own hands.
 
Old 04-04-2004, 01:56 AM   #4
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
I would much rather install manually and only what is needed, but the packages i found had a tgz extension and i am not sure how to install those. Is there a procedure for installing them? Thanks

Last edited by BajaNick; 04-04-2004 at 03:00 AM.
 
Old 04-04-2004, 03:11 AM   #5
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
To install a .tgz file, you would
(as root)

$ installpkg name_of.tgz

If you are upgrading a package, you would

$ upgradepkg name_of.tgz

Thats it! Pretty simple huh? You can browse currently installed packages (and install ones too) with pkgtool. You can check out some more in-depth info on the slackware book here.
 
Old 04-04-2004, 03:43 AM   #6
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Thanks guys, that helped
 
Old 04-04-2004, 03:49 AM   #7
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
Anytime, glad we could help!
 
Old 04-04-2004, 12:03 PM   #8
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Looks like I spoke too soon. After doing a couple of the upgrades I rebooted and now all i get is a black screen after lilo.
 
Old 04-04-2004, 12:55 PM   #9
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
Could you be more specific as to what you upgraded?
 
Old 04-04-2004, 04:05 PM   #10
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
One of the packages was a kernel update and I Dont know what the other one was I just remember it being one of the security updates on the slack website. When i boot, after lilo all i get is a black screen.
 
Old 04-04-2004, 04:41 PM   #11
php
Member
 
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 825

Rep: Reputation: 30
View the security advisories for the patches you installed, and make sure you have all of the necessary files and read the instructions. For the kernel updates on there, there is usually a few files to be upgraded.
 
Old 04-04-2004, 05:08 PM   #12
destin
LQ Newbie
 
Registered: Dec 2003
Distribution: SlackWare / NetBSD
Posts: 24

Rep: Reputation: 15
Quote:
Originally posted by 320mb
Honestly, I would NOT use Swaret.........
as it has a bad habit of not updating some Library packages.
I use Linux/Slackware because I like to do things for myself.
So I just d/l updates manually and only the packages that I think
are important.
Dude that's cool.But what happens when you need to upgade the already upgraded packages and you have installed them from source ? someone recently answered to one of my questions with "checkinstall" so that i can handle them as packages. here the topic


Though i wonder about something else.Let's say that you upgrade a package from source.The next upgrade to the same already upgraded package will replace the same files (no exclusions -- no addons) or it depends on the package?(well addons doesn't seem to be a prob)
Coz source is ok,but after a while things may get a little messy.If there is any way of avoiding that I will be happy to read it

Last edited by destin; 04-04-2004 at 05:12 PM.
 
Old 04-04-2004, 05:25 PM   #13
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Quote:
Originally posted by hackers_
View the security advisories for the patches you installed, and make sure you have all of the necessary files and read the instructions. For the kernel updates on there, there is usually a few files to be upgraded.
I cant upgrade anything cuz slack wont boot at all. Is there a safe mode or something?
 
Old 04-04-2004, 06:51 PM   #14
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
Do you know what Kernel you upgraded to and what kernel you were at before? Many people had a problem with this when they were upgrading to 2.6.x with the whole framebuffer deal. I have a feeling that's your problem, but I don't know of a way to use your old kernel. Does anyone know if the Slackware package overwrote his old kernel, or installed it alongside? This is an option they you would've changed during recompiling the kernel, I don't know how you would do it via packages. Sorry :\ I'm stumped.
 
Old 04-04-2004, 07:47 PM   #15
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Rep: Reputation: 30
You need to run lilo after upgrading kernel packages... too little too late!
it is still possible to recover from this.
you need to boot from slack cd then at the command prompt type:

mkdir /slack
mount /dev/[root partition] /slack
chroot /slack
lilo

then reboot :~]
 
  


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 iptables in Slack 10 linuxhippy Slackware 4 03-21-2005 05:52 PM
upgrading slack 1_8_7 Slackware 7 03-20-2005 07:50 PM
More Slack upgrading help? BajaNick Slackware 3 04-04-2004 10:10 AM
Upgrading to Slack 9.0 NSKL Slackware 3 02-02-2003 11:16 PM
upgrading slack syouth333 Slackware 5 06-20-2002 02:24 PM


All times are GMT -5. The time now is 12:49 AM.

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