Hi Dawid thank you very much again to report this bug and help to find the cause of this bug! The problem is very simple: grep try to get count of processors but if it don't find anything it returns 0 -> script fails. A workarround is: Search the "grep -c processors /proc/cpuinfo" line in /var/lib/dpkg/info/apt-build.config and add "|| true" at the end.
Hi Dawid thank you very much again to report this bug and help to find the cause of this bug! The problem is very simple: grep try to get count of processors but if it don't find anything it returns 0 -> script fails. A workarround is: Search the "grep -c processors /proc/cpuinfo" line in /var/lib/ dpkg/info/ apt-build. config and add "|| true" at the end.