Error after uninstalling Windows 10

After uninstalling Windows 10 following the instructions given in this post I get the following error when restarting my computer:

PXE-EG1: Media test failure check cable   PXE-MOF: Exiting PXE ROM 

Bootable keys aren’t working

Same for the BIOS/EFI key, I’ve tried every option: F1, F2, F12, Del I can’t access.

Other data:

Lenovo B570 laptop
Installed OS: Ubuntu 18.04, Windows 10

At the end of the uninstall process with OS uninstaller the following message appeared:

An error occurred during uninstallation. We hope you enjoyed it and send us your comments now you can restart the computer. Don't forget to make your BIOS boot into the sda2 file. If your computer boots directly into Windows, try changing the boot order of the BIOS. If your BIOS does not allow you to change the boot order, change the default entry in the Windows bootloader. 

Error with uninstalling

sudo apt remove oracle-database-xe-18c Reading package lists… Done Building dependency tree
Reading state information… Done The following packages will be REMOVED: oracle-database-xe-18c 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 5,572 MB disk space will be freed. Do you want to continue? [Y/n] y (Reading database … 263417 files and directories currently installed.) Removing oracle-database-xe-18c (1.0-2) … /var/lib/dpkg/info/oracle-database-xe-18c.prerm: line 3: /var/log/oracle-database-xe-18c/results/oraInstall.log: No such file or directory /var/lib/dpkg/info/oracle-database-xe-18c.prerm: line 4: /var/log/oracle-database-xe-18c/results/oraInstall.log: No such file or directory /var/lib/dpkg/info/oracle-database-xe-18c.prerm: line 5: /var/log/oracle-database-xe-18c/results/oraInstall.log: No such file or directory /var/lib/dpkg/info/oracle-database-xe-18c.prerm: line 18: /var/log/oracle-database-xe-18c/results/oraInstall.log: No such file or directory /var/lib/dpkg/info/oracle-database-xe-18c.prerm: line 50: /var/log/oracle-database-xe-18c/results/oraInstall.log: No such file or directory /var/lib/dpkg/info/oracle-database-xe-18c.prerm: line 52: /var/log/oracle-database-xe-18c/results/oraInstall.log: No such file or directory dpkg: error processing package oracle-database-xe-18c (–remove): installed oracle-database-xe-18c package pre-removal script subprocess returned error exit status 1 /var/lib/dpkg/info/oracle-database-xe-18c.postinst: line 6: /var/log/oracle-database-xe-18c/results/oraInstall.log: No such file or directory chown: cannot access ‘/opt/oracle’: No such file or directory /var/lib/dpkg/info/oracle-database-xe-18c.postinst: line 29: /var/log/oracle-database-xe-18c/results/oraInstall.log: No such file or directory bash: /opt/oracle/product/18c/dbhomeXE/oui/bin/ No such file or directory bash: /opt/oracle/product/18c/dbhomeXE/oui/bin/ No such file or directory [SEVERE] An error occurred while registering the Oracle home. Verify logs in /var/log/oracle-database-xe-18c/results/oraInstall.log and /opt/oracle/oraInventory for more details and try again. dpkg: error while cleaning up: installed oracle-database-xe-18c package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: oracle-database-xe-18c E: Sub-process /usr/bin/dpkg returned an error code (1)

Difficulty uninstalling software

I am trying to uninstall an app (Forticlient) with this command:

sudo apt-get --purge remove forticlient 

When I run it I get the following error:

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11 Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? 

I tried killall on the Forticlient processes but the error still occurs.

Is there a way to see which process is locking the file?

Alternatively is it possible to force the uninstallation even if there is a lock?

Homebrew not detecting latest Xcode and Command Line Tools and not uninstalling either

I have macOS Mojave version 10.14.5 installed with Xcode version 10.2.1 and Command Line Tools installed using xcode-select --install. All problem started when I tried to install youtube-dl formula on my system by running:

brew install youtube-dl

The output I get is:

Updating Homebrew... Error: Your Xcode (1) is too outdated. Please update to Xcode 9.0 (or delete it). Xcode can be updated from  Error: Your Command Line Tools are too outdated. Update them from Software Update in the App Store. 

Again, if I run xcode-select --install, I get:

xcode-select: error: command line tools are already installed, use "Software Update" to install updates 


xcode-select -v


xcode-select version 2354 

(I do not know what this means) and running:

xcode-select -p



Owing to these issues, I tried to uninstall Homebrew (with a plan to reinstall it afresh) by running the command:

ruby -e "$  (curl -fsSL" 

but it gives the following error:

curl: (7) Failed to connect to port 443: Operation timed out 

Next, I tried to uninstall Homebrew using the unbrew.rb script available at GitHub but it seems not to remove Homebrew. I tried running it with and without sudo. Even after doing this, running brew config returns:

HOMEBREW_VERSION: 1.3.2 ORIGIN: HEAD: 751334a257d81851e68da7ab390982d4e9fdf909 Last commit: 1 year, 10 months ago Core tap ORIGIN: Core tap HEAD: 3fd7a855a1a357654a4a9a455162761841a4809d Core tap last commit: 1 year, 10 months ago HOMEBREW_PREFIX: /usr/local HOMEBREW_REPOSITORY: /usr/local/Homebrew HOMEBREW_CELLAR: /usr/local/Cellar HOMEBREW_BOTTLE_DOMAIN: CPU: quad-core 64-bit broadwell Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby Clang: N/A Git: 2.20.1 => /Applications/ Perl: /opt/local/bin/perl => /opt/local/bin/perl5.24 Python: /usr/bin/python Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby Java: N/A macOS: 10.14.5-x86_64 Xcode: 1 => /Applications/ CLT: N/A X11: N/A MacPorts/Fink: /opt/local/bin/port 

Running brew doctor outputs the following:

Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry and just ignore them. Thanks!  Warning: Your Command Line Tools are too outdated. Update them from Software Update in the App Store.  Error: Unrecognized Mach-O load command: 0x32 

Is my Homebrew broken by my attempts at uninstalling it? What can I do to repair Homebrew and all these errors in pointing to the right Xcode and command line tools?

DNS Resolution Broken After Uninstalling PiHole

Ubuntu Server 18.04. I have been running PiHole on my Ubuntu server for a while now, and decided to break that service off onto a dedicated machine. After uninstalling it however, my server is unable to resolve any DNS names itself. I seem to have fixed this by adding the DNS server to the .yaml file in /etc/netplan and running netplan apply, but it doesn’t stick after a reboot. I’ve applied a sort of duck tape fix by putting “netplan apply” in /etc/rc.local , but that doesn’t really fix whatever the Pihole uninstaller broke.

I also tried:

sudo systemd-resolve -i enp2s0 --set-dns= being my local DNS server and new PiHole (it’s working with every other system), and got

The specified interface enp2s0 is managed by systemd-networkd. Operation refused. Please configure DNS settings for systemd-networkd managed interfaces directly in their .network files.

Problem is, I can’t seem to find anything named anywhere on the system.

netplan apply with a modified .yaml file seems to be the only thing that works, but it isn’t applying on reboot for some reason without me just sticking the command into my /etc/rc.local so that it runs on bootup.

I would love to just reset all of the networking configurations to their default, like I just did a clean install of the OS, but I’m not sure what that is since Ubuntu has had so many changes in recent years to how it operates.

Macbook’s wifi stopped working after upgrading to Mojave and uninstalling parallels

I’m freaking out. My MacBook pro 2017’s Wi-Fi completely stopped working. It’s an issue with the Mac because it used to connect to the wifi just fine and my phone is still connected to it.

I upgraded from high Sierra to Mojave yesterday, but it still worked then. Today I un installed parallels, and immediately afterwards the wifi stopped working.

Thank you for any help.

System messed up after installing and uninstalling Pantheon DE

Today I just tried out Pantheon DE (PDE of ElementaryOS) and it messed up a little bit. But the most important thing is, the PDE created its own terminal, and when I remove it (=PDE), I think it removed the gnome-terminal and also its own one. There’s still a Terminal logo in the application menu but when I click it, the cursor is just a loading cursor, and then nothing happens. My alternative terminal is now to use the one in VS Code. How can I fix it?

I googled for solution and they said I should switch to TTY windows using Ctrl + Alt + Fx (x from 1 to 7). But on PDE I accidently set Ctrl + Alt to be language switching shortcut, so now Ctrl + Alt is the same as Ctrl alone. Also many keyboard shortcuts are messed up now and some programs messed up (For example my Minecraft Launcher when launched appears and disappers instantly).

I know that Linux distros are file-based, so how/where can I edit those shortcut? Should I reinstall completly GNOME?

Also, how can I remove the bar with only 5 logos on the bottom and what is KTelnetService (The middle one) and why does it have Terminal logo?

Magento 2. Declarative Schema. How to uninstall a patch without uninstalling the module?

The official docs say this.

Revertable data patch – A patch that can be reverted as a module or patch is uninstalled or deleted.

I know that Revertable patches must implement Magento\Framework\Setup\Patch\PatchRevertableInterface and when a module is un-installed the logic in the revert() method is called.

How can one revert a Patch without uninstalling the module

Recent Google Docs gone after uninstalling & reinstalling the app

I uninstalled Google Docs on my android phone yesterday evening to make space for updating Whatsapp, then reinstalled Google Docs half an hour later. Didn’t think anything of it as it all backs up into Google Drive. However, all my recent documents (everything after December 2018) are gone! They are nowhere to be found, not even in Google Drive! How can this be? I can see in my backups that Docs’ was last backup was on May 8th. However, not sure how to access that. Please help! Thank you in advance.