LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-07-2010, 02:18 PM   #1
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
13.0 to 13.1 via Slackpkg - is it possible?


Hello,

I have an old laptop that currently runs 13.0 and I would like to update to 13.1. I have thoroughly read UPDATE.TXT and understand the official procedure. But I recall a couple years ago I upgraded a laptop running 12.2 to -current using Slackpkg by just changing the mirrors and upgrading with -upgrade-all. It worked on that occasion. What results could I expect if I do the same with this laptop, changing mirrors to 13.1? I would first have to upgrade Slackpkg itself because there are currently no 13.1 mirrors in the list.

I am guessing that if it is not possible or not recommended it will be because of the kernel upgrades (2.6.29 to 2.6.33, BIG jump).

I won't try this until someone comments on the pros or cons.

I appreciate any thoughts.

Bob
 
Old 06-07-2010, 02:29 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
I did this on two boxes. Read CHANGES_AND_HINTS.txt too. I had a problem with slackpkg getting stuck in a loop and had to redo 'update' and 'upgrade-all' on both boxes, so watch out for that one.

Don't forget to 'install-new' and 'clean-system' and sort out the .new files.

The libata changeover may affect you if your 13.0 boxes are still using /dev/hd* so read this first:

http://rlworkman.net/howtos/libata-switchover

That's pretty much all I can recall about it. No bad issues for me at least.
 
Old 06-07-2010, 02:37 PM   #3
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by dive View Post
I did this on two boxes. Read CHANGES_AND_HINTS.txt too. I had a problem with slackpkg getting stuck in a loop and had to redo 'update' and 'upgrade-all' on both boxes, so watch out for that one.

Don't forget to 'install-new' and 'clean-system' and sort out the .new files.

The libata changeover may affect you if your 13.0 boxes are still using /dev/hd* so read this first:

http://rlworkman.net/howtos/libata-switchover

That's pretty much all I can recall about it. No bad issues for me at least.
Thanks, dive. That one would have gotten me. It is an old IDE drive in the laptop and does use /dev/hdx. Thank you for that information. That is exactly why I posted here before I tried it.

Bob
 
Old 06-07-2010, 03:27 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
You should probably upgrade slackpkg/pkgtools/etc. first and then upgrade in the order specified in UPGRADE.TXT and *then* do the bulk upgrade. I believe if you don't upgrade slackpkg first you may get gpg verification failures of some sort, and of course pkgtools (and tar-*.tgz, xz-*.tgz and findutils-*.txz according to UPGRADE.TXT), which of course are involved in the package installation procedure and thus should be upgraded first. Then unless you want big problems you should of course upgrade glibc-solibs. Then mass upgrade away.

But of course that is just my advice...
 
Old 06-07-2010, 03:39 PM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I had no issues when I did it
except changing the xfce4 xinitrc in /etc/X11/xinit and then redoing xwmconfig
after that it works great

upgrade pkgtool/slackpkg first as its gonna overwrite old slackpkg.conf and mirrors
 
Old 06-07-2010, 04:24 PM   #6
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by T3slider View Post
You should probably upgrade slackpkg/pkgtools/etc. first and then upgrade in the order specified in UPGRADE.TXT and *then* do the bulk upgrade. I believe if you don't upgrade slackpkg first you may get gpg verification failures of some sort, and of course pkgtools (and tar-*.tgz, xz-*.tgz and findutils-*.txz according to UPGRADE.TXT), which of course are involved in the package installation procedure and thus should be upgraded first. Then unless you want big problems you should of course upgrade glibc-solibs. Then mass upgrade away.

But of course that is just my advice...
T3slider, if I upgrade slackpkg/pkgtools first, will glibc-solibs not be automatically upgraded with everything else (in order)? Should this be done separately?

Bob
 
Old 06-07-2010, 07:25 PM   #7
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
I don't believe it would find glibc-solibs first, since mass upgrades are just done alphabetically by series AFAIK (though I haven't really checked slackpkg to see if this is the case). When in doubt just upgrade glibc-solibs manually first and then do the mass upgrade and you should be fine.
 
Old 06-07-2010, 09:06 PM   #8
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian, OpenBSD
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by BobNutfield View Post
Thanks, dive. That one would have gotten me. It is an old IDE drive in the laptop and does use /dev/hdx. Thank you for that information. That is exactly why I posted here before I tried it.

Bob
I've upgraded a few PCs that have IDE drives that use /dev/hda and was able to successfully upgrade 13.0---->13.1. Robby's libata change over guide works.
 
Old 06-26-2010, 05:41 PM   #9
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
See the upgrade threads linked in my signature.

I have been traveling a lot lately and haven't had time post an update for Slackware 13.x, but the basic process is still the same. Simply adjust accordingly as per the UPGRADE.TXT and the CHANGES_AND_HINTS.TXT.

I actually just completed an upgrade from 13.0 to 13.1. As mentioned previously, the libata switchover is the biggest gotcha if you are not paying attention. If you have any scripts or WINE installations that use links to /dev/hdx then you have to adjust those as well.

slackpkg works great for upgrades (if used correctly), though I think simply running a script similar to what is in UPGRADE.TXT works better for upgrades across multiple versions (which is not supported anyways).
 
Old 06-26-2010, 06:19 PM   #10
sljunkie
Member
 
Registered: Nov 2008
Location: Brazil
Distribution: Manjaro
Posts: 105

Rep: Reputation: 18
I tried step-by-step UPGRADE.TXT to do 13.0 -> 13.1, it didn't work

Many GTK-based applications broke. I think it was libpng-1.4.x - what could've I done wrong?
 
Old 06-26-2010, 07:46 PM   #11
davem7
LQ Newbie
 
Registered: Jun 2010
Distribution: OpenSUSE (tumbleweed), Debian (server)
Posts: 19

Rep: Reputation: 0
Quote:
Originally Posted by T3slider View Post
I don't believe it would find glibc-solibs first, since mass upgrades are just done alphabetically by series AFAIK (though I haven't really checked slackpkg to see if this is the case). When in doubt just upgrade glibc-solibs manually first and then do the mass upgrade and you should be fine.
Using Slackroll would one also be able to use 'slackroll upgrade-key-packages' prior to issuing 'slackroll upgrade' ? FWIW, I used Slackroll to successfully move from 13.1 -> -current without any issues.

edit: I see now he wanted only 'slackpkg'.

Last edited by davem7; 06-26-2010 at 07:48 PM.
 
Old 06-26-2010, 07:56 PM   #12
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian, OpenBSD
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
sljunkie,

In my opinion the best way to upgrade from 13.0----->13.1 is to use slackpkg, it worked flawlessly for me. Did you read the libata change over guide?

http://rlworkman.net/howtos/libata-switchover
 
Old 06-26-2010, 09:00 PM   #13
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by davem7 View Post
Using Slackroll would one also be able to use 'slackroll upgrade-key-packages' prior to issuing 'slackroll upgrade' ? FWIW, I used Slackroll to successfully move from 13.1 -> -current without any issues.

edit: I see now he wanted only 'slackpkg'.
Yeah, but that is something that slackroll provides which slackpkg does not.

The maintainer/designer behind slackroll would like user input, I do believe. If you had some, I think he would like it.
 
Old 06-26-2010, 09:16 PM   #14
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by sljunkie View Post
I tried step-by-step UPGRADE.TXT to do 13.0 -> 13.1, it didn't work

Many GTK-based applications broke. I think it was libpng-1.4.x - what could've I done wrong?
What do you mean by "broke", and which apps? Stock programs?

Also, did you correctly merge all of your config files?
 
Old 06-27-2010, 07:22 AM   #15
sljunkie
Member
 
Registered: Nov 2008
Location: Brazil
Distribution: Manjaro
Posts: 105

Rep: Reputation: 18
hitest,

That wasn't the problem, as I didn't have any IDE drives.

shadowsnipe,

For example, xfce couldn't display icons, Audacious segfaulted... I'm running 13.1 now, 'upgraded' via the dumb way - backing up /etc and my sbopkg queues, and reformatting / prior to install. Then it worked... my /home is always on another partition anyways.
 
  


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
slackpkg help justwantin Slackware 4 05-31-2014 05:05 AM
Slackpkg? Frank Soranno Slackware 3 06-02-2007 12:12 AM
slackpkg bookie Linux - Newbie 22 05-31-2007 09:49 AM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM
Slackpkg? vharishankar Slackware 13 08-04-2006 09:10 PM

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

All times are GMT -5. The time now is 03:51 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
Open Source Consulting | Domain Registration