[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [DONATE]

While upgrading getting a resolv.conf error

This is error when I get after I run
sudo apt dist-upgrade
dpkg-divert: error: ‘diversion of /etc/resolv.conf to /etc/resolv.conf.whonix-orig by whonix-ws-network-conf’ clashes with ‘diversion of /etc/resolv.conf to /etc/resolv.conf.anondist-orig by anon-ws-dns-conf’
dpkg: error processing package whonix-ws-network-conf (–configure):

Here are all my files that contain resolv.conf from /etc/

resolv.conf.whonix

## Copyright (C) 2012 - 2020 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
## See the file COPYING for copying conditions.

#### meta start
#### project Whonix
#### category networking and dns
#### description
## set <code>nameserver 10.152.152.10</code>
## This works different in Qubes-Whonix.
#### meta end

nameserver 10.152.152.10

resolv.conf.anondist-orig

nameserver 10.137.7.1
nameserver 10.137.7.254

resolv.conf.anondist.dpkg-dist

## Copyright (C) 2012 - 2018 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
## See the file COPYING for copying conditions.

#### meta start
#### project Whonix
#### category networking and dns
#### description
## set <code>nameserver 10.152.152.10</code>
## This works different in Qubes-Whonix.
#### meta end

nameserver 10.152.152.10

resolv.conf.anondist

## Copyright (C) 2012 - 2018 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
## See the file COPYING for copying conditions.

nameserver 10.152.152.10

Certainly fixable. Better make a backup of that VM. Try these commands.

sudo dpkg-divert --no-rename --remove /etc/resolv.conf

sudo dpkg --remove --force-all anon-ws-dns-conf
[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Investors] [Priority Support] [Professional Support]