LinuxQuestions.org
Review your favorite Linux distribution.
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 05-12-2011, 12:42 AM   #1
0men
Member
 
Registered: Mar 2011
Location: Brisbane
Distribution: Windows 10, Red Hat, Debian
Posts: 183

Rep: Reputation: 22
What if i want to stay at 13.1 ???


Hey guys,

I started using Slackware just after 13.1 was released. And after the release of 13.37 i haven't been able to update my 13.1 box.
All i get is there is the no change to changelog error.

sudo /usr/sbin/slackpkg update
""No changes in ChangeLog.txt between your last update and now.
Do you really want to download all other files (y/N)? ""


Do i now have to follow the 13.37 changelog, find the security patches and apply them myself now that im not running current? I dont really want to move from 13.1 as im more than happy with it.

Cheers,
 
Old 05-12-2011, 12:53 AM   #2
thegato
Member
 
Registered: Nov 2006
Posts: 48

Rep: Reputation: 4
You can stay with 13.1 if you want.

Relevant packages are updated as required for previous versions.
 
Old 05-12-2011, 01:02 AM   #3
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Security patches for Slackware 13.1 will continue to be released. (You are likely to discard the box before Pat stops support). There is no need to change to 13.37 if you are happy with what you have.

Slackpkg uses the mirror selected in /etc/slackpkg/mirrors to look for changes. You appear to have a Slackware 13.1 mirror selected. Any new packages will likely appear in the /patches directory and slackpkg will recognise them as new and offer them for upgrade.

Slackware-current is the name given to the development version of Slackware. After a stable release like 13.1, development continues and the changes appear in slackware-current. When Pat is happy, a snapshot of that -current version is released as the new stable release. This has just occurred with the release of 13.37.
 
1 members found this post helpful.
Old 05-12-2011, 01:07 AM   #4
sjampoo
Member
 
Registered: Jan 2009
Location: Oosterbeek, The Netherlands
Distribution: Desk and Lap: Slackware13.1 64
Posts: 203
Blog Entries: 4

Rep: Reputation: 27
And I wonder what mirror you have uncommented from the /etc/slackpkg/mirrors file.

I get the feeling you got updates just about every week until 13.37 was released, and now it's all quiet?? It might just be -current that you have been following.. or am I mistaken?

----

If it's 13.1 in the mirrors file, don't worry: you will recieve security updates and patches for as long as...?... long. The previous versions have been receiving updates quite some time now. Slackware 8.1, which was released in 2001 has received recent updates until in april 2011, and continues to be supported. ( http://slackware.osuosl.org/slackware-8.1/ChangeLog.txt )
 
Old 05-12-2011, 01:13 AM   #5
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
The reason you are not seeing updates is that your slackpkg mirror is pointed to the 13.1 directory (look at the uncommented line in '/etc/slackpkg/mirror' and you will see what I mean). If you do decide to upgrade you could just point your slackpkg mirror file to the correct location (the 13.37 directory) then and issue a 'slackpkg update', followed by a 'slackpkg upgrade-all', then 'slackpkg install-new'.

Oh and if you don't have a full install you might want to temporarily comment out the aaa_elflibs line in '/etc/slackpkg/blacklist' (be sure to uncomment again after your 'slackpkg upgrade-all').

Alternatively, you could upgrade via the official route as outlined in UPGRADE.TXT within the 13.37 directory of your selected mirror (or on a 13.37 DVD).

To answer your other question, no you don't have to upgrade, if you find that 13.1 does everything you need. Though I have the suspicion you do want to.

Last edited by ruario; 05-12-2011 at 01:14 AM. Reason: didn't close a tag
 
Old 05-12-2011, 06:18 AM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by ruario View Post
If you do decide to upgrade you could just point your slackpkg mirror file to the correct location (the 13.37 directory) then and issue a 'slackpkg update', followed by a 'slackpkg upgrade-all', then 'slackpkg install-new'.
Wrong. The correct order is:

slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system

If you don't do install-new first you will break the system.
 
1 members found this post helpful.
Old 05-12-2011, 07:07 AM   #7
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
dive, why does install-new have to be before upgrade-all. What difference does it make? Also not everyone wants to clean-system. Some people don't want to rebuild all of their non official packages. Granted some might now work but I didn't experience any issues with this on my last update.
 
Old 05-12-2011, 07:21 AM   #8
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Quote:
why does install-new have to be before upgrade-all. What difference does it make?
Had you not used install-new before upgrade-all when upgrading to Slackware 13.1, then you would not have installed the xz package. Then you would not have been able to handle the .txz package format.

Quote:
Also not everyone wants to clean-system
You are prompted with a list of packages to remove. You can deselect the packages you want to keep.
 
1 members found this post helpful.
Old 05-12-2011, 07:22 AM   #9
bonixavier
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 320

Rep: Reputation: 69
If you don't do a clean-system (it's a list so you can choose what to remove), you may end up with conflicts. For example, between 13.1 and 13.37, util-linux-ng was replaced by util-linux. If you don't remove the old one, I suppose you can get to some weird situations.
 
1 members found this post helpful.
Old 05-12-2011, 07:22 AM   #10
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Edit: This reply was started before I saw the other two above. I'll leave it here nonetheless but please read my later reply before telling me I am still wrong.

Quote:
Originally Posted by dive View Post
If you don't do install-new first you will break the system.
I actually don't use slackpkg to upgrade my system but rather stick with the official upgrade instructions in UPGRADE.TXT. That said I based my advice on what I have seen others do and said works for them.

Looking again at the official upgrade instructions two things that are worth noting:

1. The only packages UPGRADE.TXT asks you to upgrade first are pkgtools, tar, xz, findutils and glibc-solibs. Everything else is upgraded with 'upgradepkg --install-new /root/slackware/*/*.t?z'. There is no equivalent to your suggestion of installing the new packages first, which is what slackpkg's install-new option does according to its man page (upgradepkg's --install-new is different because it modifies the default upgrade behaviour to install brand new packages in addition to upgrading existing ones but this does not affect the install order).

2. UPGRADE.TXT does not tell you to do anything equivalent to 'make-clean' (i.e. remove unofficial packages). It simply states that you should old, obsolete, or discontinued packages and provides you a list of official Slackware packages that are now considered old/obsolete/discontinued.

So unless I have misunderstood something, it doesn't look like you are basing your suggestions on any official recommendations from Pat.

Last edited by ruario; 05-12-2011 at 07:36 AM. Reason: added a note for context
 
Old 05-12-2011, 07:27 AM   #11
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by allend View Post
Had you not used install-new before upgrade-all when upgrading to Slackware 13.1, then you would not have installed the xz package.
He is talking about upgrading to 13.37 but I take your point. It is safer because you wouldn't be so easily caught out by a similar change in the future.

Quote:
Originally Posted by allend View Post
You are prompted with a list of packages to remove. You can deselect the packages you want to keep.
Hmm ... could be time consuming but sure good point.

Quote:
Originally Posted by bonixavier View Post
If you don't do a clean-system (it's a list so you can choose what to remove), you may end up with conflicts. For example, between 13.1 and 13.37, util-linux-ng was replaced by util-linux. If you don't remove the old one, I suppose you can get to some weird situations.
Ok, gotcha. So in that case it is somewhat similar to the official instructions telling you to remove old/obsolete/discontinued packages, although the official instructions are easier to understand in this regard.

I'll probably continue to stick with doing system upgrades via the instructions in UPGRADE.TXT. Seems safest.

Last edited by ruario; 05-12-2011 at 07:33 AM.
 
Old 05-12-2011, 08:10 AM   #12
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12, Slackware64 14.2
Posts: 236
Blog Entries: 1

Rep: Reputation: 57
You can easily avoid having clean-system remove all non-Slackware packages by modifying the /etc/slackpkg/blacklist file. I have a few SBo packages I want to not be prompted to remove, so the end of my blacklist looks like this:

Code:
# You can blacklist using regular expressions.
#
# Don't use *full* regex here, because all of the following 
# will be checked for the regex: series, name, version, arch, 
# build and fullname.
#
# This one will blacklist all SBo packages:
[0-9]+_SBo
And dive has the correct order for upgrade, going from the slackpkg man page.
 
3 members found this post helpful.
Old 05-12-2011, 08:17 AM   #13
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by jamesf View Post
You can easily avoid having clean-system remove all non-Slackware packages by modifying the /etc/slackpkg/blacklist file.
Yep, that'll work.

Quote:
Originally Posted by jamesf View Post
And dive has the correct order for upgrade, going from the slackpkg man page.
Yep, I see that now. Though I'll probably still stick to UPGRADE.TXT for my own upgrades.
 
Old 05-12-2011, 01:23 PM   #14
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
0men,

Don't feel pressured into updating to the latest release. I am using 13.1 on my office machine and I use 12.2 on my home theater PC (HTPC). I will keep 12.2 on my HTPC for a long time because that computer is used an appliance. That is, the system works the way I want and updating is not going to change the nature of my usage or needs.

Pat has a pleasant history of supporting security patches for previous releases for a long time. Don't worry that 13.1 is going to be "obsolete" any time soon.

As a side note, I have Slackware 11.0 installed on an old 486 machine. I power up the machine maybe two times a year, but that release remains supported with security patches.

With respect to using slackpkg, as other have mentioned, check your mirror selection in /etc/slackpkg/mirrors. Don't panic if you discover you mistakenly had a Slackware Current mirror selected rather than a 13.1 mirror. Edit and save the mirrors file and then run slackpkg again. If you have been updating with Current packages (now 13.37 packages), slackpkg will nonetheless update all of those packages to the correct version.
 
Old 05-14-2011, 12:15 AM   #15
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 780
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
I still have an old school way of upgrading... I have never used slackpkg because it seems like I'm relinquishing control of my system to a package manager... what I like about slackware is stability and control that comes from managing the packages myself, even though this takes more time...

So what I do to upgrade is firstly, I keep my /home directory on it's own partition, so I can upgrade without affecting my personal data... then I just use the install media's setup program to reformat my other partitions (I have separate partitions for root (/) and for /var and for /tmp (so logs and temporary files don't swallow entire drive), and once reformatted, I continue in the setup program, and install all packages, because I'm too lazy to manually select them, and I have enough space and ram where it is not an issue. When done with installation, I recreate my user with same username, user id, and group id... it automatically finds the user's folder on the /home partition, with all the old data still intact. Then I use slackbuild scripts and source from slackbuilds.org to create new packages for the upgraded OS, install these packages, and I'm through...

But slackpkg probably works too... I just like knowing as much of what's going on in my system, as my little brain can handle, 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
should it stay or should it go? Randall Slack General 0 03-21-2009 08:58 AM
Is linux here to stay? ashwin_cse General 13 10-07-2004 09:50 PM
Should I stay, or should I go? /home/kyle General 23 03-14-2004 01:36 PM
the mount will not stay veritas Linux - General 2 08-13-2003 12:17 AM
how do i stay current? yocompia Slackware 5 07-19-2003 11:42 PM

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

All times are GMT -5. The time now is 03:50 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