Ok, I've tried.
There is a problem in the repository. The CHECKSUMS.md5 does not contain the md5 for the .asc files For now you must to use slackpkg -checkgpg=off install ... [edit] may work slackpkg -checkmd5=off install ... |
Brilliant thanks, at least I know it is not me...
|
Quote:
Code:
============================================================================== |
yes, the asc file is not in CHECKSUMS.MD5
grep xfce4-netload-plugin-1.2.4-x86_64-1_rlw.txz.asc /var/lib/slackpkg/CHECKSUMS.md5 give no output |
Looks like it's fixed now.
|
Phew, I thought I was the only one getting errors. Like lopid said, it's fixed now :)
|
I had a problem (bug?) using slackpkg+ 1.7.0 and also I have a feature request :)
The problem/bug: In my conf file I have "REPOPLUS=( repo1 repo2 slackpkgplus repo3 repo4 )" and "PKG_PRIORITY=( slackpkgplus repo1 repo2 repo3 repo4 )". When I search for slackpkg, it tells me that slackpkg+-1.7.0-noarch-4mt should be upgraded to slackpkg+-1.7.0-noarch-repo1... so it is ignoring PKG_PRIORITY entirely. The feature request: Is it possible to extend the repository:package format to templates? Having something like repo1:package1 repo1:package2 repo2:package3 repo1:package4 ...would be very useful for having templates that include package from different repositories that may have the same packages. For example: repo1 and repo2 both have package1 + package2 + package3 + package4, but in repo2 package3 was compiled with some optional dependencies that I would like to use. But only package3... all other packages should come from repo1. What do you think? |
Hello,
Quote:
Just noticed that your slackpkgplus.conf seems to contain PKG_PRIORITY instead of PKGS_PRIORITY. So, unless I'm wrong you can ignore the following.
Quote:
-- SeB |
Quote:
Must use copy/paste more when editing config files so I don't make these mistakes :( Quote:
|
Quote:
when you run slackpkg install X, slackpkg always installs the first package that matches X according to the order defined :
The same applies to install-template. Considering the (pseudo) template below : Code:
slackpkg+ Code:
PKGS_PRIORITY=( slackpkgplus mleddesktop ) Code:
$ slackpkg -dialog=off -default_answer=no -batch=on install-template test Code:
PKGS_PRIORITY=( mleddesktop slackpkgplus ) Code:
$ slackpkg -dialog=off -default_answer=no -batch=on install-template test The drawback here, is that each generated template is implicitly linked to the slackpkgplus.conf in use. Therefore, if you loose this configuration, the template could not work as it should, unless the slackpkgplus.conf is rebuilt. Even if it would be easier to rebuild the slackpkgplus.conf file, this drawback also applies in case the format "R:P" was extended to templates. -- SeB |
I think having the same conf file will not help, unless I implicitly state all the packages from repo2 that should have priority over the ones from repo1.
If there is only 1 or 2 packages, this is a doable workaround... but if I have a template with hundreds of packages and half of them should come from repo1 and half from repo2... it's a nightmare. Here is an example :) Let's say I have a template with 100 packages. Most of them will be from slackonly, but some like ffmpeg and libreoffice are from alienbob, and others like virt-manager from mleddesktop and others still from some other repos. How should I manage repo priorities? Please note that some packages are present in more than one repo, but not all of them. Code:
PKGS_PRIORITY=( restricted:vlc restricted:ffmpeg alienbob:libreoffice repo1:package1 repo1:package2 repo1:package3 repo2:package4 repo1:package5 repo6:package6 repo1:package7 etc... slackonly restricted alienbob repo1 repo2 repo3 repo4 repo5 repo6 ) I also don't know if ( repo2:package3 repo1 repo2 ) would work. If templates supported the R:P format, this would be much easier to config. Something like this: package1 package2 repo2:package3 repo1:package4 package5 package6 All lines in template that have R:P format would respect it, those that don't have a R:P format should respect PKGS_PRIORITY as usual. This would keep backwards compatibility with all those template files out there. We can already "slackpkg install restricted:vlc" regardless of PKG_PRIORITY, right, so it is already possible to bypass it? |
Hello,
Quote:
That's right. But, anyway, in this context, even if syntax R:P was supported by templates, you will have to declare the same huge PKGS_PRIORITY or set TAG_PRIORITY=on (*) to ensure that upgrades are properly selected once the packages declared in the template are installed. (*) which can fail in case of packages with same version and same build. I'll check if there's an easy way to have syntax R:P supported by templates. -- SeB |
Yeah, I was counting on TAG_PRIORITY=on for upgrades, since there is no upgrade-template option :)
|
2 Attachment(s)
Hello,
Quote:
Code:
--- slackpkgplus.sh.org 2016-09-21 18:24:55.429874341 +0200 Here is an example : Code:
$ cat /etc/slackpkg/template/test.template Furthermore, with this patch, slackpkg generate templates with the enhanced syntax : Code:
$ slackpkg generate-template template-with-enhanced-syntax SeB |
Thanks for considering implementing this option!
I'll test it tomorrow as I don't have access to a Slackware box right now. |
All times are GMT -5. The time now is 05:21 PM. |