Score:0

I am trying to remove Ubuntu and reinstall Windows 10 but keep getting this error:

id flag
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 boot-repair : Depends: boot-sav but it is not going to be installed
 libc-dev-bin : Depends: libc6 (> 2.34) but 2.33-0ubuntu5 is to be installed
 libc-devtools : Depends: libc6 (>= 2.34) but 2.33-0ubuntu5 is to be installed
 libc6-dev : Depends: libc6 (= 2.34-0ubuntu3) but 2.33-0ubuntu5 is to be installed
 libnsl-dev : Depends: libnsl2 (= 1.3.0-2build1) but 1.3.0-0ubuntu3 is to be installed
 libtirpc-dev : Depends: libtirpc3 (= 1.3.2-2) but 1.3.1-1build1 is to be installed
 rpcsvc-proto : Depends: libc6 (>= 2.34) but 2.33-0ubuntu5 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


Fetched 25.1 MB in 3s (9,429 kB/s) 
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Setting up debconf (1.5.77) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another p
rocess: Resource temporarily unavailable
dpkg: error processing package debconf (--configure):
 installed debconf package post-installation script subprocess returned error ex
it status 1
Errors were encountered while processing:
 debconf
E: Sub-process /usr/bin/dpkg returned an error code (1)
us flag
If you need to install Windows, then format the drive and install Windows. Do you really need to fix issues in Ubuntu's package management before removing Ubuntu? In case you want to keep Ubuntu, run `sudo apt --fix-broken install`, as suggested by the output you posted.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.