LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-31-2019, 03:45 PM   #16
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,665

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297

Quote:
Originally Posted by bamunds View Post
My 0.38.1 version of /usr/sbin/sbopkg has more than three spots with /var/log/packages. Do they all need to be changed? Or is the logic for those three line instances the only critical ones? Thanks for the heads up. I wonder if anyone passed this on willysr? Cheers,
Willy already fixed it, there just hasn't been a new release yet.

Edit: nevermind, I see your edit.
 
Old 12-31-2019, 05:52 PM   #17
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,476

Rep: Reputation: 4270Reputation: 4270Reputation: 4270Reputation: 4270Reputation: 4270Reputation: 4270Reputation: 4270Reputation: 4270Reputation: 4270Reputation: 4270Reputation: 4270
Quote:
Originally Posted by bamunds View Post
0.38.1 version for stable, /usr/sbin/sbopkg has more than three spots with /var/log/packages.
First is this even an issue for stable?
No, this works fine on 14.2. The issue is with /var/log/packages being a symlink to /var/lib/pkgtools/packages on -current, if you do an ls on /var/log/packages, it will show the symlink, where if you add the trailing slash, it will show the contents of the symlinked location.

Code:
jbhansen@febtober:~$ ls -l /var/log/packages
lrwxrwxrwx 1 root root 24 May 28  2019 /var/log/packages -> ../lib/pkgtools/packages/
jbhansen@febtober:~$ ls -l /var/log/packages/ | head -n10
total 28448
-rw-r--r-- 1 root root    3443 May 28  2019 ConsoleKit2-1.0.0-x86_64-4
-rw-r--r-- 1 root root   62507 May 28  2019 Cython-0.29.7-x86_64-1
-rw-r--r-- 1 root root   12496 May 28  2019 GConf-3.2.6-x86_64-4
-rw-r--r-- 1 root root    1824 May 28  2019 LibRaw-0.18.12-x86_64-1
-rw-r--r-- 1 root root   12181 May 28  2019 M2Crypto-0.33.0-x86_64-1
-rw-r--r-- 1 root root    7173 May 28  2019 MPlayer-20190418-x86_64-1
-rw-r--r-- 1 root root    8512 May 28  2019 Mako-1.0.10-x86_64-1
-rw-r--r-- 1 root root   10993 May 28  2019 ModemManager-1.10.0-x86_64-1
-rw-r--r-- 1 root root   43502 May 28  2019 NetworkManager-1.18.1-x86_64-1
Quote:
Originally Posted by bamunds View Post
Second, if answer to first is yes then do all occurrences need to change?
if no, then never mind nothing to see here... Cheers and Happy New Year!
The only thing that *needs* to change is anything with an ls for /var/log/packages without the trailing slash. If you add a trailing slash, it will then work properly on both 14.2 and -current.

Willy has changed this on sbopkg's master for when 15.0 is released, but this commit won't work on 14.2 and older since it changes the package database location from /var/log/packages to /var/lib/pkgtool/packages.
 
3 members found this post helpful.
Old 01-02-2020, 11:22 PM   #18
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2 SDDM/FVWM
Posts: 691

Rep: Reputation: 222Reputation: 222Reputation: 222
Quote:
Originally Posted by bassmadrigal View Post
No, this works fine on 14.2.
Thanks for the reply. Appreciate the clarity. Cheers.
 
  


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
Sbopkg says I have no packages installed CyDFect Slackware 6 10-06-2019 02:11 AM
[SOLVED] Sbopkg and installed SBo-git packages (Not appears) Gugur Slackware 11 07-22-2018 04:47 AM
Can sbopkg track packages installed from other repositories? giomat Slackware 3 04-23-2018 01:07 PM
[SOLVED] Keeping updated the packages installed via sbopkg. A couple of questions. disco_slack Slackware 8 07-19-2011 12:03 PM
Sort installed packages by # of dependant packages installed brianez21 Debian 1 01-18-2006 06:06 PM

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

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