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 01-28-2004, 02:12 AM   #1
_mu_
LQ Newbie
 
Registered: Jan 2004
Distribution: Debian, Slackware
Posts: 29

Rep: Reputation: 15
slackpkg upgrade


Hi,
I just installed slackpkg on my system and was wondering how to upgrade my system with it. I tried "slackpkg update" then "slackpkg upgrade" but nothing happened. So I am assuming that I can only do a "slackpkg upgrade package" but I was expecting it to be able to do something like "slackpkg upgrade" to upgrade the whole system much like swaret has. Can anyone that use's slackpkg give me some tips on how they upgrade their system with it. And also if I am doing something wrong. Thanks
 
Old 01-28-2004, 03:14 AM   #2
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
I don't know slackpkg(I use swaret, well actually kswaret). Did you check the slackpkg site docs? Or a readme? Or 'man slackpkg'?
 
Old 01-28-2004, 03:34 AM   #3
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
I'd just advice you to use swaret or slapt-get. Slackpkg seems not to have that functionallity to upgrade your whole system.

Though I'd like to warn you as well, upgrading you system with this kind of package tools isn't without risk. It can happen that you'll have to install or repare things afterwards.
There is a tread about it from about a month ago on this forum, try looking there before performing an upgrade.
 
Old 01-28-2004, 06:35 AM   #4
_mu_
LQ Newbie
 
Registered: Jan 2004
Distribution: Debian, Slackware
Posts: 29

Original Poster
Rep: Reputation: 15
Hi again,
Namaseit I did read all the docs and found them kind of lacking in information but put it down to myself maybe not understanding them or over estimating slackpkg. I also did a search on slackpkg in these forums and did not come up with anything. I guess what I really want to know is how did people upgrade their systems before swaret, slapt-get and slackpkg as I dont particularly want to use swaret, slapt-get? So is there another way. Thank you both for your replies.
 
Old 01-28-2004, 09:37 AM   #5
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
Quote:
. I guess what I really want to know is how did people upgrade their systems before swaret
We got the tarball ourselves and from the CLI we did a.......upgradepkg <file>

Actually I don't understand why some people use linux at all.
swaret, apt-get, wget, portage -------these progs are the M$ equivilent to
windows update!! Most of us use LINUX because we like to do things for ourselves and not to have our hands held like with M$...........with progs like the above mentioned, people revert back to the same old windows behavior..........

Let the flames begin.......LOL

Last edited by 320mb; 01-28-2004 at 09:38 AM.
 
Old 01-28-2004, 10:24 AM   #6
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
Quote:
Originally posted by 320mb
Most of us use LINUX because we like to do things for ourselves and not to have our hands held like with M$...........with progs like the above mentioned, people revert back to the same old windows behavior
Wrong, most of us don't use LINUX because we like to do things for ourselves, most of us want to be able to choose between automated things or doing it ourselves. Also people like the fact that most software for Linux is free, that they can check out its source. People like the fact that not everything is covered up and secret, that they don't constantly have to choose between empty pockets or stolen software...

That's what drives people, and why did you say
Quote:
Let the flames begin.......LOL
since you think most Linux users support your message.

One of the great things about Linux (in all its forms) is the variety it brings, if you want a tool to upgrade your system, well there is one and if you don't want one, well then don't use it. Nobody says you have to use swaret or do they?
 
Old 01-28-2004, 03:21 PM   #7
gmartin
Member
 
Registered: Mar 2003
Location: PA
Distribution: Slackware 13.37 Linux Reg # 341245
Posts: 285

Rep: Reputation: 40
(let's ignore the "why people use linux flamewar and get back to the question...)

Quote:
Originally posted by _mu_
Hi again,
...<snip> I guess what I really want to know is how did people upgrade their systems before swaret, slapt-get and slackpkg as I dont particularly want to use swaret, slapt-get? So is there another way. Thank you both
for your replies.

There are two ways to handle this. And it all depends on the package you are adding/updating. First stop is the Packages link off of Slackware (http://www.slackware.com/pb). You can search the packages to see the current version. It will not likely be the lastest, but its often very close. if the package is there, download it. Run installpkg or upgradepkg (see the book for details ( http://www.slackware.com/book/index....rce=x4000.html> ) These tools work well if a package was made available.


The other way is to download the source from the author and compile it. The package will come with detailed instructions for doing so. I'd never done this before last month, but I was faced with needing a custom compiled sendmail for my needs. I walked through the process and was quite successful.

One thing I found is searching for someones notes is a good idea. i found a log from a guy who had walked throug the sendmail compile process and they gave me confidence (and additional guidance) to do so.

And my one rule - Read everything before doing anything. This ain't windows...
 
Old 01-29-2004, 05:37 AM   #8
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
Quote:
Originally posted by gmartin
... And my one rule - Read everything before doing anything. This ain't windows...
I can agree with this, though when it is just compiling something, it is often enough just to read the quick install instructions (something like ./configure, make,... These are almost everytime in the INSTALL file).

Another thing you'd might use is checkinstall, this can be run instead of 'make install' to make a slack package, so you can remove it more easily using your 'removepkg'.

(And about those flames, it was to hard to resist )
 
Old 01-29-2004, 01:05 PM   #9
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
_mu_,

to do an upgrade on slackpkg:

1. edit (if necessary) /etc/slackpkg/mirrors to choose a mirror site and the version of slackware that you're using.

2. run "slackpkg update" followed by "slackpkg upgrade slackware", if you want to upgrade everything.

I know when there's something that needs upgrading by looking at the changelog. If you use current, then you would use ftp://ftp.slackware.com/pub/slackwar.../ChangeLog.txt
 
Old 01-29-2004, 09:28 PM   #10
_mu_
LQ Newbie
 
Registered: Jan 2004
Distribution: Debian, Slackware
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks everyone for your replies and especially Berhanie as that is exactly what I want ed to know. Ill get to it now.
 
  


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
slackpkg problems dive Slackware 3 11-16-2005 05:08 PM
slackpkg and jre upgrade uselpa Slackware 5 07-23-2005 10:47 AM
dist upgrade with slackpkg cb951303 Slackware 7 06-20-2005 09:59 PM
slackpkg question ralvy Slackware 2 11-19-2004 05:48 PM
swaret or slackpkg ? frochet Slackware 8 06-11-2004 02:08 PM


All times are GMT -5. The time now is 01:10 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration