LinuxQuestions.org
Visit Jeremy's Blog.
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 11-10-2013, 07:42 PM   #1
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.1
Posts: 258

Rep: Reputation: 32
Slackpkg+ and restricted packages


I've been trying to convince Slackpkg+ to give priority to the restricted version of vlc, but whenever I do a search, only the alienbob one shows up. Here are the appropriate parts of my slackpkgplus.conf:

Code:
PKGS_PRIORITY=( restricted:vlc )

. . .

REPOPLUS=( slackpkgplus restricted alienbob slacky )

# Slackware 14.1 - x86_64
MIRRORPLUS['multilib']=http://taper.alienbase.nl/mirrors/people/alien/multilib/14.1/
MIRRORPLUS['alienbob']=http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86_64/
MIRRORPLUS['restricted']=http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.1/x86_64/
MIRRORPLUS['slacky']=http://repository.slacky.eu/slackware64-14.1/
What am I doing wrong?
 
Old 11-11-2013, 12:28 AM   #2
mfrias
LQ Newbie
 
Registered: Dec 2007
Location: Cochabamba, Bolivia
Distribution: 574ckw4r3 14.0
Posts: 15

Rep: Reputation: 7
Quote:
Originally Posted by marnold View Post
What am I doing wrong?
Nothing. The result of search is fine because vlc only exist in the repository "restricted".

The repository "slacky" has not yet compiled packages for version 14.1. You must add the repository "slackel" and try again.
 
Old 11-11-2013, 03:37 AM   #3
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 293

Rep: Reputation: 166Reputation: 166
Hello,

Quote:
Originally Posted by marnold View Post
I've been trying to convince Slackpkg+ to give priority to the restricted version of vlc, but whenever I do a search, only the alienbob one shows up. Here are the appropriate parts of my slackpkgplus.conf:

Code:
PKGS_PRIORITY=( restricted:vlc )

. . .

REPOPLUS=( slackpkgplus restricted alienbob slacky )

# Slackware 14.1 - x86_64
MIRRORPLUS['multilib']=http://taper.alienbase.nl/mirrors/people/alien/multilib/14.1/
MIRRORPLUS['alienbob']=http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86_64/
MIRRORPLUS['restricted']=http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.1/x86_64/
MIRRORPLUS['slacky']=http://repository.slacky.eu/slackware64-14.1/
Given that repository "restricted" is declared before "alienbob" in REPOPLUS, all packages from "restricted" have precedence over those in "alienbob", so you don't need to declare "restricted:vlc" in PKGS_PRIORITY.

Quote:
Originally Posted by marnold View Post
What am I doing wrong?
Anyway, with your configuration, 'slackpkg search vlc' is working well here :

Code:
$ slackpkg search vlc

DONE

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

[ Status           ] [ Repository               ] [ Package                                  ]
  uninstalled          restricted                   npapi-vlc-20130818-x86_64-1alien          
  uninstalled          restricted                   vlc-2.1.0-x86_64-1alien                   
  uninstalled          alienbob                     npapi-vlc-20130818-x86_64-1alien          
  uninstalled          alienbob                     vlc-2.1.0-x86_64-1alien                   

You can search specific files using "slackpkg file-search file".
What is the output of "slackpkg search vlc" on your side ?

Try to run "slackpkg update" then 'slackpkg search vlc' to see if that solves the problem.

If this does not work, post the output of the command below :

Code:
$ grep -E "(restricted vlc )|(alienbob vlc )" /var/lib/slackpkg/pkglist

--
SeB
 
Old 11-11-2013, 08:43 AM   #4
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.1
Posts: 258

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by phenixia2003 View Post
What is the output of "slackpkg search vlc" on your side ?

Try to run "slackpkg update" then 'slackpkg search vlc' to see if that solves the problem.
I did "slackpkg update then "slackpkg search vlc" and this is what I get:

Code:
[ Status           ] [ Repository               ] [ Package                                  ]
  uninstalled          alienbob                     npapi-vlc-20130818-x86_64-1alien          
   installed           alienbob                     vlc-2.1.0-x86_64-1alien
I looked through the information that "slackpkg update" spits out and it is finding the manifest for the restricted repository. I downloaded the MANIFEST.bz2 that it says it's downloading and the restricted vlc is in there.

Quote:
Originally Posted by phenixia2003 View Post
If this does not work, post the output of the command below :

Code:
$ grep -E "(restricted vlc )|(alienbob vlc )" /var/lib/slackpkg/pkglist
It gave me this:
Code:
SLACKPKGPLUS_alienbob vlc 2.1.0 x86_64 1alien vlc-2.1.0-x86_64-1alien ./SLACKPKGPLUS_alienbob/vlc txz
Thanks for your help.

Last edited by marnold; 11-11-2013 at 08:49 AM.
 
Old 11-11-2013, 09:53 AM   #5
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 293

Rep: Reputation: 166Reputation: 166
Hello,

Quote:
Originally Posted by marnold View Post
I did "slackpkg update then "slackpkg search vlc"

I looked through the information that "slackpkg update" spits out and it is finding the manifest for the restricted repository. I downloaded the MANIFEST.bz2 that it says it's downloading and the restricted vlc is in there.


Quote:
Originally Posted by phenixia2003 View Post
If this does not work, post the output of the command below :

Code:
$ grep -E "(restricted vlc )|(alienbob vlc )" /var/lib/slackpkg/pkglist

It gave me this:
Code:
SLACKPKGPLUS_alienbob vlc 2.1.0 x86_64 1alien vlc-2.1.0-x86_64-1alien ./SLACKPKGPLUS_alienbob/vlc txz
Ok, so something is wrong when you run "slackpkg update". I suggest you to post all the output of "slackpkg update".

--
SeB
 
Old 11-11-2013, 05:49 PM   #6
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.1
Posts: 258

Original Poster
Rep: Reputation: 32
Here 'tis. The Slacky one is failing because they don't have a 14.1 repo set up just yet. I ran "slackpkg update gpg" just to make sure everything was OK there first.

Code:
Updating the package lists...
        Downloading...
2013-11-11 18:35:01 URL:http://slackware.mirrors.tds.net/pub/slackware/slackware64-14.1/ChangeLog.txt [217106/217106] -> "/tmp/slackpkg.9cN145/ChangeLog.txt" [1]
2013-11-11 18:35:02 URL:http://slakfinder.org/slackpkg+/CHECKSUMS.md5 [1072/1072] -> "/tmp/slackpkg.9cN145/CHECKSUMS.md5-slackpkgplus" [1]
2013-11-11 18:35:02 URL:http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.1/x86_64/CHECKSUMS.md5 [1592/1592] -> "/tmp/slackpkg.9cN145/CHECKSUMS.md5-restricted" [1]
2013-11-11 18:35:03 URL:http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86_64/CHECKSUMS.md5 [19856/19856] -> "/tmp/slackpkg.9cN145/CHECKSUMS.md5-alienbob" [1]
http://repository.slacky.eu/slackware64-14.1/CHECKSUMS.md5:
2013-11-11 18:35:19 ERROR 404: Not Found.
2013-11-11 18:35:19 URL:http://taper.alienbase.nl/mirrors/people/alien/multilib/14.1/CHECKSUMS.md5 [94181/94181] -> "/tmp/slackpkg.9cN145/CHECKSUMS.md5-multilib" [1]

                No changes in ChangeLog.txt between your last update and now.
                Do you really want to download all other files (y/N)? y

                List of all files
2013-11-11 18:35:32 URL:http://slackware.mirrors.tds.net/pub/slackware/slackware64-14.1/patches/MANIFEST.bz2 [14/14] -> "/tmp/slackpkg.9cN145/patches-MANIFEST.bz2" [1]
2013-11-11 18:35:34 URL:http://slackware.mirrors.tds.net/pub/slackware/slackware64-14.1/slackware64/MANIFEST.bz2 [2856124/2856124] -> "/tmp/slackpkg.9cN145/slackware64-MANIFEST.bz2" [1]
2013-11-11 18:35:34 URL:http://slackware.mirrors.tds.net/pub/slackware/slackware64-14.1/extra/MANIFEST.bz2 [91113/91113] -> "/tmp/slackpkg.9cN145/extra-MANIFEST.bz2" [1]
2013-11-11 18:35:34 URL:http://slackware.mirrors.tds.net/pub/slackware/slackware64-14.1/pasture/MANIFEST.bz2 [2154/2154] -> "/tmp/slackpkg.9cN145/pasture-MANIFEST.bz2" [1]                                                                                                    
2013-11-11 18:35:34 URL:http://slackware.mirrors.tds.net/pub/slackware/slackware64-14.1/testing/MANIFEST.bz2 [885/885] -> "/tmp/slackpkg.9cN145/testing-MANIFEST.bz2" [1]                                                                                                      
2013-11-11 18:35:35 URL:http://slakfinder.org/slackpkg+/MANIFEST.bz2 [447/447] -> "/tmp/slackpkg.9cN145/SLACKPKGPLUS_slackpkgplus-MANIFEST.bz2" [1]                                                                                                                            
2013-11-11 18:35:36 URL:http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.1/x86_64/MANIFEST.bz2 [16018/16018] -> "/tmp/slackpkg.9cN145/SLACKPKGPLUS_restricted-MANIFEST.bz2" [1]                                                                            
2013-11-11 18:35:36 URL:http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86_64/MANIFEST.bz2 [81450/81450] -> "/tmp/slackpkg.9cN145/SLACKPKGPLUS_alienbob-MANIFEST.bz2" [1]                                                                                         
http://repository.slacky.eu/slackware64-14.1/MANIFEST.bz2:                                                                                                                                                                                                                     
2013-11-11 18:35:37 ERROR 404: Not Found.                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                               
                   !!! N O T I C E !!!                                                                                                                                                                                                                                         
    Repository 'slacky' does not contains MANIFEST.bz2                                                                                                                                                                                                                         
    Don't worry.. it will works fine, but the commands                                                                                                                                                                                                                         
    'slackpkg file-search' will not works on that                                                                                                                                                                                                                              
    repository                                                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                                               
2013-11-11 18:35:41 URL:http://taper.alienbase.nl/mirrors/people/alien/multilib/14.1/MANIFEST.bz2 [253725/253725] -> "/tmp/slackpkg.9cN145/SLACKPKGPLUS_multilib-MANIFEST.bz2" [1]                                                                                             
                Checksums                                                                                                                                                                                                                                                      
2013-11-11 18:35:42 URL:http://slackware.mirrors.tds.net/pub/slackware/slackware64-14.1/CHECKSUMS.md5 [751352/751352] -> "/tmp/slackpkg.9cN145/CHECKSUMS.md5" [1]                                                                                                              
2013-11-11 18:35:42 URL:http://slackware.mirrors.tds.net/pub/slackware/slackware64-14.1/CHECKSUMS.md5.asc [198/198] -> "/tmp/slackpkg.9cN145/CHECKSUMS.md5.asc" [1]                                                                                                            
2013-11-11 18:35:43 URL:http://slakfinder.org/slackpkg+/CHECKSUMS.md5.asc [490/490] -> "/tmp/slackpkg.9cN145/CHECKSUMS.md5-slackpkgplus.asc" [1]                                                                                                                               
2013-11-11 18:35:43 URL:http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.1/x86_64/CHECKSUMS.md5.asc [198/198] -> "/tmp/slackpkg.9cN145/CHECKSUMS.md5-restricted.asc" [1]                                                                                   
2013-11-11 18:35:43 URL:http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86_64/CHECKSUMS.md5.asc [198/198] -> "/tmp/slackpkg.9cN145/CHECKSUMS.md5-alienbob.asc" [1]                                                                                                
http://repository.slacky.eu/slackware64-14.1/CHECKSUMS.md5.asc:                                                                                                                                                                                                                
2013-11-11 18:35:44 ERROR 404: Not Found.                                                                                                                                                                                                                                      
http://repository.slacky.eu/slackware64-14.1/CHECKSUMS.md5.gz.asc:                                                                                                                                                                                                             
2013-11-11 18:35:45 ERROR 404: Not Found.                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                               
                        !!! F A T A L !!!                                                                                                                                                                                                                                      
    Repository 'slacky' FAILS to check CHECKSUMS.md5 signature                                                                                                                                                                                                                 
    The file may be corrupted or the gpg key may be not valid.                                                                                                                                                                                                                 
    Remember to import keys launching 'slackpkg update gpg'.                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                               
2013-11-11 18:35:50 URL:http://taper.alienbase.nl/mirrors/people/alien/multilib/14.1/CHECKSUMS.md5.asc [198/198] -> "/tmp/slackpkg.9cN145/CHECKSUMS.md5-multilib.asc" [1]                                                                                                      
                                                                                                                                                                                                                                                                               
                ERROR: Verification of the  gpg signature on CHECKSUMS.md5                                                                                                                                                                                                     
                       failed! This could mean that the file is out of date                                                                                                                                                                                                    
                       or has been tampered with.

Last edited by marnold; 11-11-2013 at 06:36 PM.
 
Old 11-12-2013, 04:11 AM   #7
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 293

Rep: Reputation: 166Reputation: 166
Hello,


Quote:
Originally Posted by marnold View Post
Here 'tis. The Slacky one is failing because they don't have a 14.1 repo set up just yet. I ran "slackpkg update gpg" just to make sure everything was OK there first.
Your issue seems to be related to the slacky repository which does not work. You have two solutions :

  • 1. disable the slacky repository in your slackpkgplus.conf (remove "slacky" in REPOPLUS and comment out the line "MIRRORPLUS['slacky']=...") then run :
    Code:
    $ slackpkg update
  • 2. run the command below :
    Code:
    $ slackpkg -checkgpg=off update


--
SeB
 
2 members found this post helpful.
Old 11-12-2013, 10:44 PM   #8
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.1
Posts: 258

Original Poster
Rep: Reputation: 32
Yep! That did it. Evidently I found a bug in slackpkg+. Thanks for your help. I'll have to look into someone to report this to.
 
  


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
[SOLVED] slackpkg: reinstall all non-blacklisted packages? kkmic Slackware 3 03-26-2013 09:20 AM
[SOLVED] slackpkg cannot find PACKAGES.TXT dc_eros Slackware 10 09-10-2012 07:41 AM
Updating packages w/out Slackpkg Konphine Slackware 4 09-25-2011 02:40 PM
Restricted Packages: legality, What is Non-Free? ianfdlrs Linux - Newbie 5 12-02-2008 08:20 PM
Slackpkg cannot find packages, swaret can mago Slackware 42 04-28-2007 12:35 AM


All times are GMT -5. The time now is 10:59 AM.

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