LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 07-03-2011, 09:17 AM   #1
autophil
Member
 
Registered: Jun 2006
Location: Cape Town
Distribution: Slackware-12.2 + Salix-13.37
Posts: 111
Blog Entries: 1

Rep: Reputation: 15
Upgrade to 13.37


Is there a way to upgrade Slackware 12.2 to 13.37 without having to download the new iso and making a new install?
If there is a tutorial or a 'how to' Id like to read it. Or even a simple way to do a minimal install and then add the extra applications.
 
Old 07-03-2011, 09:35 AM   #2
TobiSGD
Guru
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 7,592
Blog Entries: 2

Rep: Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673
AFAIK you can't do a direct upgrade from 12.2 to 13.37, you have to update to 13.0, then to 13.1, then to 13.37 (correct me if I am wrong please).
So I would think that a fresh install is easier and less time consuming.
 
1 members found this post helpful.
Old 07-03-2011, 10:56 AM   #3
sahko
Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 986

Rep: Reputation: Disabled
You could try to do it, but its unsupported. If i were to go for it myself i would read the CHANGES_AND_HINTS.TXT and UPGRADE.TXT files for each release first and then upgradepkg --install-new the packages of the latest release not forgetting to removepkg the ones that got removed.
I have no doubt that its possible, but like TobiSGD says its more time consuming than a clean installation.
 
1 members found this post helpful.
Old 07-03-2011, 01:17 PM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 2,768

Rep: Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568
I would recommend to do a complete reinstall. But you don't need to download the complete isoimages.

Download the packages (with wget) and create either a minimal install-CD (look at the README in the isolinux-directory) or a bootable USB-memorystick (read the README in the USB_and_PXE_Installers directory).

While installation chose to install from a "premounted partition" where you've stored the downloaded packages (any partition which isn't reformatted while the installation).

Markus
 
1 members found this post helpful.
Old 07-03-2011, 02:31 PM   #5
colorpurple21859
Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 824

Rep: Reputation: 112Reputation: 112
This might work, do a back up first tto prevent data loss in case this doesn't work
1. Edit slackpkg.mirrors to point a 13.37 mirror
2. Run "slackpkg update" "slackpkg upgrade tgz" "slackpkg install tgz"
3. Edit you slackpkg.mirrors again and slackpkg.blacklist to allow updating of aaa_elflibs
4. Upgrade everything else
5. May need to edit /etc/fstab to reflect the change in naming of ide drives from hda to sda if you have ide drives
6. Not sure how to handle lilo

Last edited by colorpurple21859; 07-05-2011 at 12:04 PM.
 
1 members found this post helpful.
Old 07-03-2011, 08:04 PM   #6
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware
Posts: 3,308

Rep: Reputation: 270Reputation: 270Reputation: 270
While it is probably possible to upgrade to 13.37 I would opt for a clean install after making a back-up of my data. I think this will cause you less grief.

Last edited by hitest; 07-03-2011 at 08:06 PM. Reason: typo
 
1 members found this post helpful.
Old 07-03-2011, 11:58 PM   #7
autophil
Member
 
Registered: Jun 2006
Location: Cape Town
Distribution: Slackware-12.2 + Salix-13.37
Posts: 111
Blog Entries: 1

Original Poster
Rep: Reputation: 15
OK Thanks for that response.
Just for future ref, If I had 13.1 and I wanted to upgrade to 13.37, Would i be able to

Run "slackpkg update" then "slackpkg upgrade tgz"
resulting in a new version?

Im just trying to find alternatives to downloading the complete iso. Slackware is quite a hefty download. Perhaps install something like Salix and then add the Slackpkgs of choice. Apparently distros like Absolute and Salix claim to be pure Slackware - just pared down.
Sometimes Im lucky enough to get a dvd from a magazine or a Linux Freedom Toaster, but otherwise its an iso download of around 1,700MB as opposed to some others I mentioned of around 600MB.
 
Old 07-04-2011, 12:09 AM   #8
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware64 13.37
Posts: 246

Rep: Reputation: 87
Quote:
Originally Posted by autophil View Post
Run "slackpkg update" then "slackpkg upgrade tgz"
resulting in a new version?
I haven't upgraded with slackpkg, but I think it would be...

Code:
# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system
... according the slackpkg manpage. And since 13.0 packages are now txz. Good luck with your upgrade!
 
1 members found this post helpful.
Old 07-04-2011, 12:15 AM   #9
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 2,768

Rep: Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568
I've upgraded one computer from 13.1 to 13.37 with slackpkg, it worked!

But it is not faster than a reinstall.

Markus
 
Old 07-04-2011, 12:18 AM   #10
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,372

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Quote:
Originally Posted by autophil View Post
OK Thanks for that response.
Just for future ref, If I had 13.1 and I wanted to upgrade to 13.37, Would i be able to

Run "slackpkg update" then "slackpkg upgrade tgz"
resulting in a new version?.
I think the only reccomended (and supported) way of upgrading from 13.1 to 13.37 is following UPGRADE.TXT and CHANGES_AND_HINTS.TXT: if you read those you can see that there are many caveats not covered by "slackpkg update ; slackpkg install-new ; slackpkg upgrade-all" (you should also run a "slackpkg clean-system" to remove obsolete packages).
following those I recently smoothly upgraded a full 13.0 install first to 13.1, then to 13.37

Last edited by ponce; 07-04-2011 at 01:28 AM.
 
Old 07-04-2011, 01:06 AM   #11
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 13.37
Posts: 224
Blog Entries: 1

Rep: Reputation: 19
Quote:
Originally Posted by autophil View Post
Im just trying to find alternatives to downloading the complete iso.
In the time that you have been having this discussion, you could have downloaded the iso. Whether you do an upgrade or a fresh install, I suspect you would need the iso anyway. Downloading all of the packages individually would probably take up more data than downloading the iso alone.

I gather that you have a 32-bit machine (there is no 64-bit version of Slackware 12.2) which means that you can download the CD iso's which are a more manageable 600-700 MB each. You don't need to download the sources so only the first 3 iso's need to be downloaded.
 
Old 07-04-2011, 01:24 AM   #12
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 2,768

Rep: Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568
Quote:
Originally Posted by psionl0 View Post
In the time that you have been having this discussion, you could have downloaded the iso. Whether you do an upgrade or a fresh install, I suspect you would need the iso anyway. Downloading all of the packages individually would probably take up more data than downloading the iso alone...
This is not true. An isofile is not compressed, the amount of data for any package is the same as for a normal download of the package.

If you create your own isoimage you will have to download only the directories "kernels", "isolinux" and from "slackware" the things you need, for example without "kde/kdei", without "e" or without "t" series.

Also you can not assume that anyone has a fast internet-connection. So it is a useful approach what the OP does, to plan the download in detail and then downloading what he needs.

@autophil: I've once written a short downloadscript for Slackware, you can find it here: http://www.linuxquestions.org/questi...ckages-877572/ I use it when I don't need all the packages, maybe you'll find it helpful

Markus
 
Old 07-04-2011, 03:05 AM   #13
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 13.37
Posts: 224
Blog Entries: 1

Rep: Reputation: 19
Assuming that autophil only has a telephone dialup connection with a 2Kbs download speed, I calculate that it would take about 10 days to download a 1700MB iso and about 3.5 days to download a 650 MB iso. I believe that if you are using a torrent, that you don't have to do the download in a single session. His ISP might charge extra for downloading that much data but it would probably still work out cheaper than ordering the DVDs.

However, I get the point that if the iso's are not compressed then it may be more economical to download the packages individually. The problem then becomes how to create a bootable CD that includes pkgtools and the setup programs. You wouldn't need a bootup CD if you were to try and upgrade from 12.2 but that seems more problematic.

Maybe the best solution is to download only the "d1" iso to do the initial installation then download the rest of the packages as needed.
 
Old 07-04-2011, 03:29 AM   #14
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 2,768

Rep: Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568
Quote:
Originally Posted by psionl0 View Post
...
The problem then becomes how to create a bootable CD that includes pkgtools and the setup programs. You wouldn't need a bootup CD if you were to try and upgrade from 12.2 but that seems more problematic.
this is no problem as I explained in post #4. In the README of the isolinux-directory there is explained how such a bootable install-CD is created.
Quote:
Maybe the best solution is to download only the "d1" iso to do the initial installation then download the rest of the packages as needed.
Yes, this is possible and probably better than downloading everything.

Markus

Last edited by markush; 07-04-2011 at 03:30 AM. Reason: typo
 
Old 07-04-2011, 03:31 AM   #15
TobiSGD
Guru
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 7,592
Blog Entries: 2

Rep: Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673
I normally (since I have a complete copy of the Slackware 13.37 repository) use a slightly modified version of AlienBobs mirror-slackware-current.sh script to make my own bootable install discs. That script is capable of creating a mini-iso also, which comes without packages, and it can create DVDs with excluding directories, like the sources or the KDE parts. You can also download a 40MB mini-iso from Alienbob that can be used to install Slackware. This way only the packages you select during install are downloaded. This leaves room to install a solid base and then install not urgently needed packages later, in case you have some type of download-limit.
 
1 members found this post helpful.
  


Reply

Tags
minimal


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Partial Upgrade of BIG NEW KDE UPGRADE (debsig-verify related?) linuxStudent11 Debian 1 04-27-2011 12:29 PM
synaptic upgrade quit; blasted on using apt-get;upgrade; x-windows now gone blupton Linux - Newbie 0 11-24-2009 12:44 AM
Wireless switch doesn't work after upgrade/dist-upgrade angelofhope Debian 10 01-02-2008 04:46 AM
apt-get upgrade stopped, how can I remove packages before continuing upgrade? [KIA]aze Linux - Newbie 4 05-31-2007 07:49 AM
Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package? Akhran Debian 3 03-14-2006 02:40 PM


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