sth wrong in slackpkg
hello everyone,
slackpkg give me "grep write error" in the stdout every time when I am trying to slackpkg {install sth, upgrade-all,...}. I have tried to analysis /usr/sbin/slackpkg, but failed.... Can anyone tell me how to find the answer nextstep? # type grep grep is /usr/bin/grep slackpkg 's version is 2.81.1 slackware-current 2013-10-23 |
Something is not wrong with slackpkg.... something is wrong with your computer.
Start with copy/pasting the exact output into this thread so that other people can try to think of a cause. What you also must mention is the output of these commands: Code:
uname -a Code:
cat /etc/slackware-version Code:
ls -la /var/log/packages/slackpkg* Code:
ls -la /var/log/packages/pkgtool* Code:
ls -la /var/log/packages/grep* |
same here in 14.1 RC2:
Code:
2013-10-26 08:26:45 (11.6 MB/s) - '/var/cache/packages/./slackware64/x/xterm-297-x86_64-1.txz.asc' saved [198] Code:
Linux s3 3.10.17 #1 SMP Wed Oct 23 16:28:33 CDT 2013 x86_64 AMD FX(tm)-6300 Six-Core Processor AuthenticAMD GNU/Linux Code:
Slackware 14.1 Code:
-rw-r--r-- 1 root root 1658 Oct 21 12:26 /var/log/packages/slackpkg-2.82.0-noarch-12 Code:
-rw-r--r-- 1 root root 1372 Oct 18 21:56 /var/log/packages/pkgtools-14.1-noarch-2 Code:
-rw-r--r-- 1 root root 5128 Oct 18 21:54 /var/log/packages/grep-2.14-x86_64-1 |
Quote:
Code:
uname -a Code:
cat /etc/slackware-version Code:
ls -la /var/log/packages/slackpkg* Code:
ls -la /var/log/packages/pkgtool* Code:
ls -la /var/log/packages/grep* |
"Broken pipe" is a well know issue while piping commands [1] and slackpkg makes use of it with grep [2]
I'm in -current and have been using slackpkg without any issue related with "broken pipes" but just trying to give you a guess, are you executing slackpkg with sudo or with a root login shell (su -)?. sudo could be the problem [3]. [1] http://unix.stackexchange.com/a/60228 [2] grep -E 'grep .* \|' /usr/libexec/slackpkg/core-functions.sh [3] http://lists.freebsd.org/pipermail/f...ry/022397.html |
yes I had the same thing on my latest still works. seems it is caching them all before the install. grep error I figure it is some feed back.
slackpkg works so no problem here. There is nothing wrong with this computer or the fresh install from current to rc1 rc 2 rc3 and I keep an updated mirror on the hard drive. No biggy to me Slackpkg still works fine. just spews the grep error |
Quote:
|
The signal handler doesn't seem to work, since the shell doesn't seem to catch the sig in time or because the shell doesn't run the signal handler function until after the current process completes.
That's all I have time for right now. Like I said before, I don't see slackpkg as broken, so I may not go further with this. My system updates and upgrades have been good, just a little noisy. |
All times are GMT -5. The time now is 10:17 AM. |