LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackpkg vs. third-party package repository (https://www.linuxquestions.org/questions/slackware-14/slackpkg-vs-third-party-package-repository-4175427364/)

samac 07-09-2013 04:48 PM

I just ran slackpkg install kde and it picked up all the games and several libraries.

I was upgrading from 4.9.2 and because of the changes in the file structure I guess that upgrading via slackpkg+ could throw up some difficulties.

samac

Alien Bob 07-09-2013 04:48 PM

Quote:

Originally Posted by samac (Post 4987286)
I added the repository information to slackpkg+ then ran slackpkg update, slackpkg install-new, slackpkg upgrade-all.

samac

Well, like it was explained earlier, "slackpkg install-new" only works for official Slackware packages and only for those packages which were added to the specific release of Slackware that you have configured in slackpkg.
What should work (repeating the information of others, but I dit not test this myself) is running "slackpkg install ktown".

Eroc

samac 07-09-2013 05:00 PM

Quote:

What should work (repeating the information of others, but I dit not test this myself) is running "slackpkg install ktown".
This didn't work for me but "slackpkg install kde" did pick up the new packages, but I'm not sure about the deps I will have to look at that from the command line with an "upgradepkg --install-new *.t?z" in the deps directory.

samac

samac 07-09-2013 05:15 PM

Addendum: Not all the dependencies were installed. I guess that I must have deleted them at some point when I was experimenting.

Anyway everything looks OK now. Thanks for the help.

samac

Slax-Dude 07-10-2013 05:18 AM

Quote:

Originally Posted by Alien Bob (Post 4984902)
Try it! Give me your feedback.
Eric

Hmmm...
Something wierd:
Code:

bash-4.2# slackpkg search sip
DONE

The list below shows all packages with name matching "sip".
[ Status          ] [ Repository              ] [ Package
  upgrade                                          sip-4.14.2-x86_64-1alien --> sip-4.13.2-x86_64-2
  installed          ktown                        sip-4.14.2-x86_64-1alien

You can search specific files using "slackpkg file-search file".

Yet,
Code:

bash-4.2# slackpkg upgrade sip

Checking local integrity... DONE
Looking for sip in package list. Please wait... DONE

No packages match the pattern for upgrade. Try:

        /usr/sbin/slackpkg install|reinstall


Alien Bob 07-10-2013 05:47 AM

It depends, if you configured slackpkg+ so that 'ktown' packages always have precendence over stock Slackware packages, then the 'ktown' version of sip will not be downgraded to the Slackware version.
It looks like that is what's happening on your computer, works as advertized.

Eric

Slax-Dude 07-10-2013 07:52 AM

Quote:

Originally Posted by Alien Bob (Post 4987618)
... works as advertized.

Eric

Indeed it does.
My bad :)

mRgOBLIN 07-16-2013 03:07 AM

Nice work guys =)

Just upgraded my 64-14.0 with multilib and kde-4.10.5 in one easy hit... very impressed.

Slax-Dude 08-01-2013 11:01 AM

Probably doing something wrong again... but can't figure out what :(

When search for ffmpeg, I get this:
Code:

bash-4.2# slackpkg search ffmpeg

DONE

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

[ Status          ] [ Repository              ] [ Package                                  ]
  uninstalled          restricted                  ffmpeg-1.2-x86_64-1alien                 
  uninstalled          alienbob                    ffmpeg-1.2-x86_64-1alien                 
  uninstalled          alienbob                    gst-plugins-ffmpeg-0.10.13-x86_64-2alien 
  uninstalled          slacky                      ffmpeg-1.2-x86_64-3sl                   
  uninstalled          slacky                      gst-ffmpeg-0.10.13-x86_64-2sl           

You can search specific files using "slackpkg file-search file".

But when I try to install it it only offers gst-plugins-ffmpeg-0.10.13-x86_64-2alien and gst-ffmpeg-0.10.13-x86_64-2sl

The weird thing is that if I type "slackpkg download ffmpeg", then it offers the list of packages I get from the search command (except the duplicate ffmpeg from the non-restricted repo due to my priority options).

In other words, I can't install the ffmpeg package, but I can download it

zerouno 08-01-2013 11:16 AM

mmm.

I tried the same commands and slackpkg allow me to install ffmpeg.

Try that:
Code:

# bash -x slackpkg install ffmpeg 2>/tmp/slackpkg.log
then post the file /tmp/slackpkg.log

Slax-Dude 08-01-2013 11:27 AM

Found the problem: a stale package named ffmpeg-0.11.2-i486-1alien that was not being picked up by slackpkg.
I installed it manually a long time ago for testing something then forgot about it.

After uninstalling it, slackpkg performed as advertised (once again).

Sorry for the trouble zerouno :(

zerouno 08-01-2013 11:30 AM

i486 ????

zerouno 08-01-2013 11:34 AM

However there is a bug becouse the correct output of slackpkg search should to be:
Code:

  upgrade              slacky                      ffmpeg-0.11.2-i486-1alien --> ffmpeg-1.2-x86_64-3sl

Slax-Dude 08-01-2013 11:36 AM

Quote:

Originally Posted by zerouno (Post 5001038)
i486 ????

Yeah... experimenting with multilib :)
This is my test VM and I should know better than testing stuff in this "unclean" environment, but it is the only I have at this location.

Slax-Dude 08-01-2013 11:39 AM

Now that I installed ffmpeg, I get this:
Code:

bash-4.2# slackpkg search ffmpeg

DONE

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

[ Status          ] [ Repository              ] [ Package                                  ]
  installed          restricted                  ffmpeg-1.2-x86_64-1alien                 
  installed          alienbob                    ffmpeg-1.2-x86_64-1alien                 
  uninstalled          alienbob                    gst-plugins-ffmpeg-0.10.13-x86_64-2alien 
  upgrade              slacky                      ffmpeg-1.2-x86_64-1alien --> ffmpeg-1.2-x86_64-3sl 
  uninstalled          slacky                      gst-ffmpeg-0.10.13-x86_64-2sl           

You can search specific files using "slackpkg file-search file".


Slax-Dude 08-01-2013 11:42 AM

Quote:

Originally Posted by zerouno (Post 5001041)
However there is a bug becouse the correct output of slackpkg search should to be:
Code:

  upgrade              slacky                      ffmpeg-0.11.2-i486-1alien --> ffmpeg-1.2-x86_64-3sl

Maybe slackpkg didn't pickup the i486 package, since I don't have the multilib repo active

zerouno 08-01-2013 11:43 AM

yes, there is a bug when the arch is x86_64 and a package is i486.

zerouno 08-01-2013 12:00 PM

mmmm.

the bug is in slackpkg, not in slackpkg+.

slackpkg show only the packages with -noarch- -fw- and -${ARCH}-, and if you have a -i486- package in /var/log/packages you will NOT able to replace it with a 64bit version.

zerouno 08-01-2013 12:45 PM

Slackpkg 0.9.2 released

to upgrade
# slackpkg update
# slackpkg upgrade slackpkgplus
# slackpkg update

This does not solve slackpkg install problem, but allow to notify the upgrade in slackpkg search:
Code:

# slackpkg search ffmpeg

DONE

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

[ Status          ] [ Repository              ] [ Package                                  ]
  upgrade              restricted                  ffmpeg-1.1-i486-1alien --> ffmpeg-1.2-x86_64-1alien 
  upgrade              alienbob                    ffmpeg-1.1-i486-1alien --> ffmpeg-1.2-x86_64-1alien 
  uninstalled          alienbob                    gst-plugins-ffmpeg-0.10.13-x86_64-2alien 
  upgrade              slacky                      ffmpeg-1.1-i486-1alien --> ffmpeg-1.2-x86_64-3sl 
  uninstalled          slacky                      gst-ffmpeg-0.10.13-x86_64-2sl           

You can search specific files using "slackpkg file-search file".



Also I added the flag "VERBOSE" in slackpkgplus.conf:

Code:

# set to '0' to never show the download progress bar
# set to '1' to show the bar only in download packages (default)
# set to '2' to show always show the download bar
VERBOSE=1

When you download a package is useful the wget progress bar, but in the slackpkg update process you can't see if there is an error, so you can disable it.

mRgOBLIN 08-01-2013 06:39 PM

Quote:

Originally Posted by zerouno (Post 5001088)
Slackpkg 0.9.2 released

to upgrade
# slackpkg update
# slackpkg upgrade slackpkgplus
# slackpkg update

I think that upgrade command should be.

Code:

# slackpkg upgrade slackpkg+
Thanks for a great little util zerouno =)

zerouno 08-02-2013 02:16 AM

sorry :)

Raveriux 08-15-2013 06:46 AM

http://taper.alienbase.nl/mirrors/al...urrent/latest/

now you can upgrade Slackware-current with 4.11 KDE;)

Alien Bob 08-15-2013 07:55 AM

Yes, that is why I created those "latest" symlinks. The URLs http://taper.alienbase.nl/mirrors/al...urrent/latest/ and http://taper.alienbase.nl/mirrors/al...e/14.0/latest/ (and in future http://taper.alienbase.nl/mirrors/al...e/14.1/latest/) will alwys point to the most recent KDE I have available for that particular Slackware release.
I am using it in combination with slackpkg+ myself, here. Works like a charm!

Eric

Raveriux 08-15-2013 08:14 AM

Quote:

Originally Posted by Alien Bob (Post 5009723)
Yes, that is why I created those "latest" symlinks. The URLs http://taper.alienbase.nl/mirrors/al...urrent/latest/ and http://taper.alienbase.nl/mirrors/al...e/14.0/latest/ (and in future http://taper.alienbase.nl/mirrors/al...e/14.1/latest/) will alwys point to the most recent KDE I have available for that particular Slackware release.
I am using it in combination with slackpkg+ myself, here. Works like a charm!

Eric

by the way. slackpkg+ won't install packages that are new i diference with 4.10.5. They are listed as uninstalled and need to be installed by hand.

zerouno 08-16-2013 02:56 AM

Quote:

Originally Posted by Raveriux (Post 5009730)
by the way. slackpkg+ won't install packages that are new i diference with 4.10.5. They are listed as uninstalled and need to be installed by hand.


in slackpkgplus.conf:
PKGS_PRIORITY=( alienkde:.* )
MIRRORPLUS['alienkde']=http://taper.alienbase.nl/mirrors/alien-kde/current/latest/x86_64/

next launch

slackpkg update
slackpkg install kde
slackpkg upgrade-all

edit: add
slackpkg remove kdeadmin-4 kdenetwork-4 kdesdk-4 kdetoys-4

phenixia2003 08-26-2013 09:48 AM

1 Attachment(s)
Hello,

I have some new code for slackpkg+ (ver 0.9.3). You will find it in attachment as a patch.

If you want to test it and you're not used to use patches, then : 1) download the attached patch, and 2) apply it as below :
Code:

$ su
$ cd /usr/libexec/slackpkg/functions.d
$ patch -p0</path/to/slackpkgplus-0.9.3.patch.txt

Here is a summary of what's the new code adds and fixes :

1. Fix a small issue when a pattern is used multiple times in argument of install/upgrade. Here is an example of this issue :

Code:

$ slackpkg dialog=off install ffmpeg alienbob:ffmpeg slacky:ffmpeg
 
Looking for ffmpeg ffmpeg ffmpeg in package list. Please wait... DONE

ffmpeg-1.2-x86_64-1alien.txz
gst-ffmpeg-0.10.13-x86_64-2sl.txz
gst-plugins-ffmpeg-0.10.13-x86_64-2alien.tgz
ffmpeg-1.2-x86_64-1alien.txz
gst-ffmpeg-0.10.13-x86_64-2sl.txz
gst-plugins-ffmpeg-0.10.13-x86_64-2alien.tgz
ffmpeg-1.2-x86_64-1alien.txz
gst-ffmpeg-0.10.13-x86_64-2sl.txz
gst-plugins-ffmpeg-0.10.13-x86_64-2alien.tgz

Total package(s): 9


2. Fix a small bug in install/upgrade regarding the enhanced priority rules which are inserted into the variable PRIORITY in the reverse order. For instance, if you issue "slackpkg install r1:foo r2:bar", then PRIORITY is set to ( r2:bar r1:foo ... ) instead of ( r1:foo r2:bar ).

3. Fix a small bug in search which leads to wrong information about possible upgrade. For instance, on a testing Slackware64/multilib "slackpkg search qt" outputs the following (errors in red) :

Code:

[ Status          ] [ Repository              ] [ Package                                  ]
  installed                                        kdevelop-pg-qt-1.0.0-x86_64-1           
  installed                                        perlqt-4.8.5-x86_64-1                   
  installed                                        qtruby-4.8.5-x86_64-1                   
  installed                                        smokeqt-4.8.5-x86_64-1                   
  installed                                        libdbusmenu-qt-0.9.2-x86_64-2           
  installed                                        polkit-qt-1-0.103.0-x86_64-1             
  upgrade                                          qt-4.8.2-x86_64-4
qt-compat32-4.8.2-x86_64-4compat32 --> qt-4.8.2-x86_64-4 

  installed                                        qtscriptgenerator-0.2.0-x86_64-1         
  uninstalled          alienbob                    razor-qt-0.5.2-x86_64-1alien             
  uninstalled          slacky                      qtcurve-gtk2-1.8.16-x86_64-1sl           
  uninstalled          slacky                      razorqt-0.5.2-x86_64-1sl                 
  uninstalled          slacky                      qt3-3.3.8b-x86_64-1sl                   
  uninstalled          slacky                      avidemux-qt4-2.5.6-x86_64-2sl           
  uninstalled          slacky                      qt-recordmydesktop-0.3.8-x86_64-10sl     
  uninstalled          slacky                      bitcoin-qt-0.7.1-x86_64-1sl             
  uninstalled          slacky                      qtransmission-2.75-x86_64-1sl           
  upgrade              ktown                        qt-4.8.2-x86_64-4
qt-compat32-4.8.2-x86_64-4compat32 --> qt-4.8.4-x86_64-5alien
 
  upgrade              ktown                        perlqt-4.8.5-x86_64-1 --> perlqt-4.10.5-x86_64-1alien 
  upgrade              ktown                        qtruby-4.8.5-x86_64-1 --> qtruby-4.10.5-x86_64-1alien 
  upgrade              ktown                        smokeqt-4.8.5-x86_64-1 --> smokeqt-4.10.5-x86_64-1alien 
  installed          multilib                    qt-compat32-4.8.2-x86_64-4compat32


4. Improved slackpkg+ so that it is now possible to install/upgrade/reinstall/remove all the packages from a given repository using the syntax :

Code:

 
slackpkg install|upgrade|reinstall|remove <repository_name>

For instance, once you have uncommented the line "PKGS_PRIORITY=( multilib:.* ) in your /etc/slackpkg/slackpkgplus.conf, you can turn your pure 64-bit version of Slackware into Slackware64/multilib with the commands below :

Code:

$ slackpkg upgrade gcc glibc (or slackpkg upgrade-all)
$ slackpkg install multilib

If you want to upgrade only the multilib packages, you can issue the command :
Code:

 
$ slackpkg upgrade multilib

When new packages have been added to the multilib, or in case some of the multilib packages are missing, you can grab them using the command :
Code:

 
$ slackpkg install multilib

If you want to fully reinstall the multilib, you will issue the command :
Code:

 
$ slackpkg reinstall multilib


If you no longer need the multilib and want to return to true 64-bit, you can now proceed as below :

+ Comment the line "PKGS_PRIORITY=( multilib:.* ) in your /etc/slackpkg/slackpkgplus.conf

+ remove the multilib packages :
Code:

   
$ slackpkg remove multilib

+ reinstall the pure 64-bit gcc/glibc :
Code:

   
$ slackpkg upgrade gcc glibc

Note:
To prevent system breakage, slackpkg+ automatically blacklist the packages gcc/glibc when the repository passed to "remove" contains the string "multilib"
IMPORTANT:

For consistency purpose, the code to install missing compat32 packages using "slackpkg install-new" should be removed. Indeed, install-new is not designed for this as stated in slackpkg documentation :

Quote:

install-new
This action installs any new packages that are added to the official Slackware package set. Run this if you are upgrading your system to
another Slackware version or if you are using -current. If you want to install all uninstalled Slackware packages onto your system, use
the following command instead of the install-new action:

# slackpkg install slackware

The improvement #4 fixes this inconsistency, and user can now install the missing/new compat32 packages with "slackpkg install multilib". However, I didn't remove the "install-new" code because there's an issue with the package aaa_elflibs-compat32 which can not be installed (nor upgraded/reinstalled/removed) using "slackpkg install|upgrade|reinstall|remove multilib" because slackpkg's blacklist contains the pattern aaa_elflibs. If anybody have an idea to fix that issue, this would be great.
Hope this helps.

Cheers.

--
SeB

zerouno 08-26-2013 05:06 PM

it's a good patch, thankyou. Unfortunatley I've not a Slackware pc this week so I can release next version not before than 2/september

zerouno 08-27-2013 08:47 AM

0.9.4 released, but you must download it manually (I can't generate metadata files)

phenixia2003 08-27-2013 09:45 AM

1 Attachment(s)
Hello,

Quote:

Originally Posted by zerouno (Post 5016868)
0.9.4 released, but you must download it manually (I can't generate metadata files)

Thanks for the update ... But I have some new code for you :D

I had an idea to fix the issue I was talking about at the end of my previous post (ie silent exclusion of aaa-elflibs-compat32). As a consequence, I removed the code to install missing compat32 packages using "slackpkg install-new".

Furthermore, I also fixed a small issue about packages selection when one of the standard slackware's directories (ie slackware, slackware64, testing,extra, patches) is passed in argument of "slackpkg install|upgrade|remove|reinstall".

For instance, if slackpkg+ is configured with the repositories "multilib" and "microlinux", running "slackpkg install slackware64" leads to select packages from slackware64 directory, but also packages from "multilib" and "microlinux" repositories, because packages from these repositories are stored in directories whose names include the word "slackware64".

In attachment, you will find the patch for slackpkg+ 0.9.4.

Cheers

--
SeB

kfn 08-27-2013 05:47 PM

Hello

it's very nice tool indeed! However, if i package something myself and it happens to be a newer version than its equivalent on the repos, it shows the repo version as an update.
i.e. i have libreoffice 4.1 and it prompts me to "update" to 4.0.5.

Is it possible to circumvent this behavior somehow?

In slackware64-current my config is:
PKGS_PRIORITY=( multilib:.* )
REPOPLUS=( slackpkgplus multilib restricted_current restricted alienbob_current alienbob slacky )

so if i'm not mistaken, the priority is: multilib packages, then slackware packages, then the repoplus vector in order.

ruario 08-28-2013 12:16 AM

@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.

ruario 08-28-2013 12:21 AM

If you do that though, bear in mind that you will not be prompted for updates as long as it remains blacklisted, even if one the repos starts to have a newer version in the future. Whilst blacklisted it is entirely up to you to manually manage updates for that package, should you want them. This may be obvious but I thought I would state it nonetheless, just in case it wasn't. ;)

mlangdn 08-28-2013 06:50 AM

Quote:

Originally Posted by ruario (Post 5017231)
@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/slackpkg.conf and your package would not be prompted for upgrade.

Should that not be:

add '[0-9]+kfn' to etc/slackpkg/blacklist

mlpa 08-28-2013 08:00 AM

Hello, I have two questions:
  1. Is there any change that slackpkg+ will be added to the slackware tree?
  2. Are threre a repository for SBo, or the idea to add one?

Raveriux 08-28-2013 08:06 AM

Quote:

Originally Posted by mlpa (Post 5017514)
Hello, I have two questions:
  1. Is there any change that slackpkg+ will be added to the slackware tree?
  2. Are threre a repository for SBo, or the idea to add one?

As SBo does not contain packages, but scripts for making packages, repository for SBo have no sence. For SBo packages use a sbopkg tool.

mlpa 08-28-2013 08:13 AM

Quote:

Originally Posted by Raveriux (Post 5017517)
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.

zerouno 08-28-2013 08:29 AM

0.9.5 released

ruario 08-28-2013 11:02 AM

Quote:

Originally Posted by mlangdn (Post 5017477)
Should that not be:

add '[0-9]+kfn' to etc/slackpkg/blacklist

Umm ... yep! :D

zerouno 08-28-2013 05:56 PM

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.

Slax-Dude 08-29-2013 06:54 AM

Quote:

Originally Posted by zerouno (Post 5017528)

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 (Post 5016868)
0.9.4 released, but you must download it manually (I can't generate metadata files)


zerouno 08-29-2013 07:05 AM

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.

kfn 08-29-2013 04:44 PM

Quote:

Originally Posted by ruario (Post 5017231)
@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.

Slax-Dude 08-30-2013 08:38 AM

Quote:

Originally Posted by kfn (Post 5018510)
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 (Post 5018510)
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.

zerouno 09-01-2013 04:59 AM

as slackpkg, Slackpkg+ is on sourceforge

zerouno 09-01-2013 04:03 PM

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

phenixia2003 09-02-2013 04:00 AM

1 Attachment(s)
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

zerouno 09-02-2013 05:17 AM

Thankyou.
uploaded the fix

zerouno 09-02-2013 08:05 AM

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 :)

zerouno 09-02-2013 10:29 AM

Now it supports local directory

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


non-mature code!

zerouno 09-04-2013 05:43 PM

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.


All times are GMT -5. The time now is 07:47 PM.