[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#895466: debootstrap 1.0.96 fails due to missing apt-config

On 12-04-18 09:58, Raphael Hertzog wrote:

On Wed, 11 Apr 2018, Olliver Schinagl wrote:
While running debootstrap on a non-native debian system, debootstrap keeps
failing with

debootstrap: line 55: apt-config: command not found
Duh... this change has even been discussed on the mailing list. I think
it's partly fixed already in git but still there's a big misunderstanding.
Well I just took the latest master and wanted to run it. I didn't dig into the mailing list to see if a broken master was being disccused (I did google for it but couldn't find it. I manually debugged and git-bisected it)

Hideki, when Ben Hutchings suggested to use "command -v" it means "command
-v apt-config" and not "apt-config -v".

But really the code that went into 1.0.96 is completely wrong. Basically
you tested whether "apt-config -v >/dev/null" is a non-empty string. And
yes it's a non-empty string. :-)

I pushed a proper fix to git.
Thanks for fixing it :)


Reply to: