I am currently on fassapup64. I was trying to uninstall few packages using pkg, but came upon this error which said
Code: Select all
ash: -le: argument expected
/usr/sbin/pkg: line 1: wc: Argument list too long
Currently I must have hundreds of programs installed on my computer. Once earlier I had encountered with this error, that time also when I had a lot of programs already installed.
This seems to be happening because pkg is calling a program and passing it a lot of arguments, that many that can't be handled by ash. I searched the internet and came over a solution (though I don't program in shell script, so I couldn't apply it on pkg).
Please check the issue.
Edit: I checked the exact number of programs installed using pkg li | wc -l. It is 516.
Also note that uninstalling programs using PPM doesn't give any issue.