LinuxQuestions.org
Review your favorite Linux distribution.
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 04-29-2019, 05:05 PM   #1
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Nixos, Arch, Centos
Posts: 150

Rep: Reputation: Disabled
slackpkg not tracking installs


Hey folks, I'm having an issue where slackpkg is not seeing the software I've installed (meaning a few SBo packages installed with installpkg). It has reliably tracked them in the past, so this is new.

pkgtool sees them just fine. Have tried slackpkg update and reinstalling slackpkg (slackpkg reinstall slackpkg) to no avail.

Any suggestions?

Running -current.
 
Old 04-29-2019, 09:18 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,267

Rep: Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629
What do you mean by "not seeing the software I've installed"?
 
Old 04-29-2019, 11:36 PM   #3
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Nixos, Arch, Centos
Posts: 150

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Richard Cranium View Post
What do you mean by "not seeing the software I've installed"?
Meaning slackpkg clean-system shows nothing. It simply says 'no packages match the pattern for clean-system.' Under normal circumstances, it would show SBo packages I've installed. And pkgtool does -- clicking 'Remove' shows the expected list of programs installed.
 
Old 04-29-2019, 11:56 PM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,267

Rep: Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629
If you upgraded slackpkg, it might have an exclusion in place to prevent the zapping of SBo packages. What does /etc/slackpkg/blacklist have in it?

I'm running version 2.82.1 and the appropriate line in /etc/slackpkg/blacklist is commented out for SBo packages. slackpkg wants to kill them all on a clean-system.
 
Old 04-30-2019, 12:19 AM   #5
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Nixos, Arch, Centos
Posts: 150

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Richard Cranium View Post
What does /etc/slackpkg/blacklist have in it?
Looks like no funny business in there. Everything is commented out including the [0-9]+_SBo line.
 
Old 05-01-2019, 04:35 PM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,267

Rep: Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629
This may seem like a silly question, but are any of your SBo packages reflected in /var/log/packages?
 
Old 05-01-2019, 06:20 PM   #7
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Nixos, Arch, Centos
Posts: 150

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Richard Cranium View Post
This may seem like a silly question, but are any of your SBo packages reflected in /var/log/packages?
No. Just the system base is listed there. It's interesting that slackpkg is not able to install new packages either. Using upgrade-all, it kicks up the error:

Code:
Error: there is no installed package named xkeyboard-config-2.26-noarch-2.
(looking for /var/lib/pkgtools/packages/xkeyboard-config-2.26-noarch-2)
I left "xkeyboard" in the snippet, but it's true of all the new programs listed as available updates. Slackpkg sees them but can't install them.
 
Old 05-01-2019, 06:35 PM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,959

Rep: Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655
Did you happen to install -current's slackpkg on 14.2? There is a new location for the package database in -current, which will be used on Slackware 15.0 and up. I'm not sure if slackpkg was tweaked to support that new location, which may break using a newer version of slackpkg on an older version of Slackware.
 
2 members found this post helpful.
Old 05-01-2019, 07:46 PM   #9
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Nixos, Arch, Centos
Posts: 150

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Did you happen to install -current's slackpkg on 14.2? There is a new location for the package database in -current, which will be used on Slackware 15.0 and up. I'm not sure if slackpkg was tweaked to support that new location, which may break using a newer version of slackpkg on an older version of Slackware.
I absolutely did. This sounds like a potential explanation.
 
Old 05-01-2019, 08:51 PM   #10
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,481

Rep: Reputation: 1103Reputation: 1103Reputation: 1103Reputation: 1103Reputation: 1103Reputation: 1103Reputation: 1103Reputation: 1103Reputation: 1103
I'm confused, because in your first post you said you were running -current. Are you running -current, or not?
 
Old 05-02-2019, 12:22 AM   #11
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Nixos, Arch, Centos
Posts: 150

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Did you happen to install -current's slackpkg on 14.2?
So the issue was that I used the 14.2 iso to boot, but used the -current mirror (a downloaded copy) to install. Going back, I simply installed 14.2 from the boot USB, and then upgraded to current from 14.2 and it worked as it always has.

The system was in all respects functional, but it was clear I mangled slackpkg by following a dubious route to reach the goal.

Thank you both for your help in sorting this out.
 
Old 05-11-2019, 05:30 PM   #12
vigi
Member
 
Registered: May 2009
Location: australia
Distribution: slackware
Posts: 187

Rep: Reputation: 30
slackpkg packages logs in current

I have made the same mistake--used a 14.2 dvd to setup a new install from an external hard drive of the current packages. The system works perfectly, but for slackpkg. I have selected a current64 mirror.

If I install extra packages manually, they work and can be found in /var/lib/pkgtools/packages --- but when I check slackpkg clean-system they are not listed.
If I slackpkg install-new the pkgs are not found on the mirror, while slackpkg update works no errors.

How do I edit slackpkg so that it finds the correct package locations for current.
I have tried reinstalling -- did no good; and if I check slackpkg config file it shows only WORKING DIR: WORKDIR=/var/lib/slackpkg ???
 
Old 05-11-2019, 05:55 PM   #13
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,267

Rep: Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629Reputation: 1629
You should start your own thread versus piggybacking off of someone else's [SOLVED] thread.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
@FedEx Tracking: pasting correct tracking # causes error; typing same works mike3644 Linux - Software 7 02-15-2018 03:55 PM
[SOLVED] [ENCHANCEMENT] slackpkg+: do not show the notices "pkglist is older than 24h..." and "remember to re-run 'slackpkg update''..."... yars Slackware 1 01-09-2016 09:56 AM
[SOLVED] Slackpkg, Slackpkg Plus, Slackware 14.1 x86_64 install.log delay or slow to write bamunds Slackware 7 04-22-2014 11:12 AM
[SOLVED] typos in latest /etc/slackpkg/mirrors(.new) [slackpkg-2.82.0-noarch-8.tgz] wailingwailer Slackware 4 09-22-2012 04:04 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 12:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration