Need help…Zorin only boots to terminal after WINE install…what happened?

Hello all,

I have quanundrum I am hoping someone can help me with. I am running Zorin 17.2 on a 2012 MacBook Pro and I installed WINE 64 bit on it. After the install on the terminal at some point a msg came up saying I should install WINE32 because more applications use it or something to that extent, so I want to install. I hit yes and then it proceeeded to uninstall a bunch of stuff and then install Wine 32. Ok Fine. I was a bit concerned because it seemed like it was uninstalling Zorin stuff too but it was working ok….until the next time I restarted he computer. To my surprise it didn’t boot but went to a terminal command line asking for my login and password. Even after putting that in it stayed in TTY1. I went to try to fix it by booting from my original install thumb drive, and when I ran a boot repair it said NVRam locked. Can anyone tell me what may have happened and how to fix it? I don’t understand much about the highly technical aspects of computers but it seems like some how the Wine 32 thing messed up my Grub??

This sounds like it replaced your packages with 32bit packages.
I blame Wine packagers for this: If you install Wine - You do not need Wine32.

To correct this, you must use the grub menu to boot to Recovery

From the recovery menu, arrow key down to Enable networking to enable it.
Once done, arrow key down to Drop to root prompt

In terminal, run

apt install --reinstall ubuntu-minimal ubuntu-standard libc6:amd64

apt --fix-broken install

apt install --reinstall zorin-os-desktop linux-generic grub-pc-bin grub-efi-amd64-bin

apt remove --purge '*:i386'

Reboot and test...

Thank you so much for your timely response and help…it is appreciated!

Yeah it makes sense that it replaced it with 32 bit.:grimacing: I thought it would just be contained in the app and not hose my whole OS, so when the prompt came up I thought “ok that’s odd but it shouldn’t hurt anything”…whoops! :grimacing: I won’t do that again.

I have followed your instructions and put in the commands, and they worked until #3 I get a red E and it says “ unable to locate package Zorin-os-desktop” and unable to to locate package grub-pc-bin-grub-efi-amd64-bin.” Tried it twice in case I typo’d or something. Any thoughts?
Thanks again.:pray:t2:

Try:

dpkg --add-architecture amd64

apt update

Then try installing:

apt install --reinstall zorin-os-desktop linux-generic grub-pc-bin grub-efi-amd64-bin

Ok thank you….just tried the dpkg command and unfortunately it didn’t do anything. It just returned to the next line.

What does

dpkg --print-foreign-architectures

show? If you see i386, temporarily remove it:

dpkg --remove-architecture i386

Run

apt remove --purge '*:i386'

Then run:

apt install --reinstall zorin-os-desktop

Ok, ty….you’re right it says i386…
ok, just typed the dpkg remove command and it says “Cannot remove architecture I386 currently in use by the database.”

Sorry my computer is being so ornery, I do appreciate you taking the time to help me with this.:pray:t2:

apt-get remove --purge `dpkg --get-selections | awk '/i386/{print $1}'`

The above will be a lot of fun to type out manually... Please double check for typo's before hitting the enter key.
This portion:

`dpkg --get-selections | awk '/i386/{print $1}'`

Is all encased in the backtick marks, which is the tilde key, usually to the left of the (1) number key on most keyboards. The:

'/i386/{print $1}'

is encased in Single Quote Marks.

Usually, a user can copy paste these. Since you are in recovery menu, I wanted to clarify these details as you are having to enter it all in by hand.

Yeah that was a lot, appreciate the clarification….OK it says E: removing the essential system critical packages is not permitted. This might break the system.

Sorry, that undoubtedly is due to the 32bit Libc6

apt-get remove --allow-remove-essential `dpkg --get-selections | awk '/i386/{print $1}'`

Question for you: so The last time I installed the wind 32 it uninstalled the 64, Would it do the same (uninstall the 32 and install 64 over it) if I try to reinstall the 64?

It might... I would not quite trust it normally, but at this juncture, you have little to lose trying that.

Lol, right? My computer hasn’t exactly been cooperating so far. Good to know it may be an option…
Ok, I did your last command and it looks like it is working now… it says the following packages will be removed and then It lists a whole bunch of things with numbers i386….Then it says the following new packages will Will be installed something about libdecor 00 Cairo and a number of other things…the last one says Wine64 (so I take it that’s a good sign🤞🏻) and then it says after this operation 264 MB this disk space will be free do you want to continue yes or no? Assuming yes?
Oh and just so you know, this is a dual boot computer. I have a Mac OS on a separate partition. So far what I have done has not affected it, but just to be cautious, this operation you’re asking to do would that affect the other partition as well or just the Linux partition?

Yep, rock on.

Oh and just so you know, this is a dual boot computer. I have a Mac OS on a separate partition. So far what I have done has not affected it, but just to be cautious, this operation you’re asking to do would that affect the other partition as well or just the Linux partition?

No.

You can think of partitions as Different Planets in a Solar System, much of the time.

1 Like

Whew! Ok thank you!

Ok, it removed a bunch of stuff and set up some stuff and then it says:
Processing triggers for wine 6.0.3~repack-1
Processing triggers for Libc-bin 2.35…
Processing triggers for man-db (2.10.2-1
and then the root@…(myname)MacBook:~# with the blinking cursor on the following line.

Ok, have you yet installed the Zorin Desktop?

apt install --reinstall zorin-os-desktop linux-generic grub-pc-bin grub-efi-amd64-bin