LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 08-28-2013, 08:13 AM   #136
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 490

Rep: Reputation: 35

Quote:
Originally Posted by Raveriux View Post
As SBo does not contain packages, but scripts for making packages, repository for SBo have no sence. For SBo packages use a sbopkg tool.
That makes sense and I suppose no one wants to make a "binary" version of SBo.
Still it is a great tool to manage third party repositories.
 
Old 08-28-2013, 08:29 AM   #137
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 268

Rep: Reputation: 80
0.9.5 released

Last edited by zerouno; 08-28-2013 at 08:31 AM.
 
1 members found this post helpful.
Old 08-28-2013, 11:02 AM   #138
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,840

Rep: Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846
Quote:
Originally Posted by mlangdn View Post
Should that not be:

add '[0-9]+kfn' to etc/slackpkg/blacklist
Umm ... yep!
 
Old 08-28-2013, 05:56 PM   #139
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 268

Rep: Reputation: 80
Uploaded a small patch on github. https://github.com/zuno/slackpkgplus...lackpkgplus.sh

If a user delete /var/lib/slackpkg then slackpkg does not recreate it and fails.

It's a minor, so I will not release a new package now.
 
2 members found this post helpful.
Old 08-29-2013, 06:54 AM   #140
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, Portugal
Distribution: Slackware
Posts: 254

Rep: Reputation: 72
Quote:
Originally Posted by zerouno View Post
Still at 0.9.3 when I do this:
Code:
slackpkg update
slackpkg upgrade slackpkg+
Forgot to update the repository?

EDIT: sorry, didn't notice when you said
Quote:
Originally Posted by zerouno View Post
0.9.4 released, but you must download it manually (I can't generate metadata files)

Last edited by Slax-Dude; 08-29-2013 at 06:55 AM.
 
Old 08-29-2013, 07:05 AM   #141
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 268

Rep: Reputation: 80
Unfortunatly (???) I'm in vacation and I've not my pc. I'm releasing slackpkg+ 0.9.4 and 0.9.5 from a microsoft pc () so I cannot generate the needed metadata.
I will update repository next monday.
 
Old 08-29-2013, 04:44 PM   #142
kfn
LQ Newbie
 
Registered: Sep 2012
Location: NYC
Distribution: Slackware64-current
Posts: 8

Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by ruario View Post
@kfn: Use a tag for your own packages, e.g. suppose you called your package libreoffice-4.1-x86_64-1kfn.txz. You could then add '[0-9]+kfn' to /etc/slackpkg/blacklist and your package would not be prompted for upgrade.
That's one way to go for sure. However, apart from the fact that you would have to manually check for updates as you said, the potential "upgrade" could also happen with newer packages from other sources too (outside of slackpkg+ repos), not only self-packaged ones. So all have to be blacklisted and manually checked later.

So a more proactive behavior sounds good to me: if in case a newer package is not blacklisted and is not in the default repos, then slackpkg+ instead of putting it in the upgrade list, can just give a notification/warning like "Installed version is newer than the repo version"; i think sbopkg does something similar.
 
Old 08-30-2013, 08:38 AM   #143
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, Portugal
Distribution: Slackware
Posts: 254

Rep: Reputation: 72
Quote:
Originally Posted by kfn View Post
That's one way to go for sure. However, apart from the fact that you would have to manually check for updates as you said
Well, you already do that when you package your own software

Quote:
Originally Posted by kfn View Post
So a more proactive behavior sounds good to me: if in case a newer package is not blacklisted and is not in the default repos, then slackpkg+ instead of putting it in the upgrade list, can just give a notification/warning like "Installed version is newer than the repo version"; i think sbopkg does something similar.
Or...
...you could have a local repository with your own packages and add it in the appropriate priority list to slackpkg+
You could use AlienBOB's gen_repos_files.sh script to make a slackpkg+ compatible repository.
 
Old 09-01-2013, 04:59 AM   #144
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 268

Rep: Reputation: 80
as slackpkg, Slackpkg+ is on sourceforge
 
Old 09-01-2013, 04:03 PM   #145
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 268

Rep: Reputation: 80
0.9.6 released. Now available with slackpkg upgrade slackpkg+ (vacation finished )

Version 0.9.6 - 01/Sep/2013
- fixed a slackpkg bug that does not recreate $WORKDIR if it does not exists.
- added repository name in dialog
 
1 members found this post helpful.
Old 09-02-2013, 04:00 AM   #146
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 291

Rep: Reputation: 166Reputation: 166
Hello,

Nice to see slackpkg+ on sourceforge. Moreover, It's a good idea to have the repository name beside of the package. I have played a bit with this and I found a tiny annoying bug (pointed by the red debug lines) :

Code:
slackpkg install ffmpeg vlc

Looking for ffmpeg vlc in package list. Please wait... DONE

(DEBUG) found ffmpeg-1.2-x86_64-1alien.txz in repo alienbob
restricted
(DEBUG) found gst-ffmpeg-0.10.13-x86_64-2sl.txz in repo slacky
(DEBUG) found gst-plugins-ffmpeg-0.10.13-x86_64-2alien.tgz in repo alienbob
(DEBUG) found npapi-vlc-20130408-x86_64-1alien.txz in repo alienbob
restricted
(DEBUG) found phonon-vlc-0.6.0-x86_64-1alien.txz in repo alienbob
(DEBUG) found vlc-2.0.8-x86_64-1alien.txz in repo alienbob
restricted

==============================================================================
WARNING!        WARNING!        WARNING!        WARNING!        WARNING!
==============================================================================
One or more errors occurred while slackpkg was running:                       

DIALOG ERROR:
-------------
xargs: unmatched double quote; by default quotes are special to xargs unless you use the -0 option

Error: Expected at least 7 tokens for --checklist, have 5.
Use --help to list options.


-------------
If you want to continue using slackpkg, disable the DIALOG option in
/etc/slackpkg/slackpkg.conf and try again.

Help us to make slackpkg a better tool - report bugs to the slackpkg
developers

==============================================================================
This bug only occurs when a package can be found in more than one repository, like vlc and ffmpeg which are in alienbob and restricted repositories.

The attached patch should fix the issue.

Hope this helps.

Cheers.

--
SeB
Attached Files
File Type: txt zdialogplus.sh.patch.txt (541 Bytes, 5 views)
 
Old 09-02-2013, 05:17 AM   #147
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 268

Rep: Reputation: 80
Thankyou.
uploaded the fix
 
Old 09-02-2013, 08:05 AM   #148
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 268

Rep: Reputation: 80
Uploaded a new version on sourceforge. Is a 'snapshot' version becouse it need testing. For security it is not available with slackpkg upgrade slackpkg+

It add a new feature.
You can install/upgrade packages from file without the needed metadata.

slackpkg install file:package-1.0-noarch-2.txz
slackpkg upgrade file:./pkgs/package-1.0-noarch-2.txz
slackpkg install file:/root/myrepo/package-1.0-noarch-2.txz


WARNING: It's an 'embrional' release. I'm adding other related feature. When it will be stable I can ask it '1.0' release :)

Last edited by zerouno; 09-02-2013 at 08:07 AM.
 
Old 09-02-2013, 10:29 AM   #149
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 268

Rep: Reputation: 80
Now it supports local directory

does not forgot the final "/"
slackpkg install file:./
slackpkg upgrade file:/myrepo/


non-mature code!
 
Old 09-04-2013, 05:43 PM   #150
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 268

Rep: Reputation: 80
local directory now use suffix 'dir' instead 'file' and do not require the file '/'

slackpkg install file:filename.txz
slackpkg upgrade dir:/myrepo

available on sourceforge.
 
  


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


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 05:26 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