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 10-10-2004, 03:18 PM   #1
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware14.2 64-Bit Desktop, Devuan 2.0 ASCII Toshiba Satellite Notebook
Posts: 2,798

Rep: Reputation: 792Reputation: 792Reputation: 792Reputation: 792Reputation: 792Reputation: 792Reputation: 792
Swaret settings


I reinstalled linux and swaret because when updated, it just screwed things up. I am still having problems trying to get correct settings in swaret.conf , some people say to point to www.swaret.org , but that host doesn't exist, so what addresses do i use to actually have swaret download the packages, and what do i set version to? current? or 10.0 ? Please help clarify all this, I'm so confused
 
Old 10-10-2004, 03:39 PM   #2
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Quote:
what addresses do i use
http://swaret.sourceforge.net/

That's where you get SWareT. Where you download the packages from is (usually) the Slackware mirrors. You can aslo set it to get the packages from NFS shares, local directories, CD, whatever. You probably just want to stick with the mirrors. I believe that is the default setting.

Quote:
do i set version to?
Your choice. You want just the security patches to 10 or the new stuff that will eventually become the new Slackware version? Always supplement SWareT use with reading the changelog at
 
Old 10-10-2004, 03:46 PM   #3
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware14.2 64-Bit Desktop, Devuan 2.0 ASCII Toshiba Satellite Notebook
Posts: 2,798

Original Poster
Rep: Reputation: 792Reputation: 792Reputation: 792Reputation: 792Reputation: 792Reputation: 792Reputation: 792
stick with default? ok, well so far I just changed version=current , what else should i change , if anything?

############################################################
#
# swaret.conf, Version: 1.6.2
#
### /etc/swaret.conf - SWARET EXAMPLE CONFIGURATION FILE ###
#
# Define a valid Slackware Linux Version.
# (Used for Dependency Support and other Features)
#
# NOTE: If you want to use Slackware Linux Current,
# set VERSION to 'current' (VERSION=current).
#
VERSION=current
#
# Define the language for status and error messages
LANGUAGE=ENGLISH
#
# ----------------------------------------------------------
# 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
#
# -----------------------------------------------------------
# Define Repository URL's with Slackware Linux Packages.
# (Used for Repository Slackware Linux Packages)
# (Repository URL's available at http://www.swaret.org/?menu=sp)
#
# NOTE 1: To use a Local Repository or Remote Repository,
# be sure it contains the following Files:
# - CHECKSUMS.md5 (For MD5 Sum, REQUIRED)
# - FILELIST.TXT (For Package Name + Size, REQUIRED)
# - PACKAGES.TXT (For Package Description, NOT REQUIRED)
# - MANIFEST.bz2 (For Dependency Support, NOT REQUIRED)
# NOTE 2: To create your own Repository, use 'swaret-tools'.
# You can get 'swaret-tools' at http://www.swaret.org!
#
# Syntax: REPOS_ROOT=REPOSITORYNAME%PROTOCOL:URL
#
# NOTE 1: The REPOSITORY NAME can only be ONE Keyword!
# NOTE 2: swaret will use the order of the specified REPOS_ROOT URL's.
#
#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
#
# ------------------------------------------------------------
# Define Libraries (8.1 or Higher or Current) List Mirrors.
# (Used for Dependency Support)
#
# NOTE 1: You need to specify a Libraries List Mirror which
# contains a 'libraries-VERSION' File.
#
# NOTE 2: To create the Libraries List, use 'swaret-tools'.
# You can get 'swaret-tools' at http://www.swaret.org!
# You can also clear all DEP_ROOT Variable(s) which will
# allow swaret to create the Libraries List for you
# during Dependency Check using the defined ROOT Variable(s) above.
#
# Syntax: DEP_ROOT=PROTOCOL:URL
#
# NOTE: swaret will use the order of the specified DEP_ROOT URL's.
#
#DEP_ROOT=file:/mnt/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
#
# ----------------------------------------------------------
# General Settings
#
# Do you want swaret to use Random Slackware Linux Mirrors?
# -> 1 for yes, 0 for no.
#
RANDOMR=0
#
# Do you want swaret to parse all the Package Descriptions?
# -> If set to 1, swaret will also match Packages whose Description
# is matching the Keyword(s) you specify after --ACTION.
# NOTE: swaret will parse all the Package Descriptions for this,
# and might slow down swaret when using an older System.
# -> If set to 0, swaret will not use Package Descriptions
# to match one or more Packages.
#
USEPKGDESC=0
#
# If you don't want swaret to Upgrade, Install, Re-Install, Download,...
# some Packages, add the KEYWORDS to the EXCLUDE Variable.
# To disable Exclude Method: swaret --exclude -off
# To enable Exclude Method: swaret --exclude -on
#
# NOTE: You can add ANY EXTENDED REGEXP (Regular Expression) to the EXCLUDE Variable(s)
#
# Basic Exclude
#
EXCLUDE=kernel
EXCLUDE=lilo swaret
EXCLUDE=MANIFEST.bz2$
EXCLUDE=.*dl$ .*PACKAGER$ .*MYBUILD$
#
# Advanced Exclude
# Syntax: KEYWORD[DONT_EXCLUDE_ME_KEYWORD1,DONT_EXCLUDE_ME_KEYWORD2,...]
# Example: kde-i18n[nl,en_GB] koffice-i18n[nl,en_GB]
#
EXCLUDE=kde-i18n[nl,en_GB] koffice-i18n[nl,en_GB]
#
# Do you want to enable Dependency Check?
# -> If set to 1, swaret will start the Dependency Check after
# every Upgrade, Install and Re-Install Procedure.
# -> If set to 0, swaret will not start the Dependency Check
# after any Procedure.
#
DEPENDENCY=1
#
# Do you want swaret to Search for missing Libraries (and Fix)
# which could be found on your System, but not tracked by ldconfig?
# -> 1 for yes, 0 for no.
#
DSEARCHLIB=1
#
# Set to 1, if you want swaret to use the 'slocate' program
# to Search for missing Libraries.
# (be sure to issue the 'updatedb' Command regularly!)
# If DSEARCHM is set to 0, swaret will use
# the 'find' program to locate missing Libraries.
# -> 1 for yes, 0 for no.
#
DSEARCHM=0
#
# Start MD5 Check after Fetching Packages, Patches and Sources?
# -> 1 for yes, 0 for no.
#
MD5CHECK=1
#
# Start GPG Signature Check after Fetching Packages, Patches and Sources?
#
# NOTE: Check out F.A.Q. (--faq gpg) how to Import a Public GPG Key which
# will be used by the GPG Signature Check.
#
# -> 1 for yes, 0 for no.
#
GPGCHECK=0
#
# Show Description for Packages during
# Upgrade, Install, Re-Install,... Procedures?
# -> If set to 0, you will not see a Description.
# -> If set to 1, you will see a Description.
#
DESC=0
#
# Cache Directory for (Repository) Packages and Sources.
#
CACHE_DIR=/var/swaret
#
# Enable Logging?
# -> 1 for yes, 0 for no.
#
LOG=1
#
# swaret Log File
#
LOG_FILE=/var/log/swaret
#
# Show Warnings?
# -> 1 for yes, 0 for no.
#
WARNINGS=1
#
# Show Information?
# -> 1 for yes, 0 for no.
#
INFORMATION=1
#
# -------------------------------------------------------------
# Network Settings
#
# Network Interface
# Use this if you have a Network Interface.
#
NIC=eth0
#
# Local Interface
# Use this if you do not have a Network Interface.
#
# For Example (CD-ROM):
# You got a Slackware Linux CD-ROM,
# mount the CD-ROM to /mnt/cdrom and
# set ROOT to 'file:/mnt/cdrom' in /etc/swaret.conf.
# Also, set NIC to 'lo' (Local Loop Device).
#
# NIC=lo
#
# Progress
# If set to 0, swaret will use the '%' Download Interface.
# If set to 1, swaret will use the 'size' Download Interface.
# If set to 2, swaret will use the 'wget/rsync' Download Interface.
#
PROGRESS=1
#
# Timeout for wget and/or rsync.
# -> Number of seconds for Timeout
#
TIMEOUT=35
#
# Retries for wget and/or rsync.
# -> Number of Retries
#
RETRIES=5
#
# Behind a Firewall? Using FTP Mirrors?
# -> 1 for yes, 0 for no
#
PASSIVE_FTP=1
#
# If you want HTTP or FTP Proxy Support,
# uncomment and Setup the following Variable:
#
# WGET_PROXY=http://IP or HOST:PORT
#
# If you want RSYNC Proxy Support,
# uncomment and Setup the following Variable:
#
# RSYNC_PROXY=IP or HOST:PORT
#
### /etc/swaret.conf - SWARET EXAMPLE CONFIGURATION FILE ###
 
Old 10-10-2004, 04:00 PM   #4
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Quote:
# Syntax: DEP_ROOT=PROTOCOL:URL
#
# NOTE: swaret will use the order of the specified DEP_ROOT URL's.
#
#DEP_ROOT=file:/mnt/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
becomes

Code:
# Syntax: DEP_ROOT=PROTOCOL:URL
#
# NOTE: swaret will use the order of the specified DEP_ROOT URL's.
#
#DEP_ROOT=file:/mnt/cdrom
#DEP_ROOT=file:/mnt/dvdrom
#DEP_ROOT=file:/mnt/usbmemstick
DEP_ROOT=http://swaret.sourceforge.net
#DEP_ROOT=rsync://rsync.swaret.org/swaret
Because swaret.org doesn't exist.

Quote:
# Do you want swaret to use Random Slackware Linux Mirrors?
# -> 1 for yes, 0 for no.
#
RANDOMR=0
becomes

Code:
# Do you want swaret to use Random Slackware Linux Mirrors?
# -> 1 for yes, 0 for no.
#
RANDOMR=1
Because evryone else has this same config. It will go down the list of mirrors. One mirror will get hit a bunch more. Better for everyone if everyone goes with random.

Quote:
# Set to 1, if you want swaret to use the 'slocate' program
# to Search for missing Libraries.
# (be sure to issue the 'updatedb' Command regularly!)
# If DSEARCHM is set to 0, swaret will use
# the 'find' program to locate missing Libraries.
# -> 1 for yes, 0 for no.
#
DSEARCHM=0
Becomes

Code:
# Set to 1, if you want swaret to use the 'slocate' program
# to Search for missing Libraries.
# (be sure to issue the 'updatedb' Command regularly!)
# If DSEARCHM is set to 0, swaret will use
# the 'find' program to locate missing Libraries.
# -> 1 for yes, 0 for no.
#
DSEARCHM=1
Make sure that you "updatedb" often to update the slocate database. Particularly before large updates. This makes everything run MUCH faster.

Let me know if that works for you.
 
Old 10-10-2004, 04:37 PM   #5
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware14.2 64-Bit Desktop, Devuan 2.0 ASCII Toshiba Satellite Notebook
Posts: 2,798

Original Poster
Rep: Reputation: 792Reputation: 792Reputation: 792Reputation: 792Reputation: 792Reputation: 792Reputation: 792
great, it seemed to work, so i issued the commands: swaret --update , updatedb , then swaret --upgrade -a , and it seemed to be working fine, until it got to this point , when i decided to halt the process because of the failures... What now?

http://sunsite.cnlab-switch.ch/ftp/m...ckware-current ]
### Fetching gnuchess-4.0.pl80-i486-4 (1179 kB)...
--- 1179 kB/1179 kB [TOTAL: 66383 kB/400151 kB] ~ 376 kB/s DONE!
=> <MD5CHECK> MD5 for Package gnuchess-4.0.pl80-i486-4 OK!
[ http://www.slackware.no/slackware/slackware-current ]
### Fetching gnumeric-1.2.13-i486-1 (10886 kB)...
--- 0 kB/10886 kB [TOTAL: 66383 kB/400151 kB] ~ 0 kB/s FAILED!
[ ftp://ftp.slackware.at/slackware-current ]
### Fetching gnumeric-1.2.13-i486-1 (10886 kB)...
--- 10886 kB/10886 kB [TOTAL: 77269 kB/400151 kB] ~ 602 kB/s DONE!
=> <MD5CHECK> MD5 for Package gnumeric-1.2.13-i486-1 OK!
[ http://ftp.planetmirror.com/pub/slac...ckware-current ]
### Fetching gnupg-1.2.6-i486-1 (1566 kB)...
--- 1566 kB/1566 kB [TOTAL: 78836 kB/400151 kB] ~ 335 kB/s DONE!
=> <MD5CHECK> MD5 for Package gnupg-1.2.6-i486-1 OK!
[ http://www.slackware.no/slackware/slackware-current ]
### Fetching gst-plugins-0.8.1-i486-2 (1148 kB)...
--- 0 kB/1148 kB [TOTAL: 78836 kB/400151 kB] ~ 0 kB/s FAILED!
[ http://ftp.planetmirror.com/pub/slac...ckware-current ]
### Fetching gst-plugins-0.8.1-i486-2 (1148 kB)...
--- 0 kB/1148 kB [TOTAL: 78836 kB/400151 kB] ~ 0 kB/s FAILED!
[ ftp://ftp.slackware.no/pub/linux/sla...ckware-current ]
### Fetching gst-plugins-0.8.1-i486-2 (1148 kB)...
--- 0 kB/1148 kB [TOTAL: 78836 kB/400151 kB] ~ 0 kB/s FAILED!
[ http://www.slackware.at/data/slackware-current ]
### Fetching gst-plugins-0.8.1-i486-2 (1148 kB)...
--- 0 kB/1148 kB [TOTAL: 78836 kB/400151 kB] ~ 0 kB/s FAILED!
[ ftp://ftp.nluug.nl/pub/os/Linux/dist...ckware-current ]
### Fetching gst-plugins-0.8.1-i486-2 (1148 kB)...
--- 0 kB/1148 kB [TOTAL: 78836 kB/400151 kB] ~ 0 kB/s FAILED!
[ ftp://ftp.planetmirror.com/pub/slack...ckware-current ]
### Fetching gst-plugins-0.8.1-i486-2 (1148 kB)...
--- 0 kB/1148 kB [TOTAL: 78836 kB/400151 kB] ~ 0 kB/s FAILED!
[ ftp://ftp.slackware.at/slackware-current ]
### Fetching gst-plugins-0.8.1-i486-2 (1148 kB)...
--- 0 kB/1148 kB [TOTAL: 78836 kB/400151 kB] ~ 0 kB/s FAILED!

here is the sample of my swaret.conf

# NOTE 2: swaret will use the order of the specified REPOS_ROOT URL's.
#
#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
DEP_ROOT=http://swaret.sourceforge.net
#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

# Do you want swaret to use Random Slackware Linux Mirrors?
# -> 1 for yes, 0 for no.
#
RANDOMR=1

# Set to 1, if you want swaret to use the 'slocate' program
# to Search for missing Libraries.
# (be sure to issue the 'updatedb' Command regularly!)
# If DSEARCHM is set to 0, swaret will use
# the 'find' program to locate missing Libraries.
# -> 1 for yes, 0 for no.
#
DSEARCHM=1
 
Old 10-10-2004, 04:47 PM   #6
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Don't worry about the failures. You are updating a lot of packages. Sometimes they aren't on all the mirrors. If SWareT can't get a package from a mirror, it will try another. Do this (as root):

Code:
updatedb
swaret --update
swaret --upgrade -a
Let it finish. Do it all again. Don't even think about the "FAILED" messages. When you are done:

Code:
find /etc -name "*.new"
These need to be compared to the original conf files and the original files need to be edited accordingly.
 
  


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
Deleting Swaret files in /var/swaret?? Garibaldi3489 Slackware 2 12-30-2004 05:10 PM
How to swaret on hd from cd? h1tman Linux - General 2 10-03-2004 11:01 PM
help with swaret name_in_use450 Slackware 2 06-07-2004 05:34 PM
Mandrake 10.0 Gnome/KDE Taskbar icon settings...are there settings? LiquidRezin Linux - Newbie 2 03-22-2004 10:27 AM
Changing US keyboard settings to Spain (SP) settings or Mexico. zLinuxz Linux - General 4 12-01-2002 01:49 AM

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

All times are GMT -5. The time now is 10:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration