Problem removing interface br0 and dependencies

banderas20

Active Member
Joined
Aug 1, 2018
Messages
102
Reaction score
42
Credits
799
Hello,

the other day I installed the package "bridge-utils" and added a br0 interface. Now I have purged the package and removed the lines regarding br0 from interfaces file by hand.
However, after "service networking restart" and "ifconfig", br0 is still there.

I have issued an apt-get autoremove to uninstall dependency packages, with no success.

Now I have 2 packages which I have tried to uninstall, that look like this:

pi libatk-adaptor:amd64
pi libatk-bridge2.0-0:amd64

If I try to purge them, it complains:

Code:
dpkg --purge libatk-adaptor:amd64
dpkg: dependency problems prevent removal of libatk-adaptor:amd64:
 python3-pyatspi depends on libatk-adaptor (>= 2.11.2).

dpkg: error processing package libatk-adaptor:amd64 (--purge):
 dependency problems - not removing
Errors were encountered while processing:
 libatk-adaptor:amd64

¿what does "pi" mean? ¿How can I workaround the dependency problems?

¿Any help?

Thanks and regards!
 


the other day I installed the package "bridge-utils" and added a br0 interface. Now I have purged the package and removed the lines regarding br0 from interfaces file by hand.
However, after "service networking restart" and "ifconfig", br0 is still there.

You can use brctl command (read its manual first):
The command brctl delbr <name> deletes the instance <name> of the ethernet bridge. The network interface corresponding to the bridge must be down before it can be deleted!

Not tested but should be something like:
Code:
ip link set dev eth0 down     # or `ifconfig eth0 down`
brctl delbr br0
replacing eth0 with the interface holding the bridge, and restarting network service
 

Members online


Top