good.
I'm seeing that. Tell me also if may be or not may be an idea to support case-insensitive search (only in slackpkg search or install/upgrade or both) Code:
# slackpkg search mplayer P.S.: if you follow the devel branch on github, you can see I had made some new commit in these days that I'm testing, but I want to close the givepriority() problem before do it. |
still remains a bug that slackpkg install show some packages matching pattern from other repositories different from the explicitly specified (I have PKGS_PRIORITY=( ktown ) in configuration):
Code:
|
1 Attachment(s)
Hello,
Quote:
Code:
--- slackpkgplus.sh.github 2015-12-17 11:43:14.400468572 +0100 Code:
slackpkg -dialog=off install restricted:vlc Code:
slackpkg -dialog=off install restricted:vlc ktown:vlc Code:
slackpkg -dialog=off install testing:0.6.0 SeB |
thankyou.
unfortunately today I can't see/test it. I will see it tomorrow. |
Seems to be a good way to solve the problem.
I made some - non exaustive - test, all with success, but I think that the only way to test it is to release it and wait for feedback. |
1 Attachment(s)
Quote:
Here is the patch Attachment 20321 (compatible with slackpkg from github and the latest public version 1.5.1-mt2) to support case-insentitive search|file-search: Code:
--- slackpkgplus.sh.github 2015-12-17 11:43:14.400468572 +0100 The case-sensitivity is controlled by the environment variable SENSITIVE_SEARCH which can be on|off. In slackpkgplus.conf, it must be defined as below : Code:
# Defines if commands 'search' and 'file-search' are case-sensitive (on) or not (off). Default to "on" Code:
$ SENSITIVE_SEARCH=off slackpkg search mplayer SeB |
Hello,
@Zerouno Seems the patch attached to this post, which fix that kind of issue, has not been applied. -- SeB |
Sorry, I forgot it.
But the issue affects also the 'install' command. Code:
diff --git a/src/slackpkgplus.sh b/src/slackpkgplus.sh Thankyou. |
released this patch in slackpkg+-1.6.1-noarch-3mt that fix issues with TAG_PRIORITY=on
Also I found an important issue with SHOWORDER that under certains repository (slackware&extra) do not show some package (kernel-headers and xf86-video-nouveau), so I'd urgently disable it (until searching fix). I'have fixed and re-enabled it in slackpkg+-1.6.1-noarch-4mt. |
I'm running slackpkg+-1.6.1-noarch-4mt on Slackware 64 14.1 with Multilib. Ever since I upgraded to the latest version, when I attempt to run slackpkg upgrade-all, it generates an error about missing arguments, ==============================================================================
WARNING! One or more errors occurred while slackpkg was running ------------------------------------------------------------------------------ DIALOG ERROR: ------------- Error: Expected 4 arguments, found only 2. 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 "expected 4 received 2 has never appeared before. I have already turned cacheing off because it was giving an error that the tds.net repository didn't allow cacheing. I've also tested straight slackpkg by using the slackpkgplus on/off switch. If I turn slackpkgplus off, then slackpkg finds all the kde packages as changes since I run ktown. This points to slackpkgplus as being the culprit. I suspect this error is an issue with the new switches that have been added and that during upgrade I "merged" my old slackpkgplus.conf with the new to save PKG_PRIORITY and MIRRORS settings, rather than accepting the new and modifying it? I'm wondering if anyone can show me the current correct version of slackpkgplus.conf so that I can compare to my current config to determine which arguments I might have 'merged" away. Thanks in advance. |
Same error here.
To answer your question - 64bit slackpkgplus.conf sample file from the source. No significant difference between my slackpkgplus.conf and the sample. In slackpkg.conf, setting DIALOG=off allowed the text version to work. |
Thanks for the sample file and short-term solution to turn off the ncurses dialog. I did have multilib and ktown in both PKG_PRIORITY and in REPOPLUS of slackpkgplus.conf, took them out of REPOPLUS. The error is still occurring with DIALOG=on in slackpkg.conf. I'll send note to the maintainer for investigation and bug fix request.
: |
Thanks.
Please post your configuration file. Try to rollback to the -3mt package from sourceforge. |
zerouno here is my config at this time. Since this seems to be a ncurses issue, could the problem be with slackpkg rather than slackpkgplus?
# Configuration for slackpkg+. See /usr/doc/slackpkg+-*/README for more details # Enable (on) / Disable (off) slackpkg+ SLACKPKGPLUS=on # 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 always show the download bar # set to '3' for a debug mode VERBOSE=1 # By default slackpkg+ deny to install 32bit packages. # # Set this flag to 'on' allow slackpkg+ to install 32bit packages on a 64bit slackware # installation (possibly unsafe). Please, do not install both 32 and 64bit of the same # package to avoid problems, and NEVER upgrade existant 64bit packages with relative 32bit package. # Do not forget to install the multilibs. ALLOW32BIT=off # Enable (1) / Disable (0) the official slackpkg blacklist. May be useful to temporarily skip # the slackware blacklist. You can also override it from command line: # 'USEBL=0 slackpkg upgrade-all' USEBL=1 # Add custom option to 'wget'. # You can solve the repository indisponibility issue by set a timeout here WGETOPTS="--timeout=20 --tries=2" # If you want replace wget with another downloader search DOWNLOADCMD in documentation # at /usr/doc/slackpkg+-*/README #DOWNLOADCMD="wget -O" # Use the cache for metadata files (CHECKSUMS.md5,...). Enable it (on) to speedup the slackpkg update # process by downloading just new files (see README). Disabled by default (off) CACHEUPDATE=off # You can download-only by setting DOWNLOADONLY to 'on'. You may (you should) also use it in commandline # for example: "DOWNLOADONLY=on slackpkg upgrade-all". Useful for large upgrades. #DOWNLOADONLY=off # Enable (on) / Disable (off) notification events (see notifymsg.conf) #ENABLENOTIFY=off # Enable (on) / Disable (off) the greylist feature. See /etc/slackpkg/greylist GREYLIST=on # Defines if commands 'search' and 'file-search' are case-sensitive (on) or not (off). Default to "on" SENSITIVE_SEARCH=on # Select the show order in dialogbox. Available "package" "repository" "tag" "path" "arch" SHOWORDER=package # If two or more repositories contains some same packages, you can specify # from which repository you prefer to search it. # The syntax is "<repository_name>:<package_name>" # Accepts regular expressions. To give priority to an entire repository use "<repository_name>" # Examples: #PKGS_PRIORITY=( restricted:vlc ) # OR #PKGS_PRIORITY=( myrepo ) # # if you have two reporitories to give priority you must set both in the same line #PKGS_PRIORITY=( myrepo restricted:vlc ) # # if you want to install 'ktown' repository you must set it here #PKGS_PRIORITY=( ktown ) # and DO NOT MISS to read special instruction on /usr/doc/slackpkg+-*/repositories.txt # # If you want a multilib system, uncomment the multilib repository and set: #PKGS_PRIORITY=( multilib ) # # (Use /usr/doc/slackpkg+-*/setupmultilib.sh to setup a multilib configuration) # # For both multilib and ktown set PKGS_PRIORITY=( multilib ktown ) # Otherwise you can try to upgrade a package from a repository that contains a package with the # same tag of the already installed package. Tipically that means to upgrade a package from the # same author of the already installed package. # Note that this method may not works properly where two repositories contains a package with the # same tag. # Set TAG_PRIORITY to 'on' to enable this function TAG_PRIORITY=off # List repositories you want to use (defined below) # remember to launch 'slackpkg update' if you modify that row. REPOPLUS=( slackpkgplus restricted alienbob slacky ) # Define mirrors (uncomment one or more mirror; remember to add it to REPOPLUS) # GPG Note: after adding a repository, you must to run 'slackpkg update gpg' # some repositories as salixos or slackel, have a partial GPG support; # for that repositories you may need to run slackpkg with 'slackpkg -checkgpg=off ...' # 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['ktown']=http://taper.alienbase.nl/mirrors/alien-kde/14.1/4.14.3/x86_64/ MIRRORPLUS['slacky']=http://repository.slacky.eu/slackware64-14.1/ # use this to keep the slackpkg+ package updated MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+/ # Slackware current - x86_64 #MIRRORPLUS['multilib']=http://taper.alienbase.nl/mirrors/people/alien/multilib/current/ # Local repository: #MIRRORPLUS['alienbob']=file://repositories/alien/sbrepos/14.1/x86/ # # Local packages (you do not need metadata nor 'slackpkg update' command): #MIRRORPLUS['myrepo']=dir://repositories/mypackages/ # # Supported Repositories (see /usr/doc/slackpkg+-* for details and notes): # #Supports GPG #slackpkgplus: http://slakfinder.org/slackpkg+/ #multilib: http://taper.alienbase.nl/mirrors/people/alien/multilib/{13.37,14.0,14.1,current}/ #alienbob: http://taper.alienbase.nl/mirrors/people/alien/sbrepos/{13.37,14.0,14.1,current}/{x86,x86_64}/ #ktown: http://taper.alienbase.nl/mirrors/alien-kde/{13.37,14.0,14.1,current}/{latest,testing}/{x86,x86_64}/ #restricted: http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/{13.37,14.0,14.1,current}/{x86,x86_64}/ #slacky: http://repository.slacky.eu/slackware{,64}-{13.37,14.0,14.1}/ #mleddesktop: http://www.microlinux.fr/microlinux/desktop-{14.1,14.2}-{32,64}bit/ #mledextras: http://www.microlinux.fr/microlinux/extras-{14.1,14.2}-{32,64}bit/ #mles: http://www.microlinux.fr/microlinux/server-{14.0,14.1,14.2}-{32,64}bit/ #msb: http://slackware.org.uk/msb/{14.0,14.1,testing}/{1.6,1.8,1.10,1.12}/{x86,x86_64}/ #slackers: http://ponce.cc/slackers/repository/ #slacke17: http://ngc891.blogdns.net/pub/slacke17/slackware{,64,arm}-{14.0,14.1}/ #slacke18: http://ngc891.blogdns.net/pub/slacke18/slackware{,64,arm}-{14.0,14.1}/ #studioware: http://studioware.org/files/packages/slackware{,64}-{13.37,14.0,14.1}/ #slackonly: http://packages.slackonly.com/pub/packages/{14.1,current}-{x86,x86_64}/ #rlworkman: http://rlworkman.net/pkgs/{13.37,14.0,14.1,current}/ #slackel: http://www.slackel.gr/repo/{i486,x86_64}/{current,kde5}/ # #Does NOT support GPG #salixos(*): http://download.salixos.org/{i486,x86_64}/{13.37,14.0,14.1}/ |
zerouno - I can use slackpkg with the ncurses dialog off while you look into what is causing this. The following are output of various slackpkg queries, and the info is the version in Slackware64-14.1 PACKAGES.TXT
Why does slackpkg return 2.81.1 when the installed version is 2.82.0? Does that give you any clue's as to where the bug might be? ---------------------------------- root@Hicrest1:~# slackpkg info slackpkg PACKAGE NAME: slackpkg-2.82.0-noarch-12.tgz PACKAGE LOCATION: ./slackware64/ap PACKAGE SIZE (compressed): 64 K PACKAGE SIZE (uncompressed): 260 K ---------------------------------- root@Hicrest1:~# slackpkg search slackpkg DONE The list below shows all packages with name matching "slackpkg". [ Status ] [ Repository ] [ Package ] installed slackpkg-2.82.0-noarch-12 installed slackpkgplus slackpkg+-1.6.1-noarch-4mt You can search specific files using "slackpkg file-search file. ------------------------------ root@Hicrest1:~# slackpkg --version --version: Unknown option. slackpkg - version 2.81.1 --------------------------------- |
All times are GMT -5. The time now is 09:25 PM. |