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

Bug#717449: Info received (Bug#717449: Acknowledgement (Generates /etc/network/interfaces config for eth0 although network-manager is installed (desktop task)))



On IRC KiBi suspected the following line [1] to be the culprit:

if in-target dpkg-query -s network-manager 2>/dev/null | grep -q
'^Status: install ok installed'; then


I ran that on the d-i console, and the check was indeed not successful.
Changing that to

if in-target sh -c "dpkg-query -s network-manager 2>/dev/null | grep -q
'^Status: install ok installed'"; then

fixed it for me.

For comfirmation, I also ran the check against a non-installed package,
to be sure the test was indeed working properly.

Would be great to have this fix in the next point release.

Cheers,
Michael


[1]
http://anonscm.debian.org/gitweb/?p=d-i/netcfg.git;a=blob;f=finish-install.d/55netcfg-copy-config;h=507a3cd87800e49c3b629c2c140b708e186f4893;hb=c7d87b7c6a7a91e2844757218e7162295f67e3e0#l21

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: