On 2016-04-25 15:21, Gary Thomas wrote:
I tried to add wpa-supplicant to my working/installed system
and got this error:
Removing any system startup links for dbus-1 ...
Running groupadd commands...
NOTE: dbus: Performing groupadd with [ -r netdev]
ERROR: dbus: groupadd command did not succeed.
To remove package debris, try `opkg remove dbus-1`.
To re-attempt the install, try `opkg install dbus-1`.
...
Collected errors:
* pkg_run_script: package "dbus-1" preinst script returned status 1.
* preinst_configure: Aborting installation of dbus-1.
* opkg_install: Cannot install package wpa-supplicant.
When I tried to rerun it, I got this:
root@teton-p7618:~# opkg remove dbus-1
No packages removed.
root@teton-p7618:~# opkg install dbus-1
Installing dbus-1 (1.10.6-r0.3) on root.
Removing any system startup links for dbus-1 ...
Running groupadd commands...
NOTE: dbus: Performing groupadd with [ -r netdev]
ERROR: dbus: groupadd command did not succeed.
To remove package debris, try `opkg remove dbus-1`.
To re-attempt the install, try `opkg install dbus-1`.
Collected errors:
* pkg_get_installed_files: Failed to open ///var/lib/opkg/info/dbus-1.list:
No such file or directory.
* pkg_run_script: package "dbus-1" preinst script returned status 1.
* preinst_configure: Aborting installation of dbus-1.
* opkg_install: Cannot install package dbus-1.
What might be the issue here and how to I resolve it?
Interesting info from 'strace'
1147 execve("/usr/local/bin/ groupadd -r netdev", [" groupadd -r netdev"], [/* 12 vars */]) = -1 ENOENT (No such file
or directory)
1147 execve("/usr/bin/ groupadd -r netdev", [" groupadd -r netdev"], [/* 12 vars */]) = -1 ENOENT (No such file or
directory)
1147 execve("/bin/ groupadd -r netdev", [" groupadd -r netdev"], [/* 12 vars
*/]) = -1 ENOENT (No such file or directory)
1147 execve("/usr/local/sbin/ groupadd -r netdev", [" groupadd -r netdev"], [/* 12 vars */]) = -1 ENOENT (No such file
or directory)
1147 execve("/usr/sbin/ groupadd -r netdev", [" groupadd -r netdev"], [/* 12 vars */]) = -1 ENOENT (No such file or
directory)
1147 execve("/sbin/ groupadd -r netdev", [" groupadd -r netdev"], [/* 12 vars
*/]) = -1 ENOENT (No such file or directory)
seems to be a problem with finding the 'groupadd' command?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto