LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 05-01-2013, 12:34 PM   #61
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,314

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816

GPG check is not working ATM: I've tried the latest version (rc2) and notified of this zerouno.

If you want to use my personal repository until slackpkg+ gets fixed, disable GPG checking in /etc/slackpkg/slackpkg.conf.

Consider also that my repositories are made of the packages I use on my installations, built with what I need: if you need only some stuff and not the whole it's up to you to check for dependencies for single packages on SBo (some are built using also optional ones).

And be advised also that everything available there is up for grabs but with no warranty (especially if not used on a slackware full install) as it's meant just for my personal use (and, generally, works for me).

Last edited by ponce; 05-01-2013 at 12:46 PM.
 
Old 05-01-2013, 04:40 PM   #62
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 250

Rep: Reputation: 68
a very very small, but very very fatal bug!!! (I forgot a '$' before CHECKGPG)

rc3 release solve also a bug that deny to use a local slackware mirror.


Slackpkg+ is moved on http://slakfinder.org/slackpkg+/
 
1 members found this post helpful.
Old 05-02-2013, 12:21 AM   #63
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,314

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
I found that the GPG check cannot work with my repository, because inside /usr/libexec/slackpkg/core-functions.sh there's this block
Code:
        case $ARCH in                                                                                                                                                        
                i386|i486|i586|i686)                                                                                                                                         
                        ARCH=[i]*[3456x]86[^_]*                                                                                                                              
                        SLACKKEY=${SLACKKEY:-"Slackware Linux Project <security@slackware.com>"}                                                                             
                        PKGMAIN=${PKGMAIN:-slackware}                                                                                                                        
                ;;                                                                                                                                                           
                x86-64|x86_64|X86-64|X86_64)                                                                                                                                 
                        ARCH=x86[_64]*                                                                                                                                       
                        SLACKKEY=${SLACKKEY:-"Slackware Linux Project <security@slackware.com>"}                                                                             
                        PKGMAIN=${PKGMAIN:-slackware64}                                                                                                                      
                ;;                                                                                                                                                           
                s390)                                                                                                                                                        
                        ARCH=s390                                                                                                                                            
                        # Slack390 didn't have signed packages                                                                                                               
                        CHECKGPG=off                                                                                                                                         
                        PKGMAIN=${PKGMAIN:-slackware}                                                                                                                        
                ;;                                                                                                                                                           
                arm*)                                                                                                                                                        
                        ARCH=arm[v5tel]*                                                                                                                                     
                        SLACKKEY=${SLACKKEY:-"ARMedslack Security (ARMedslack Linux Project Security) <security@armedslack.org>"}                                            
                        PKGMAIN=${PKGMAIN:-slackware}                                                                                                                        
                ;;                                                                                                                                                           
                powerpc|ppc)                                                                                                                                                 
                        ARCH=powerpc                                                                                                                                         
                        SLACKKEY=${SLACKKEY:-"Slackintosh-Project Sign <slackdev@workaround.ch>"}                                                                            
                        PKGMAIN=${PKGMAIN:-slackintosh}                                                                                                                      
                ;;                                                                                                                                                           
                *)                                                                                                                                                           
                        ARCH=none                                                                                                                                            
                ;;                                                                                                                                                           
        esac
and my key is not signed by "Slackware Linux Project <security@slackware.com>".

maybe it's better to not include my repo in /etc/slackpkg/slackpkgplus.conf.

Last edited by ponce; 05-02-2013 at 12:25 AM.
 
Old 05-02-2013, 04:55 AM   #64
bartgymnast
Member
 
Registered: Feb 2003
Location: Lelystad, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 244

Rep: Reputation: 81
I was wondering some things.
Are you purely going to make the 3rd party repositories accessable.
Or are you also thinking about adding some features ?

I was thinking about the following to name 2.

- search in the description of packages,
- search the packages that aren't in the repositories but are installed
 
Old 05-02-2013, 05:05 AM   #65
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 250

Rep: Reputation: 68
slackpkg+ was bird to add 3rd party repositories support, and slackpkg 1.0 will do only this.

I dont known what will do slackpkg 2.0; I dont known if I will have time to devel it.
For now you can use slakfinder.org to a good search and then use slackpkg+ to install.
 
Old 05-02-2013, 06:25 AM   #66
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,314

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
Quote:
Originally Posted by ponce View Post
I found that the GPG check cannot work with my repository, because inside /usr/libexec/slackpkg/core-functions.sh there's this block
...
maybe it's better to not include my repo in /etc/slackpkg/slackpkgplus.conf.
Ignore this, GPG checks works fine, it's me being an arsehole: I had a default key for signing specified in ~/.gnupg/gpg.conf different from the one I was using in ~/.genrpc and the gen_repos_files script was signing the stuff with my old default key regardless of the one specified in its configuration file.
I'll update signatures soon in my repos.
 
Old 05-02-2013, 10:12 AM   #67
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 248

Rep: Reputation: 138Reputation: 138
Hello,

Another code suggestion for file-search. You will find the patch for slackpkg+ 0.9rc3 in attachment. Here is a sample :

Code:
 slackpkg file-search qt   

DONE

The list below shows the packages that contains "qt" file.

[ Status           ] [ Repository               ] [ Package                                  ]
   installed                                        kde-runtime-4.8.5-x86_64-1                
   installed                                        kdeartwork-4.8.5-x86_64-1                 
   installed                                        kdevelop-pg-qt-1.0.0-x86_64-1             
   installed                                        marble-4.8.5-x86_64-1                     
   installed                                        smokeqt-4.8.5-x86_64-1                    
   installed                                        PyQt-4.9.1-x86_64-3                       
   installed                                        QScintilla-2.6.1-x86_64-3                 
   installed                                        akonadi-1.7.2-x86_64-1                    
   installed                                        libdbusmenu-qt-0.9.2-x86_64-2             
   installed                                        phonon-4.6.0-x86_64-1                     
   installed                                        polkit-qt-1-0.103.0-x86_64-1              
   installed                                        qca-2.0.2-x86_64-1                        
   installed                                        qca-cyrus-sasl-2.0.0_beta3-x86_64-1       
   installed                                        qca-gnupg-2.0.0_beta3-x86_64-1            
   installed                                        qca-ossl-2.0.0_beta3-x86_64-2             
   installed                                        qt-4.8.2-x86_64-4                         
   installed                                        qtscriptgenerator-0.2.0-x86_64-1          
   installed                                        scim-1.4.14-x86_64-2                      
   installed                                        scim-bridge-0.4.16-x86_64-5               
  uninstalled                                       mplayerplug-in-3.55-x86_64-1              
  uninstalled                                       recordmydesktop-0.3.8.1-x86_64-3          
   installed           multilib                     qt-compat32-4.8.2-x86_64-4compat32        
  uninstalled          alienbob                     calibre-0.9.28-x86_64-1alien              
  uninstalled          alienbob                     gecko-mediaplayer-1.0.7-x86_64-1alien     
  uninstalled          alienbob                     recordmydesktop-0.3.8.1-x86_64-3alien     
  uninstalled          alienbob                     teamspeak-client-3.0.10-x86_64-1alien     

You can search specific packages using "slackpkg search package".

Hope this helps.

Greetings.

--
SeB
Attached Files
File Type: txt slackpkgplus.new-filesearch.patch.txt (4.2 KB, 4 views)
 
Old 05-02-2013, 11:53 PM   #68
fl0
Member
 
Registered: May 2010
Location: Germany
Distribution: Slackware
Posts: 103

Rep: Reputation: 34
Quote:
Originally Posted by ponce View Post
GPG check is not working ATM: I've tried the latest version (rc2) and notified of this zerouno.

If you want to use my personal repository until slackpkg+ gets fixed, disable GPG checking in /etc/slackpkg/slackpkg.conf.

Consider also that my repositories are made of the packages I use on my installations, built with what I need: if you need only some stuff and not the whole it's up to you to check for dependencies for single packages on SBo (some are built using also optional ones).

And be advised also that everything available there is up for grabs but with no warranty (especially if not used on a slackware full install) as it's meant just for my personal use (and, generally, works for me).
Hi,

sure, i know that the repository is primary for you and there is no warrenty.

with the new slackpkg+ version, my error is fixed, thx

regards fl0
 
Old 05-03-2013, 08:34 AM   #69
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 250

Rep: Reputation: 68
Slackpkg+ is now under github and under dedicated repository.

So to upgrade slackpkg+ you only need to add in slackpkgplus.conf

MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+/

then launch
slackpkg update gpg
slackpkg update

then
slackpkg upgrade slackpkg+
or
slackpkg upgrade-all

Code:
# slackpkg search slackpkg

DONE

The list below shows all packages with name matching "slackpkg".

[ Status           ] [ Repository               ] [ Package                                  ]
   installed                                        slackpkg-2.82.0-noarch-8                  
  upgrade              slackpkgplus                 slackpkg+-0.9rc2-noarch-1mt --> slackpkg+-0.9rc3-noarch-1mt
there are no other update for now. I've to solve a minor bug, but I've no time now.
 
1 members found this post helpful.
Old 05-03-2013, 05:12 PM   #70
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 250

Rep: Reputation: 68
pushed a patch that solve 'slackpkg search slackpkg'

now the prefix is upcase, so the file-search patch need to be adapted.
 
Old 05-05-2013, 05:31 AM   #71
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 248

Rep: Reputation: 138Reputation: 138
Hello,

Quote:
Originally Posted by zerouno View Post
pushed a patch that solve 'slackpkg search slackpkg'

now the prefix is upcase, so the file-search patch need to be adapted.
Adapted the patch for "file-search" following your changes. The new patch is in attachment. It was created using this slackpkgplus.sh version.


Greetings.

--
SeB
Attached Files
File Type: txt slackpkgplus.new-filesearch.patch.txt (4.2 KB, 2 views)
 
Old 05-05-2013, 09:45 AM   #72
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 250

Rep: Reputation: 68
version 0.9.1 released
 
1 members found this post helpful.
Old 06-01-2013, 09:54 AM   #73
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,114

Rep: Reputation: Disabled
The PKGS_PRIORITY keyword is not working for me. I have this in my slackpkgplus.conf:
Code:
PKGS_PRIORITY=( restricted:vlc )
but this seems to be ignored.

By accident I still had the older vlc-2.0.6 package in my "alienbob" repository, and slackpkg would offer an "upgrade" from my manually installed 2.0.7 to that 2.0.6 version in the "alienbob" repo even though it should give priority to the 2.0.7 version in the "restricted" repository.
Code:
# slackpkg search vlc

DONE

The list below shows all packages with name matching "vlc".

[ Status           ] [ Repository               ] [ Package                                  ]
   installed           alienbob                     phonon-vlc-0.6.0-x86_64-1alien            
   installed           alienbob                     npapi-vlc-20130408-x86_64-1alien          
  upgrade              alienbob                     vlc-2.0.7-x86_64-1alien --> vlc-2.0.6-x86_64-2alien  
   installed           restricted                   npapi-vlc-20130408-x86_64-1alien          
   installed           restricted                   vlc-2.0.7-x86_64-1alien                   

You can search specific files using "slackpkg file-search file".
Eric
 
Old 06-01-2013, 10:01 AM   #74
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,114

Rep: Reputation: Disabled
Update: I think this was caused by having multiple PKGS_PRIORITY lines in slackpkgplus.conf... only the value for the last variable definitions was kept because new variable definitions overrule the older ones.

I changed this to a single line for PKGS_PRIORITY with multiple definitions, like this:
Code:
PKGS_PRIORITY=( multilib:.* restricted:vlc restricted:ffmpeg )
ald now "slackpkg upgrade-all" no longer wants to "upgrade" from vlc-2.0.7 to vlc-2.0.6. Problem solved.

Eric
 
Old 06-29-2013, 10:14 PM   #75
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

Rep: Reputation: 168Reputation: 168
This is very interesting -- I was thinking about maybe making the msb packages (http://slackware.org.uk/msb/) compatible with slackpkg+ but I'm not sure what exactly needs to be changed. And it also looks like we have to separate copies of GPG.TXT, FILELIST.TXT and other metadata type files duplicated in each architecture's directory?

Edit: We already use Eric's gen_repo script but any suggestions on best practice for repo layout in regards to slackpkg+ would be appreciated. Thanks.

Last edited by chess; 06-29-2013 at 10:16 PM.
 
1 members found this post helpful.
  


Reply

Tags
slackpkg


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Holding a package update from slackpkg gazj Slackware 2 01-25-2011 04:58 PM
Where can I find a 3rd Party Repository for RHEL 5? tightlikethat Linux - Newbie 3 02-27-2010 08:46 PM
Best 3rd Party RPM Repository for FC9 kromberg Fedora 11 11-13-2008 08:04 PM
Package Kit Error-- "Cannot retrieve repository metadata (repomd.xml) for repository" mbvpixies78 Linux - Newbie 11 08-22-2008 07:20 PM
3rd party package managers? crontab Slackware 3 10-06-2007 10:34 AM


All times are GMT -5. The time now is 06:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration