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 04-27-2023, 03:20 AM   #61
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 634

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484

Quote:
Originally Posted by h2-1 View Post
rizitis, thanks for the repo file sample, added that to pinxi, will be in next inxi, which should be out in a day or two, this was the last thing that came up to add. I think I got this right. This is based on your sample repo file.

Code:
Repos: 
....
  Active slpkg repos in: /etc/slpkg/repositories.toml    
    1: sbo ~ https://slackbuilds.org/slackbuilds/15.0/
    2: ponce ~ https://cgit.ponce.cc/slackbuilds/plain/
    3: slack_extra ~ https://slackware.uk/slackware/slackware64-current/extra/
    4: slack_patches ~ https://slackware.uk/slackware/slackware64-current/patches/
    5: alien ~ http://slackware.uk/people/alien/sbrepos/current/x86_64/
    6: restricted ~ https://slackware.nl/people/alien/restricted_sbrepos/current/x86_64/
    7: gnome ~ https://reddoglinux.ddns.net/linux/gnome/41.x/x86_64/
    8: conraid ~ https://slack.conraid.net/repository/slackware64-current/
My example is from old slpkg version.
Take a look here https://gitlab.com/dslackw/slpkg/-/b...ositories.toml
This is the latest repository.toml of slpkg
From there you will get your informations better I think.
 
Old 04-27-2023, 01:36 PM   #62
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 556

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
New pinxi handles this changed syntax, but also the old syntax. Thanks for letting me know it changed. The new one is recombined into a URL:

Code:
pinxi -r
...
  Active slpkg repos in: /home/harald/bin/scripts/inxi/data/repo/slackware/slpkg-2.toml
    1: sbo ~ https://slackbuilds.org/slackbuilds/15.0/
    2: ponce ~ https://cgit.ponce.cc/slackbuilds/plain/
    3: slack_extra ~ https://slackware.uk/slackware/slackware64-15.0/extra/
    4: slack_patches ~ https://slackware.uk/slackware/slackware64-15.0/patches/
    5: alien ~ https://slackware.nl/people/alien/sbrepos/15.0/x86_64/
    6: restricted ~ https://slackware.nl/people/alien/restricted_sbrepos/15.0/x86_64/
    7: gnome ~ https://reddoglinux.ddns.net/linux/gnome/41.x/x86_64/
    8: csb ~ https://slackware.uk/csb/15.0/x86_64/
    9: conraid ~ https://slack.conraid.net/repository/slackware64-current/
    10: slint ~ https://slackware.uk/slint/x86_64/slint-15.0/
 
Old 04-27-2023, 09:03 PM   #63
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Running slpkg-4.8.0 and it's pretty nifty. I'll still mostly run the SBo scripts manually - I don't upgrade all that often - but for some that have a whole bunch of little dependencies (ZoneMinder e.g.), it's nice to run slpkg to save some tedium.

I did run into a bit of a snag today with audacity. Seems the source is downloaded to the wrong /tmp/slpkg location:
Code:
# slpkg -d audacity
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                  Slpkg Download Packages                                                   │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ The following packages will be downloaded:                                                                                 │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Package:                      Version:                                                            Size:              Repo: │
│ audacity                      3.2.5                                                                                    sbo │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
1 packages will be downloaded in /tmp/slpkg folder.

Do you want to continue? [y/N] y

audacity-sources-3.2.5.tar.gz   100%[=====================================================>]  54.51M  77.9MB/s    in 0.7s    
audacity-manual-3.2.5.tar.gz    100%[=====================================================>]  21.23M  61.6MB/s    in 0.3s    
audacity.tar.gz                 100%[=====================================================>]   5.15K  --.-KB/s    in 0s      

Finished Successfully: [00:00:02]
Code:
# slpkg -i audacity
...
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                   Slpkg Install Packages                                                   │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ The following packages will be installed or upgraded:                                                                      │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Package:                      Version:                                                            Size:              Repo: │
│ audacity                      3.2.5                                                                                    sbo │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Dependencies:                                                                                                              │
│ soxr                          0.1.3                                                                                    sbo │
│ portsmf                       234                                                                                      sbo │
│ portmidi                      2.0.2                                                                                    sbo │
│ libsbsms                      20220812_e6c9c3b                                                                         sbo │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Total 4 packages will be installed and 0 will be upgraded.

Do you want to continue? [y/N] y

soxr-0.1.3-Source.tar.xz        100%[=====================================================>]  92.17K   475KB/s    in 0.2s    
portsmf-234.tar.gz              100%[=====================================================>] 174.03K   359KB/s    in 0.5s    
portmidi-v2.0.2.zip             100%[=====================================================>] 297.51K  --.-KB/s    in 0.1s    
libsbsms-20220812_e6c9c3b.tar.x 100%[=====================================================>] 101.99K   222KB/s    in 0.5s    


slpkg: Error: No such file or directory: '/tmp/slpkg/build/audacity/audacity-sources-3.2.5.tar.gz'.
It seems the buildscript and source are not expanding into the build directory.
Quote:
$ ls -l /tmp/slpkg
total 77576
-rw-r--r-- 1 root root 22260237 Mar 1 09:04 audacity-manual-3.2.5.tar.gz
-rw-r--r-- 1 root root 57163122 Mar 1 09:04 audacity-sources-3.2.5.tar.gz
-rw-r--r-- 1 root root 5276 Mar 17 19:59 audacity.tar.gz
drwxr-xr-x 10 root root 4096 Apr 27 18:19 build
Code:
$ ls -l /tmp/slpkg/build
total 32
drwxr-xr-x 2 root root 4096 Apr 16 15:05 alsaequal
drwxr-xr-x 2 root root 4096 Apr 16 15:05 caps
drwxr-xr-x 2 root root 4096 Apr 16 15:05 ladspa_sdk
drwxr-xr-x 2 root root 4096 Apr 27 18:19 libsbsms
drwxr-xr-x 2 root root 4096 Apr 27 18:19 portmidi
drwxr-xr-x 2 root root 4096 Apr 27 18:19 portsmf
drwxr-xr-x 2 root root 4096 Apr 27 18:19 soxr
drwxr-xr-x 2 root root 4096 Apr 17 16:13 zoom-linux
Also, I have audacity-3.0.0 installed, 'slpkg -f audacity' finds the package, but 'slpkg -i audacity' does not flag it as an upgrade. I removed the old, and created the /tmp/slpkg/build/audacity with the correct files manually. That worked.
Code:
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                   Slpkg Install Packages                                                   │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ The following packages will be installed or upgraded:                                                                      │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Package:                      Version:                                                            Size:              Repo: │
│ audacity                      3.2.5                                                                                    sbo │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Dependencies:                                                                                                              │
│ soxr                          0.1.3                                                                                    sbo │
│ portsmf                       234                                                                                      sbo │
│ portmidi                      2.0.2                                                                                    sbo │
│ libsbsms                      20220812_e6c9c3b                                                                         sbo │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Total 5 packages will be installed and 0 will be upgraded.

Do you want to continue? [y/N] y

soxr-0.1.3-Source.tar.xz        100%[=====================================================>]  92.17K  --.-KB/s    in 0.06s   
portsmf-234.tar.gz              100%[=====================================================>] 174.03K   366KB/s    in 0.5s    
portmidi-v2.0.2.zip             100%[=====================================================>] 297.51K  1.16MB/s    in 0.2s    
libsbsms-20220812_e6c9c3b.tar.x 100%[=====================================================>] 101.99K   215KB/s    in 0.5s    
audacity-sources-3.2.5.tar.gz   100%[=====================================================>]  54.51M  62.9MB/s    in 0.9s    
audacity-manual-3.2.5.tar.gz    100%[=====================================================>]  21.23M  31.6MB/s    in 0.7s    

[Build] soxr.SlackBuild ⣟  Done 
[Installing] soxr-0.1.3-x86_64-1_SBo.tgz ⣟  Done 
[Build] portsmf.SlackBuild ⣷  Done 
[Installing] portsmf-234-x86_64-1_SBo.tgz ⣟  Done 
[Build] portmidi.SlackBuild ⢿  Done 
[Installing] portmidi-2.0.2-x86_64-3_SBo.tgz ⡿  Done 
[Build] libsbsms.SlackBuild ⣟  Done 
[Installing] libsbsms-20220812_e6c9c3b-x86_64-1_SBo.tgz ⣟  Done 
[Build] audacity.SlackBuild ⢿  Done 
[Installing] audacity-3.2.5-x86_64-1_SBo.tgz ⣟  Done 

Finished Successfully: [00:02:45]
 
Old 04-28-2023, 02:44 AM   #64
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Rep: Reputation: 44
Quote:
Originally Posted by kingbeowulf View Post
Running slpkg-4.8.0 and it's pretty nifty. I'll still mostly run the SBo scripts manually - I don't upgrade all that often - but for some that have a whole bunch of little dependencies (ZoneMinder e.g.), it's nice to run slpkg to save some tedium.

I did run into a bit of a snag today with audacity. Seems the source is downloaded to the wrong /tmp/slpkg location:
Code:
# slpkg -d audacity
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                  Slpkg Download Packages                                                   │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ The following packages will be downloaded:                                                                                 │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Package:                      Version:                                                            Size:              Repo: │
│ audacity                      3.2.5                                                                                    sbo │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
1 packages will be downloaded in /tmp/slpkg folder.

Do you want to continue? [y/N] y

audacity-sources-3.2.5.tar.gz   100%[=====================================================>]  54.51M  77.9MB/s    in 0.7s    
audacity-manual-3.2.5.tar.gz    100%[=====================================================>]  21.23M  61.6MB/s    in 0.3s    
audacity.tar.gz                 100%[=====================================================>]   5.15K  --.-KB/s    in 0s      

Finished Successfully: [00:00:02]
Code:
# slpkg -i audacity
...
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                   Slpkg Install Packages                                                   │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ The following packages will be installed or upgraded:                                                                      │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Package:                      Version:                                                            Size:              Repo: │
│ audacity                      3.2.5                                                                                    sbo │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Dependencies:                                                                                                              │
│ soxr                          0.1.3                                                                                    sbo │
│ portsmf                       234                                                                                      sbo │
│ portmidi                      2.0.2                                                                                    sbo │
│ libsbsms                      20220812_e6c9c3b                                                                         sbo │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Total 4 packages will be installed and 0 will be upgraded.

Do you want to continue? [y/N] y

soxr-0.1.3-Source.tar.xz        100%[=====================================================>]  92.17K   475KB/s    in 0.2s    
portsmf-234.tar.gz              100%[=====================================================>] 174.03K   359KB/s    in 0.5s    
portmidi-v2.0.2.zip             100%[=====================================================>] 297.51K  --.-KB/s    in 0.1s    
libsbsms-20220812_e6c9c3b.tar.x 100%[=====================================================>] 101.99K   222KB/s    in 0.5s    


slpkg: Error: No such file or directory: '/tmp/slpkg/build/audacity/audacity-sources-3.2.5.tar.gz'.
It seems the buildscript and source are not expanding into the build directory.

Code:
$ ls -l /tmp/slpkg/build
total 32
drwxr-xr-x 2 root root 4096 Apr 16 15:05 alsaequal
drwxr-xr-x 2 root root 4096 Apr 16 15:05 caps
drwxr-xr-x 2 root root 4096 Apr 16 15:05 ladspa_sdk
drwxr-xr-x 2 root root 4096 Apr 27 18:19 libsbsms
drwxr-xr-x 2 root root 4096 Apr 27 18:19 portmidi
drwxr-xr-x 2 root root 4096 Apr 27 18:19 portsmf
drwxr-xr-x 2 root root 4096 Apr 27 18:19 soxr
drwxr-xr-x 2 root root 4096 Apr 17 16:13 zoom-linux
Also, I have audacity-3.0.0 installed, 'slpkg -f audacity' finds the package, but 'slpkg -i audacity' does not flag it as an upgrade. I removed the old, and created the /tmp/slpkg/build/audacity with the correct files manually. That worked.
Code:
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                   Slpkg Install Packages                                                   │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ The following packages will be installed or upgraded:                                                                      │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Package:                      Version:                                                            Size:              Repo: │
│ audacity                      3.2.5                                                                                    sbo │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Dependencies:                                                                                                              │
│ soxr                          0.1.3                                                                                    sbo │
│ portsmf                       234                                                                                      sbo │
│ portmidi                      2.0.2                                                                                    sbo │
│ libsbsms                      20220812_e6c9c3b                                                                         sbo │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Total 5 packages will be installed and 0 will be upgraded.

Do you want to continue? [y/N] y

soxr-0.1.3-Source.tar.xz        100%[=====================================================>]  92.17K  --.-KB/s    in 0.06s   
portsmf-234.tar.gz              100%[=====================================================>] 174.03K   366KB/s    in 0.5s    
portmidi-v2.0.2.zip             100%[=====================================================>] 297.51K  1.16MB/s    in 0.2s    
libsbsms-20220812_e6c9c3b.tar.x 100%[=====================================================>] 101.99K   215KB/s    in 0.5s    
audacity-sources-3.2.5.tar.gz   100%[=====================================================>]  54.51M  62.9MB/s    in 0.9s    
audacity-manual-3.2.5.tar.gz    100%[=====================================================>]  21.23M  31.6MB/s    in 0.7s    

[Build] soxr.SlackBuild ⣟  Done 
[Installing] soxr-0.1.3-x86_64-1_SBo.tgz ⣟  Done 
[Build] portsmf.SlackBuild ⣷  Done 
[Installing] portsmf-234-x86_64-1_SBo.tgz ⣟  Done 
[Build] portmidi.SlackBuild ⢿  Done 
[Installing] portmidi-2.0.2-x86_64-3_SBo.tgz ⡿  Done 
[Build] libsbsms.SlackBuild ⣟  Done 
[Installing] libsbsms-20220812_e6c9c3b-x86_64-1_SBo.tgz ⣟  Done 
[Build] audacity.SlackBuild ⢿  Done 
[Installing] audacity-3.2.5-x86_64-1_SBo.tgz ⣟  Done 

Finished Successfully: [00:02:45]
Hi kingbeowulf,

Thanks for this report.

slpkg -d is used for download packages only and by default download packages in the /tmp/slpkg folder.

You can redirect the path if you apply the --directory option:
Code:
slpkg -d <packages> --directory=path/to/download
slpkg clean-tmp it's a useful command that you can clean old downloads. (All slpkg clean-* commands has upgraded for the next version 4.8.2)
Code:
slpkg clean-tmp
Also, if you have installed a package, and you try to reinstall it, slpkg highlight the name of the package with color grey, so you should apply --reinstall option, and you will see the color of the package turn to violet, that means it going to upgrade it.

As for the error that you reference, I'll try to find what did happen.

Code:
slpkg: Error: No such file or directory: '/tmp/slpkg/build/audacity/audacity-sources-3.2.5.tar.gz'
Cheers
 
1 members found this post helpful.
Old 04-28-2023, 02:47 AM   #65
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Rep: Reputation: 44
Also, `slpkg install` command deletes previous downloaded sources before download the new ones.
 
Old 04-28-2023, 04:40 AM   #66
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Rep: Reputation: 44
Code:
# slpkg -i audacity
...
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                   Slpkg Install Packages                                                   │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ The following packages will be installed or upgraded:                                                                      │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Package:                      Version:                                                            Size:              Repo: │
│ audacity                      3.2.5                                                                                    sbo │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Dependencies:                                                                                                              │
│ soxr                          0.1.3                                                                                    sbo │
│ portsmf                       234                                                                                      sbo │
│ portmidi                      2.0.2                                                                                    sbo │
│ libsbsms                      20220812_e6c9c3b                                                                         sbo │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Total 4 packages will be installed and 0 will be upgraded.

Do you want to continue? [y/N] y

soxr-0.1.3-Source.tar.xz        100%[=====================================================>]  92.17K   475KB/s    in 0.2s    
portsmf-234.tar.gz              100%[=====================================================>] 174.03K   359KB/s    in 0.5s    
portmidi-v2.0.2.zip             100%[=====================================================>] 297.51K  --.-KB/s    in 0.1s    
libsbsms-20220812_e6c9c3b.tar.x 100%[=====================================================>] 101.99K   222KB/s    in 0.5s    


slpkg: Error: No such file or directory: '/tmp/slpkg/build/audacity/audacity-sources-3.2.5.tar.gz'.
Fixed! Thanks again!
 
1 members found this post helpful.
Old 04-28-2023, 08:57 AM   #67
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,972

Rep: Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551
Hard core slackpkg w/slackpkg+ user here. I decide play around with this awesome program. I don't use SBo, I roll my own SlackBuilds. The only "binary" packages I have installed are from Alien Bob (13) and zerouno (1).

I ran in to the same issue as @nobodino, built with the wrong progress. Should have put 2n2 together since all the other requirements are python along with slpkg it self.
Quote:
Originally Posted by dslackw View Post
Hi,

You need to install 'python3-progress', I guess 'progress' is a different package.
Another thing I noted is SQLAlchemy has a 2.0.11 version, the 1.4.47 is the version that works. No big deal, easy enough to figure out.

Looking good so far.
 
Old 04-28-2023, 09:24 AM   #68
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Rep: Reputation: 44
Thanks, @chrisretusn, I'll do some changes.
 
Old 04-28-2023, 10:52 AM   #69
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,361

Original Poster
Rep: Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075
A new Release 4.8.2 for slpkg was published

Changelog:
Code:
4.8.2 - 25/04/2023
Updated:
- For exit status code
- Packages summary for calculating the file sizes
Added:
- Disable or enable the spinning bar
Fixed:
- Slackware patches repository tag
- For skip to download sources if the package is installed (Thanks to kingbeowulf LQ63)
 
Old 05-14-2023, 12:23 PM   #70
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,361

Original Poster
Rep: Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075
A new Release 4.8.3 for slpkg was published

Changelog :
Code:
4.8.3 - 29/04/2023
Updated:
- For synchronization with the local repository (Thanks to Christopher Schrauben) #166
- Renamed the option --bin-repo with --repository
Added:
- Options --install-data to install only data into the database
- Column for package installed version (Thanks to tpiszcze)
 
1 members found this post helpful.
Old 05-17-2023, 01:42 PM   #71
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,361

Original Poster
Rep: Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075
A new Release 4.8.4 for slpkg was published

Changelog:
Code:
4.8.4 - 14/05/2023
Added:
- Case-insensitive pattern matching, --no-case option
- Choose border color via configuration file
- New processing status view for build, install, upgrade, remove
Fixed:
- Remove chosen dependencies
 
1 members found this post helpful.
Old 05-19-2023, 05:21 AM   #72
paolo27957
LQ Newbie
 
Registered: Aug 2010
Location: Roma, Italy
Distribution: slackware
Posts: 27

Rep: Reputation: 10
On my current slackware64 version 4.8.4 of slpkg gives an error in the repo-info operation:

Code:
# slpkg repo-info
Repositories Information:
===================================================================================
Name:                Status:        Last Updated:                         Packages:
===================================================================================
Traceback (most recent call last):
  File "/usr/sbin/slpkg", line 33, in <module>
    sys.exit(load_entry_point('slpkg==4.8.4', 'console_scripts', 'slpkg')())
  File "/usr/lib64/python3.9/site-packages/slpkg/main.py", line 864, in main
    arguments[args[0]]()
  File "/usr/lib64/python3.9/site-packages/slpkg/main.py", line 581, in repo_info
    repo.info()
  File "/usr/lib64/python3.9/site-packages/slpkg/repo_info.py", line 43, in info
    self.view_the_repositories_information()
  File "/usr/lib64/python3.9/site-packages/slpkg/repo_info.py", line 98, in view_the_repositories_information
    date: str = self.last_repository_updated(repo)
  File "/usr/lib64/python3.9/site-packages/slpkg/repo_info.py", line 65, in last_repository_updated
    if date[0] is None:
TypeError: 'NoneType' object is not subscriptable
The 4.8.2 version of "ponce" works fine
 
Old 05-19-2023, 05:34 AM   #73
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by paolo27957 View Post
The 4.8.2 version of "ponce" works fine
FWIW the version in the unofficial repository for current is the same that is on SBo :-)

https://slackbuilds.org/repository/15.0/system/slpkg/
 
Old 05-19-2023, 06:26 AM   #74
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,361

Original Poster
Rep: Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075
Paolo

Dimitris responded to the issue created by chrisretusn

Code:
I think this happened after you deleted the database data, with:

slpkg clean-data
https://gitlab.com/dslackw/slpkg/-/issues/171
 
Old 05-19-2023, 10:49 AM   #75
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,361

Original Poster
Rep: Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075
A new Release 4.8.5 for slpkg was published

Changelog:
Code:
4.8.5 - 18/05/2023
Fixed:
- Case-sensitive with commands find and search
- For combination options with --repository= and --directory=
- TypeError for repo-info command #171
 
  


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
Slpkg New Slackware packaging tool dslackw Slackware 228 11-23-2022 02:04 AM
[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
confused about iojs installation using slpkg Sefid par Slackware 4 08-31-2015 07:13 PM
Poll: Yast Package Manager vs. Smart Package Manager in 10.1 agentchange SUSE / openSUSE 6 06-02-2006 08:29 AM

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

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