LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-07-2021, 04:08 AM   #1
j12i
Member
 
Registered: Nov 2013
Location: UTC+1
Distribution: Slackware64 15.0
Posts: 164

Rep: Reputation: Disabled
`slackpkg help` should work even when 'The package list is missing.'


So today, a new slackpkg update came in.
With the message slackpkg was upgraded - you will need start the upgrade process again..., I knew I wanted to consider the .new files from the slackpkg update first. But what was that command again? I type `slackpkg help`, but that doesn't tell me that what I want is `slackpkg new-config`. Instead
Code:
The package list is missing.
Before you install|upgrade|reinstall anything you need to run:

        # slackpkg update
I think that when I type help, the help should be shown, even in this case.
 
Old 07-07-2021, 04:20 AM   #2
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
It's called "man slackpkg".
 
1 members found this post helpful.
Old 07-07-2021, 04:45 AM   #3
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,456

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
Well, slackpkg help output provides a quicker to read help compared to man, so it wouldn't hurt for it to be displayed even if the package list was missing.
 
2 members found this post helpful.
Old 07-07-2021, 10:20 AM   #4
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,989

Rep: Reputation: 1563Reputation: 1563Reputation: 1563Reputation: 1563Reputation: 1563Reputation: 1563Reputation: 1563Reputation: 1563Reputation: 1563Reputation: 1563Reputation: 1563
I have spoons.
 
Old 07-08-2021, 04:36 PM   #5
j12i
Member
 
Registered: Nov 2013
Location: UTC+1
Distribution: Slackware64 15.0
Posts: 164

Original Poster
Rep: Reputation: Disabled
Should I mention that `slackpkg new-config` works in the above situation?
 
Old 07-10-2021, 02:03 AM   #6
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 191

Rep: Reputation: 49
I opened a pull request for this on Robby's repo on Github.
 
1 members found this post helpful.
Old 07-10-2021, 01:42 PM   #7
j12i
Member
 
Registered: Nov 2013
Location: UTC+1
Distribution: Slackware64 15.0
Posts: 164

Original Poster
Rep: Reputation: Disabled
Thanks!
I would have written the patch, but I thought it would be much less work for someone with more knowledge of the codebase/bash.
 
Old 07-11-2021, 09:43 AM   #8
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 191

Rep: Reputation: 49
Change has been merged in git, should be in the next release, whenever that is.
 
  


Reply

Tags
config, slackpkg



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
Help With Nasty Slackpkg/Slackpkg+ SNAFU enorbet Slackware 14 03-27-2021 09:01 PM
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
slackpkg+ (slackpkgplus) creates glitch with slackpkg installing full package series Poprocks Slackware 5 07-22-2018 05:47 AM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM

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

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