LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 06-23-2006, 07:16 AM   #1
Anomander
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Rep: Reputation: 0
Problems with upgrading via swaret


Hi,

I am trying to upgrade my Slackware 9.1 box to Slackware 10.2 via swaret, but it fails. I installed the swaret package en adapted the /etc/swaret.conf to reflect my settings. I have copied CDROM1 from the 10.2 set to disk. I have *no* internet connection on this system, so I can't use the URL's.

My apologies for not being able to show the real output as this machine has no possibilities (yet) to get data on a USB stick.

So, first I run a "swaret --update" to fetch the lists. This all goes well, except for the extra packages, this one failed. I assumed that these extra packages were not necesary, so I decided to continue.

Then I run a "swaret --upgrade -a"

Then it starts fething /checking wat to upgrade This all goes well. Then, when the real upgrading begins,
It starts and states that it will upgrade the aaa_base package from 0.1 to 10.2 The first time, this fails, the second time, it goed well.
After that it does the same for at, atk, autoconf, automake and bash, all the rest only fails. When ready, I get a system rendered useless, as the new bash requires some glibc funtionality, which isn't installed (yet)


Below are the parts of the /etc/swaret/conf which I modified:

# Define Slackware (8.1 or Higher or Current) Linux Mirrors.
# (Used for Official Slackware Linux Packages)
# (Slackware Linux Mirrors available at http://www.slackware.com)
#
# Syntax: ROOT=PROTOCOL:URL
#
# NOTE: swaret will use the order of the specified ROOT URL's.
#
#ROOT=file:/mnt/cdrom
#ROOT=file:/mnt/dvdrom
#ROOT=file:/mnt/usbmemstick
#ROOT=ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-$VERSION
#ROOT=http://sunsite.cnlab-switch.ch/ftp/mirror/slackware/slackware-$VERSION
#ROOT=ftp://ftp.slackware.no/pub/linux/slackware/slackware-$VERSION
#ROOT=http://www.slackware.no/slackware/slackware-$VERSION
#ROOT=ftp://ftp.slackware.at/slackware-$VERSION
#ROOT=http://www.slackware.at/data/slackware-$VERSION
#ROOT=ftp://ftp.planetmirror.com/pub/slackware/slackware-$VERSION
#ROOT=http://ftp.planetmirror.com/pub/slackware/slackware-$VERSION
#ROOT=rsync://rsync.slackware.no/slackware/slackware-$VERSION
#ROOT=rsync://rsync.slackware.at/slackware/slackware-$VERSION
#ROOT=file:/pub/slackware
#ROOT=file:/mnt/nfsshare/slackware
#ROOT=file:/mnt/sambashare/slackware
ROOT=file:/data/cdrom

#REPOS_ROOT=LinuxPackagesDOTNET%ftp://ftp.linuxpackages.net/pub/Slackware-9.1
#
#REPOS_ROOT=My_Slackware_Packages_On_CD-ROM%file:/mnt/cdrom
#REPOS_ROOT=My_Slackware_Packages_On_DVD-ROM%file:/mnt/dvdrom
#REPOS_ROOT=My_Slackware_Packages_On_USB_Memory_Stick%file:/mnt/usbmemstick
#REPOS_ROOT=SomeRemoteRepository%ftp://ftp.someremoterepository.net/s.../slackware-9.1
#REPOS_ROOT=SomeRemoteRepository%http://www.someremoterepository.net/.../slackware-9.1
#REPOS_ROOT=SomeRemoteRepository%rsync://rsync.someremoterepository.net/slackware/slackware-9.1
#REPOS_ROOT=MyLocalRepository%file:/pub/myrepos"
#REPOS_ROOT=MyRemoteRepository_Using_NFS-Share%file:/mnt/nfsshare/slackware
#REPOS_ROOT=MyRemoteRepository_Using_Samba-Share%file:/mnt/sambashare/slackware
REPOS_ROOT=MyLocalRepository%file:/data/cdrom



# NOTE: swaret will use the order of the specified DEP_ROOT URL's.
#
DEP_ROOT=file:/data/cdrom
#DEP_ROOT=file:/mnt/dvdrom
#DEP_ROOT=file:/mnt/usbmemstick
#DEP_ROOT=http://www.swaret.org/swaret
#DEP_ROOT=ftp://ftp.swaret.org/swaret
#DEP_ROOT=rsync://rsync.swaret.org/swaret
#DEP_ROOT=file:/pub/swaret
#DEP_ROOT=file:/mnt/nfsshare/swaret
#DEP_ROOT=file:/mnt/sambashare/swaret
#

The rest I left default.

Best regards,
Andy Kannberg
 
Old 06-24-2006, 10:12 AM   #2
multios
Member
 
Registered: Mar 2006
Location: Homer, Alaska USA
Distribution: OpenBSD, FreeBSD, Slackware64-current
Posts: 276

Rep: Reputation: 58
What version do you have listed in your swaret.conf file? It should be 10.2
 
Old 06-26-2006, 02:12 AM   #3
Anomander
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by multios
What version do you have listed in your swaret.conf file? It should be 10.2
I have version 10.2 set in the /etc/swaret.conf
 
Old 07-03-2006, 03:47 AM   #4
Anomander
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Original Poster
Rep: Reputation: 0
*kick*

Isn't there anyone out there who can help me on this ??

Quote:
Originally Posted by Anomander
I have version 10.2 set in the /etc/swaret.conf
 
Old 07-03-2006, 11:36 PM   #5
theoffset
Member
 
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211

Rep: Reputation: 31
Well, I've used slackpkg to upgrade from 10.0 to 10.2 using the CD-ROM:

Install it (it comes in the Slack 10.2 2nd CD, under extras/), and open the /etc/slackpkg/mirrors file and uncomment the line which says
cdrom://mnt/cdrom (change the path if necesary).

You may want to exclude some packages (like kernel and stuff) under /etc/slackpkg/blacklist

mount the CD 1 under /mnt/cdrom (or whatever...)

Then you can issue (as root, of course)
Code:
# slackpkg update
# slackpkg upgrade glibc-solibs
# slackpkg upgrade pkgtools
# slackpkg upgrade sed
# slackpkg upgrade-all
It will *not* resolve dependencies, and will not uninstall removed packages (unless you run "slackpkg clean-system", but it will also remove *any* *non-Slackware* package), so you may have to do some ChangeLog reading/system testing to make sure the new packages which you need are indeed installed.

EDIT: If you want to upgrade anything from CD2, you'll have to mount it (under /mnt/cdrom or ...) and run "slackpkg update" again, then you can "slackpkg upgrade <pkg-name>")

It's been a while since I did this, so I can't remember the *exact* steps I took, but that was the general outline.

Hope it helps.

EDIT: I seem to remember that I upgraded some packages before the others (glibc-solibs, sed, pkgtools) because UPGRADE.TXT recommended to.

Last edited by theoffset; 07-03-2006 at 11:57 PM.
 
  


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
No sound after upgrading with Swaret JoOngle Slackware 5 01-10-2006 03:44 PM
upgrading by Swaret==>Xorg problem shazde Slackware 6 05-23-2005 03:54 AM
upgrading inet1 through swaret zeekx4 Slackware 9 01-02-2005 08:48 PM
Upgrading KDE with Swaret LinuxBlackBox Linux - Software 2 05-10-2004 04:38 PM
Best way to Upgrading Swaret? JockVSJock Slackware 8 05-06-2004 10:52 PM

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

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