swaret - FAQ
--------------------------------------------------------------------------------------
(Newest Questions on top!)

Q: I want swaret to Upgrade my Slackware System using a cronjob, is it possible?
A: For Example: I want swaret to Upgrade my Slackware System every day at 3:00 PM,
   use the following cronjob rule: 
   * 3 * * * /usr/sbin/swaret --update && /usr/sbin/swaret --up-all -A
   NOTE: If DEPENDENCY is set to 1 in /etc/swaret.conf, 
         remember also to set DINTERACTIVE to 0 
         (to skip User Confirmation during Dependency Check)
   If you want to know which Packages/Patches/Extra Packages have been Upgraded,
   take a look to the swaret Log File (default: /var/log/swaret).

Q: Can i use more then one 'File' URL in /etc/swaret.conf?
A: Yes, if you got a CD-ROM mounted to /mnt/cdrom and
   a NFS Share mounted to /mnt/slackware, you can add
   both to the ROOT Variables in /etc/swaret.conf.
   Remember, you can 't use the FTP/HTTP/RSYNC Protocol
   when using the File Protocol!

Q: Can i use NFS Shares or Samba Shares with swaret?
A: Yes, you can! 
   For Example (NFS or Samba):
   You got a Copy of Slackware Linux on a Server and
   it's Shared with NFS or Samba...
   Mount the NFS Share or Samba Share to /mnt/slackware and
   set ROOT to 'file:/mnt/slackware' in /etc/swaret.conf.

Q: Can i use my Slackware Linux CD-ROM with swaret?
A: Yes, you can!
   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.

Q: swaret hangs, what should it do?
A: Hold down 'CTRL + C' to break swaret, and restart.

Q: I enabled PGP Signature Check in swaret.conf, how does it work?
A: First of all, you will need the PGP Public Key from Patrick Volkerding,
   it can be found in the Slackware ROOT. Once you downloaded the GPG-KEY,
   you can import it with: swaret --pgp -i /path/to/GPG-KEY.
   From now on, every File downloaded by swaret will be checked by the PGP Check.

Q: What should I do if swaret cannot find a Package in the List Files?
A: Try to Search the Package on your Favorite Search Engine.
   Google is our recommended Search Engine, www.google.com.
   You may try Web Sites that offers Slackware Packages.

Q: What should I do if swaret cannot resolve a missing Library to a Package?
A: Try to Re-Install the newest version of the Package. If this doesn't work,
   look for Documentation for what Programs or Libraries are needed by that Package.
   Finally, use the Libraries as a Keyword to Search on your Favorite Search Engine.
   Google is our recommended Search Engine, www.google.com.

Q: I want to Re-Install the whole Base System, how to?
A: In the Slackware Packages tree you got directories:
   a/ ap/ d/ e/ f/ gnome/ k/ kde/ kdei/ l/ n/ t/ tcl/ x/ xap/ y/
   The Base System Files can be found in the directory a/...
   To Re-Install the Base System: swaret --reinstall "a/"

Q: swaret does not Upgrade my Kernel, what todo?
A: Remove the KEYWORD 'kernel' from the EXCLUDE Variable in /etc/swaret.conf.
   If your System is f*cked up after a Kernel Upgrade, it's your problem.
   If you are an expert, you know how to handle it anyway.
   I would advise you to compile your own Kernel using the Source.

Q: Will swaret start LILO after Upgrading Kernel?
A: Yes.
   NOTE: If the KEYWORD 'kernel' is found in the EXCLUDE Variable in /etc/swaret.conf.
         LILO will not be started, so remove it.

Q: Will swaret start LILO after Upgrading LILO?
A: Yes.
   NOTE: If the KEYWORD 'lilo' is found in the EXCLUDE Variable in /etc/swaret.conf.
         LILO will not be started, so remove it.

Q: I want swaret to Upgrade first the most 'important'
   Packages/Patches/Extra Packages followed by the other
   Packages/Patches/Extra Packages when Upgrading, how to?
A: Add the KEYWORD (For Example: glibc) to the IMPORTANT Variable in /etc/swaret.conf.
   and start the Upgrade process (--upgrade).
   When using the Upgrade action, it will first Upgrade the
   Packages/Patches/Extra Packages found in the IMPORTANT Variable in /etc/swaret.conf.

Q: I want 'only' some Packages/Patches/Extra Packages when Upgrading, how to?
A: Add the KEYWORDS (For Example: kde, qt and xfree86) to
   the ONLY Variable in /etc/swaret.conf and start the Upgrade process (--upgrade).
   When using the Upgrade action, it will only Upgrade the
   Packages/Patches/Extra Packages found in the ONLY Variable in /etc/swaret.conf.

Q: I want 'exclude' some Packages/Patches/Extra Packages when Upgrading, how to?
A: Add the KEYWORDS (For Example: kde, qt and xfree86) to
   the EXCLUDE Variable in /etc/swaret.conf and start the Upgrade process (--upgrade).
   When using the Upgrade action, it will NOT Upgrade the
   Packages/Patches/Extra Packages found in the EXCLUDE Variable in /etc/swaret.conf.

Q: Can I Upgrade Slackware 7.1 or Slackware 8.0 to Slackware 8.1 or Higher or Current?
A: No you can 't! Slackware 8.0 or Lower is using the OLD Slackware Package Scheme. 
   Slackware 8.1 or Higher or Current is using the NEW Slackware Package Scheme.
 
   OLD: pkgname.tgz
   NEW: packagename-version-arch-build.tgz

   If you are using Slackware 8.1 or Higher or Current,
   you will be able to use swaret without any problem!

Q: When using swaret i get some ERRORs to fix.
A: If the ERROR would sound like one of these...:
   - ERROR: Please fix 'VERSION' in /etc/swaret.conf!
   - ERROR: Please fix 'VERSION' or 'ROOT' in /etc/swaret.conf!

   Just check out if the VERSION is coming up in the ROOT variables.

   So if you have VERSION=9.0, you need also to check that '9.0' 
   is coming up in the ROOT variables:

   ROOT=ftp://ftp.slackware.no/pub/linux/slackware/slackware-9.0/
   ROOT=ftp://ftp.slackware.at/slackware-9.0/
   ROOT=http://www.slackware.at/data/slackware-9.0/
   ROOT=http://ftp.planetmirror.com/pub/slackware/slackware-9.0/
   ROOT=rsync://slackware.orbital.us/slackware/slackware-9.0/
   ROOT=rsync://rsync.slackware.at/slackware/slackware-9.0/

   If one of these ROOT variables contains 'current' or another VERSION 
   instead of 9.0, then you will need to fix that too if you want to use VERSION 9.0.

Q: How can i Upgrade Slackware 8.1 safely to Slackware 9.0?
A: Edit /etc/swaret.conf, set VERSION and ROOT to 9.0.

   Now retrieve the newest List Files (9.0).
   swaret --update

   Now download a/glibc-solibs, a/pkgtools, a/bin and a/sed.
   swaret --download glibc-solibs -a
   swaret --download pkgtools -a
   swaret --download bin -a
   swaret --download sed -a

   Go to the Cache Directory (/var/swaret) and
   apply the following Commands in the Shell (sh).
   upgradepkg glibc-solibs*.tgz
   upgradepkg pkgtools*.tgz
   upgradepkg bin*.tgz
   installpkg sed*.tgz

   Upgrade Slackware Linux 8.1 to Slackware Linux 9.0 with:
   swaret --upgrade (manually)
   OR
   swaret --upgrade -a (automatically)


   NOTE:
   If you already tried to Upgrade to current and it gives problems,
   download a/glibc-solibs, a/pkgtools, a/bin and a/sed manually from any available Mirror below.

     ftp://ftp.slackware.no/pub/linux/slackware/slackware-9.0/
     ftp://ftp.slackware.at/slackware-9.0/
     http://www.slackware.at/data/slackware-9.0/
     http://ftp.planetmirror.com/pub/slackware/slackware-9.0/
     rsync://slackware.orbital.us/slackware/slackware-9.0/
     rsync://rsync.slackware.at/slackware/slackware-9.0/

     More Slackware Linux Mirrors available at http://www.slackware.com

   After download use the Commands below and start swaret over again to Upgrade.

     upgradepkg glibc-solibs*.tgz
     upgradepkg pkgtools*.tgz
     upgradepkg bin*.tgz
     installpkg sed*.tgz

     swaret --upgrade (manually)
     OR
     swaret --upgrade -a (automatically)

Q: How can i Upgrade Slackware 8.1 safely to Slackware Current?
A: Edit /etc/swaret.conf, set VERSION and ROOT to current.
  
   Now retrieve the newest List Files (current). 
   swaret --update

   Now download a/glibc-solibs, a/pkgtools, a/bin and a/sed.
   swaret --download glibc-solibs -a
   swaret --download pkgtools -a
   swaret --download bin -a 
   swaret --download sed -a
  
   Go to the Cache Directory (/var/swaret) and 
   apply the following Commands in the Shell (sh).
   upgradepkg glibc-solibs*.tgz
   upgradepkg pkgtools*.tgz
   upgradepkg bin*.tgz
   installpkg sed*.tgz

   Upgrade Slackware Linux 8.1 to Slackware Linux Current with:
   swaret --upgrade (manually)
   OR
   swaret --upgrade -a (automatically)


   NOTE: 
   If you already tried to Upgrade to current and it gives problems,
   download a/glibc-solibs, a/pkgtools, a/bin and a/sed manually from any available Mirror below.

     ftp://ftp.slackware.no/pub/linux/slackware/slackware-current/
     ftp://ftp.slackware.at/slackware-current/
     http://www.slackware.at/data/slackware-current/
     http://ftp.planetmirror.com/pub/slackware/slackware-current/
     rsync://slackware.orbital.us/slackware/slackware-current/
     rsync://rsync.slackware.at/slackware/slackware-current/

     More Slackware Linux Mirrors available at http://www.slackware.com

   After download use the Commands below and start swaret over again to Upgrade.
         
     upgradepkg glibc-solibs*.tgz
     upgradepkg pkgtools*.tgz
     upgradepkg bin*.tgz
     installpkg sed*.tgz

     swaret --upgrade (manually)
     OR
     swaret --upgrade -a (automatically)

--------------------------------------------------------------------------------------
E-Mail: xbone@xbone.be - mgmanry@linuxorbit.com
MSN: xbone@xbone.be - linuxsneaker@hotmail.com
ICQ: 10527685 - 9427006
WWW: http://swaret.xbone.be
