Slackpkg+ issue on current
I'm running Slackware64_current as of 11/02/2016 and I'm getting an error when slackpkg+ is enabled via the on/off variable at th etop of slackpkgplus.conf
Installed versions are :- Slackpkg-2.82.0-noarch-16 Slackpkg+-1.6.1p2-noarch-1mt when slackpkg+ is enabled I get the following error, ls: cannot access '*.t[blxg]z': No such file or directory Everything seems to work OK ? If it's my setup any hints on where to look for the problem will be gratefully received. |
I can't reproduce your problem. Please post the output of
Code:
$ grep -v "^#\|^#" /etc/slackpg{,plus}.conf |
Thanks for the prompt responce.
Can't find an unmolested slackpkgplus.conf in the package ! I've run the diff between the source and installed files :- Code:
--- ../data1/slackpkg-2.82.0-noarch-16/etc/slackpkg/slackpkg.conf.new 2013-05-22 21:11:21.000000000 +0100 Code:
--- ../../../etc/slackpkg/slackpkgplus.conf.new 2016-02-14 22:30:09.505423102 +0000 |
Your slackpkgplus.conf is inconsistent.
1. If you want a download-only mode, uncomment DOWNLOADONLY option. 2. Keep in REPOPLUS only respective MIRRORPLUS entries. |
Quote:
To prevent this, the lines #1088 and #1143 in slackpkg+ (1.6.1p2) should be changed as below (in bold) : Code:
1088: ls 2>/dev/null -ld *.t[blxg]z|sort -rn|grep ^-|awk '{print "./SLACKPKGPLUS_'$PREPO'/"$NF}'|awk -f /usr/libexec/slackpkg/pkglist.awk >> ${TMPDIR}/pkglist-pre -- SeB |
Quote:
However the directory /home/data1/slackware/packages is not empty from a pedantic point of view, but there are no packages files in the folder or it's sub-folders so it is empty in the context of the search pattern. Now I've just got to make this thread solved...... |
I think it would be good idea, to use find instead of ls.
|
All times are GMT -5. The time now is 12:37 PM. |