SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed Slackware quite awhile ago now, and am starting to wish that I'd done a full install instead of cherry-picking my packages. Is there any way I can do it retroactively... you know, just add all the stuff I didn't install? I'm running -current.
pkgtool can do this. You'll have to point it to each package directory on each CD you want to install from , and it will ask you to confirm each package, as it is installed.
I did slackpkg install-new, and it tells me that there's nothing to install. I know for a fact that's not the case; there's a ton of stuff I elected to not install when I did the initial Slackware installation. Here's my slackpkg.conf:
Code:
#
# slackpkg.conf - Configuration for SlackPkg
# v2.8
#
#
# SlackPkg - An Automated packaging tool for Slackware Linux
# Copyright (C) 2003-2010 Roberto F. Batista, Evaldo Gardenali
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# Project Page: http://slackpkg.org/
# Roberto F. Batista (aka PiterPunk) piterpunk@slackware.com
# Evaldo Gardenali (aka UdontKnow) evaldogardenali@fasternet.com.br
#
# For configuration options that have only two states, possible values are
# either "on" or "off"
# Remember, the only official Slackware ports are x86, s390 and arm, and
# slackpkg developers don't have s390 boxes for testing. If you are
# testing/using other architectures and have suggestions or patches,
# please let me know (piterpunk@slackware.com)
#
# Select the architecture of your system. Valid values are:
# i#86 (where # is 3, 4, 5 or 6)
# x86_64
# s390
# arm* (* can be v4, v5tejl, and other ARM versions)
# powerpc
#
# The line is commented because slackpkg will try to find your
# architecture automagically. If you want to override what slackpkg
# finds, put the value after the = and uncomment this line
#ARCH=
# The default PKGMAIN is "slackware", but some derived distros use other
# names as the main directory. PKGMAIN is the place with the slackware
# package series (a, ap, n, ... ).
#
# Usually slackpkg can automagically discover this variable. If you want
# to override the discovered variable, then uncomment this line and change
# it to reflect the correct value of PKGMAIN
#PKGMAIN=slackware
# Slackware packages are signed by project key. Slackpkg uses this key
# to check if the packages downloaded are valid, so remember to set
# CHECKGPG to "on".
#
# Usually slackpkg can automagically discover this variable. If you want
# to override the discovered variable, then uncomment this line and edit
# as needed
#SLACKKEY="Slackware Linux Project <security@slackware.com>"
# Downloaded files will be in directory below:
TEMP=/var/cache/packages
# Package lists, file lists, and others will be at WORKDIR:
WORKDIR=/var/lib/slackpkg
# Special options for wget (default is WGETFLAGS="--passive-ftp")
WGETFLAGS="--passive-ftp"
# If DELALL is "on", all downloaded files will be removed after install.
DELALL=on
# If CHECKMD5 is "on", the system will check the md5sums of all packages before
# install/upgrade/reinstall is performed.
CHECKMD5=on
# If CHECKGPG is "on", the system will verify the GPG signature of each package
# before install/upgrade/reinstall is performed.
CHECKGPG=on
# If CHECKSIZE is "on", the system will check if we have sufficient disk
# space to install selected package. This make upgrade/install safer, but slow
# upgrade/install process.
CHECKSIZE=off
# PRIORITY sets the download priority. slackpkg will try to found the
# package first in the first value, then the second one, through all
# values in list.
#
# Default value: patches %PKGMAIN extra pasture testing
PRIORITY=( patches %PKGMAIN extra pasture testing )
# Enables (on) or disables (off) slackpkg's post-installation features, such
# as checking for new (*.new) configuration files and new kernel images, and
# prompts you for what it should do. Default=on
POSTINST=on
# Post-installation features, by default, search all of /etc for .new files.
# This is the safe option: with it, you won't have any unmerged .new files
# to cause problems. Even so, some people prefer that only the .new files
# installed by the current slackpkg session be checked.
# If this is your case, change ONLY_NEW_DOTNEW to "on".
# Default=off
ONLY_NEW_DOTNEW=off
# The ONOFF variable sets the initial behavior of the dialog interface.
# If you set this to "on" then all packages will be selected by default.
# If you prefer the opposite option (all unchecked), then set this to "off".
ONOFF=on
# If this variable is set to "on", all files will be downloaded before the
# requested operation (install or upgrade) is performed. If set to "off",
# then the files will be downloaded and the operation (install/upgrade)
# performed one by one. Default=off
DOWNLOAD_ALL=off
# Enables (on) or disables (off) the dialog interface in slackpkg. Default=on
DIALOG=on
# Enables (on) or disables (off) the non-interactive mode. If set to "on",
# slackpkg will run without asking the user anything, and answer all questions
# with DEFAULT_ANSWER. If you do any upgrades using this mode, you'll need to
# run "slackpkg new-config" later to find and merge any .new files.
BATCH=off
# Default answer to slackpkg questions. Can be "y" or "n".
DEFAULT_ANSWER=n
# Slackpkg allows a template to "include" the packages specified in another
# template. This option enables (on) or disables (off) the parsing of
# any "#include" directives in template files. Default=on
USE_INCLUDES=on
# Enables a spinning bar as visual feedback when slackpkg is making its
# internal lists and some other operations. Default=on
SPINNING=on
# Max number of characters that "dialog" command can handle.
# If unset, this variable will be 19500 (the number that works on
# Slackware 10.2)
DIALOG_MAXARGS=139000
#
# The MIRROR is set from /etc/slackpkg/mirrors
# You only need to uncomment the selected mirror.
# Uncomment one mirror only.
#
A properly configured slackpkg requires that a suitable mirror is uncommented in /etc/slackpkg/mirrors. Remember to also remove the leading space character in addition to the pound i.e # symbol.
It is a good idea to blacklist any kernel packages that you are not using in /etc/slackpkg/blacklist.
A properly configured slackpkg requires that a suitable mirror is uncommented in /etc/slackpkg/mirrors. Remember to also remove the leading space character in addition to the pound i.e # symbol.
It is a good idea to blacklist any kernel packages that you are not using in /etc/slackpkg/blacklist.
I just removed the leading character from my mirror; it still says there's nothing new to install. I'll try it with the DVD if I can find it...
Have you done 'slackpkg update'? This is a necessary first step.
Also, if you use the DVD method, you should do:
'cd /etc'
'find . -name "*.new" -print'
so that you can identify any new configuration files that may require your attention.
install-new
This action installs any new packages that are added to the official Slackware package set. Run this if you are
upgrading your system to another Slackware version or if you are using -current.
If you want to install all uninstalled Slackware packages onto your system, use the following command instead of the
install-new action:
Or just go into each directory on the CD/DVD under the 'slackware' directory and type
Code:
upgradepkg --install-new *.t?z
you will get warnings that "this package has already been installed"... but it should go through all the ones that aren't and install them...
On a side note, you will have to re apply the patches/updates as the 'upgradepkg' command indiscriminately 'upgrades' the package to any version of the package that is different than the one installed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.