LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-14-2010, 07:46 AM   #1
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Rep: Reputation: 96
Full install after the fact


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.
 
Old 11-14-2010, 08:00 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
With a properly configured slackpkg, do 'slackpkg install-new'.
 
Old 11-14-2010, 08:02 AM   #3
ortho-orange#42
LQ Newbie
 
Registered: Feb 2005
Distribution: Slackware
Posts: 16

Rep: Reputation: 2
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.
 
Old 11-14-2010, 08:03 AM   #4
ortho-orange#42
LQ Newbie
 
Registered: Feb 2005
Distribution: Slackware
Posts: 16

Rep: Reputation: 2
Quote:
Originally Posted by allend View Post
With a properly configured slackpkg, do 'slackpkg install-new'.
This looks even better than pkgtool, will have to remember this one!
 
Old 11-14-2010, 08:07 AM   #5
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Cool

Quote:
Originally Posted by ortho-orange#42 View Post
This looks even better than pkgtool, will have to remember this one!
The slackpkg utility comes with Slackware or you can download it here:

http://www.slackpkg.org/documentation.html

The slackpkg utility is an excellent way to upgrade your Slackware system or install software.
 
Old 11-14-2010, 08:14 AM   #6
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
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.
#
 
Old 11-14-2010, 08:31 AM   #7
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
oops

Last edited by piratesmack; 11-14-2010 at 08:35 AM.
 
Old 11-14-2010, 08:34 AM   #8
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
I think 'slackpkg install-new' only installs packages that were added to the Slackware tree, not packages you didn't select during install.

You can mount your Slackware DVD and run something like:
Code:
upgradepkg --install-new /mnt/cdrom/slackware/*/*.t?z
Or if you want to skip the KDEI language packs, you can do:
Code:
upgradepkg --install-new /mnt/cdrom/slackware/{a,ap,d,e,f,k,kde,l,n,t,tcl,x,xap,y}/*.t?z

Last edited by piratesmack; 11-14-2010 at 10:26 AM.
 
1 members found this post helpful.
Old 11-14-2010, 08:38 AM   #9
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
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.
 
Old 11-14-2010, 08:56 AM   #10
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Quote:
Originally Posted by allend View Post
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...
 
Old 11-14-2010, 08:59 AM   #11
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
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.

Last edited by allend; 11-14-2010 at 09:03 AM.
 
Old 11-14-2010, 09:03 AM   #12
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Yes, I did.
 
Old 11-14-2010, 11:02 AM   #13
rfernandez
Member
 
Registered: Mar 2010
Location: Brazil
Distribution: Slackware64
Posts: 264

Rep: Reputation: 41
I think the proper slackpkg command would be

Code:
# slackpkg install slackware
as in the man-pages of slackpkg:

Quote:
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:

# slackpkg install slackware.
 
Old 11-14-2010, 11:50 AM   #14
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
It just tells me there's no such package as "slackware"...
 
Old 11-14-2010, 12:20 PM   #15
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
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.

Last edited by lumak; 11-14-2010 at 12:23 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
EXT4, 3, 2, and / will not install on 16GB USB stick for Ubuntu FULL install drillerchicago Linux - Newbie 8 07-06-2010 07:03 PM
install gui after the fact? dsdonut Linux - Newbie 11 03-27-2009 12:58 PM
which one will takes more time Live install or full install-F10? hulk321 Linux - Software 3 11-26-2008 05:43 PM
Libtool cannot find libraries(that do in fact exist) during GAIM install sachingulaya Linux - Software 3 07-06-2004 08:31 PM
install lilo after the fact shanenin Linux - Software 4 09-04-2003 08:59 AM

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

All times are GMT -5. The time now is 07:10 AM.

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