[筆記] Freebsd ports安裝 dbus 會發生 dbus pw: user 'messagebus' already exists freebsd 的錯誤

今天想在freebsd上弄個支援macos 可以用的time capsule 出來

理所當然的用ports去安裝 /usr/ports/net/netatalk

不過過程中會卡在 dbus 這邊,錯誤訊息是

dbus pw: user ‘messagebus’ already exists

即使是手動去砍掉/etc/passwd , /etc/group裡面的messagebus也沒用

然後熊熊發現,freebsd好像沒有 userdel 的指令?

找了一下發現要用 pw 去做userdel

pw userdel messagebus

然後再重新 make install dbus 就可以繼續跑下去了..

You forgot to set the qrcode for Alipay. Please set it in _config.yml.
You forgot to set the qrcode for Wechat. Please set it in _config.yml.
You forgot to set the business and currency_code for Paypal. Please set it in _config.yml.
You forgot to set the url Patreon. Please set it in _config.yml.
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×