LinuxQuestions.org
Help answer threads with 0 replies.
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 01-17-2021, 10:13 AM   #1
Mackyboy123
Member
 
Registered: Feb 2020
Distribution: Slackware
Posts: 92

Rep: Reputation: Disabled
Where can I find a list of sbopkg


I would like to upgrade to slackware current and reinstall my sbopkg's, but I can't find where all my installed packages are listed.
 
Old 01-17-2021, 10:16 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,074

Rep: Reputation: 5522Reputation: 5522Reputation: 5522Reputation: 5522Reputation: 5522Reputation: 5522Reputation: 5522Reputation: 5522Reputation: 5522Reputation: 5522Reputation: 5522
Try this:
man sbopkg
or as root:
sbopkg --help

Be aware that not all packages can be rebuilt on -current without issue, see this thread:
https://www.linuxquestions.org/quest...ls-4175561999/

Last edited by Didier Spaier; 01-17-2021 at 10:18 AM.
 
Old 01-17-2021, 10:16 AM   #3
imitis
Member
 
Registered: Oct 2007
Location: Latvia, Liepaja
Distribution: Slackware
Posts: 92

Rep: Reputation: 29
this command should do it

Code:
# sbopkg -p

Last edited by imitis; 01-17-2021 at 10:18 AM.
 
Old 01-17-2021, 10:17 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
See https://docs.slackware.com/slackware...ement_hands_on
 
Old 01-18-2021, 01:13 AM   #5
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Rep: Reputation: Disabled
The list of all installed packages is in /var/log/packages

All SBo packages have a "SBo" suffix, filter by that
 
Old 01-18-2021, 02:22 AM   #6
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 497

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by FlinchX View Post
The list of all installed packages is in /var/log/packages
fwiw I wrote a little script "lstgz" long ago to list packages filtered by name and by content. Maybe someone finds it helpful. With that, "lstgz sbo" answers the question.

Code:
#!/bin/bash
packdir=/var/log/packages/
grepoptions="-H"
if [ $# = 1 ] ; then
  ls -1 $packdir | grep -i "$1"
elif [ $# = 2 ] ; then
  pushd $packdir > /dev/null
  for file in $(ls -1 | grep -i "$1") ; do 
    grep $grepoptions "$2" $file
  done
  popd > /dev/null
else
  echo "usage: $0 <fragment of package> [<fragment of content>]"
fi
 
1 members found this post helpful.
Old 01-18-2021, 09:36 AM   #7
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,708

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
Quote:
Originally Posted by Mackyboy123 View Post
I would like to upgrade to slackware current and reinstall my sbopkg's, but I can't find where all my installed packages are listed.
If what you are asking what slackbuilds packages you have installed on your system, you can just run this

Code:
ls /var/log/packages | grep SBo
If you plan on reinstalling it may be a good idea to pipe that information out to a text file.

Code:
ls /var/log/packages | grep SBo > SBo_packages.txt
 
  


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
"Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/signal-xenial.list" jameswilson0609 Linux - Newbie 3 05-29-2019 12:04 PM
E: Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/mono-official.list 221B Linux - Newbie 6 09-07-2017 12:14 PM
SBOPKG(8) not list/show/build dependencies of SlackBuild scripts to build Slackware p xavi_slacky Slackware 3 06-13-2013 07:53 PM
[SOLVED] sbopkg can't find 14.0 slackass Slackware 2 10-02-2012 05:57 PM
'E:Malformed line 54 in source list /etc/apt/sources.list (dist parse), E:The list of vsssuccess@gmail.com Linux - Desktop 1 11-17-2010 08:17 AM

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

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