3 problems upgrading to Ubuntu 18.04 LTS “Bionic Beaver” on an old Mac mini (2007 model)

The upgrade from 14.04 LTS to 16.04 LTS a few years ago was unproblematic, as I recall. So I was hoping this latest upgrade would go smoothly. It did not.

TL;DR: 3 big problems came up, but were fixable, thanks to solutions and ideas published by earlier adopters.

First I did the upgrade on my Kubuntu computer, a full-tower desktop machine which is also getting long in the tooth. That upgrade was slow, but mostly due to the WiFi situation upstairs in the home office. The throughput is not great, but good enough for work. After the slowness of that upgrade, everything else seemed to run pretty smoothly — just a few config file questions for me answer and it did everything else by itself.

So I set about upgrading my 2007 Mac mini from Ubuntu 16.04 to 18.04, and was quite pleased with the download speeds (duh…it’s connected directly the cable modem via ethernet). After the downloads completed in a third of the time or less, a quick reboot and I’d be in business. Or so I thought. I encountered one problem after another. Fortunately, others found these problems before me and published them. I am paying it forward for you here.

Wayland

It would hang on the startup screen and never let me log in. I mostly run this box headless, but every now and again I like a GUI for it. So I googled.

https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1767606

There’s some incompatibility between Wayland and the GNOME desktop manager and the integrated graphics card on my Mac mini’s motherboard. Solution: fall back to Xorg instead of Wayland. Edit the /etc/gdm3/custom.conf file and uncomment the line WaylandEnable=false.

DNS

After I got the display manager working, I quickly saw that no internet stuff dependent on domain names was working. Hard-coded addresses, like for the machines on my LAN, seemed to work fine. More googling led me to comment out the line:

dns=dnsmasq

… in the file /etc/NetworkManger/NetworkManager.conf so as to not use the systemd DNS-stub thing from systemd pointing to 127.0.0.53 or whatever. After a reboot, domain name resolution starting working again.

apt and $LANGUAGE in my locale

OK, DNS resolution was working again. I wanted to get the freshest versions of the packages (maybe fixing the previous problems). Reading the package lists with sudo apt update was running extremely slowly — several minutes just to advance from 1% to 2%, whereas this part of the task is over and done with normally quite quickly. I googled some more and found something to try here:

https://askubuntu.com/questions/251781/reading-package-list-takes-forever/327444 (kinda far down on the page)

Apparently the $LANGUAGE variable needs to be in the form of a two-character lower-case ISO code, like “en”. Mine had been set to something like “en_US.UTF-8” and it had never caused problems for me before. But I used localectl set-locale LANGUAGE=en to update it, and after a new login, things were working normally again.

Conclusion

I wonder when that old mid-2007 Mac mini will no longer be supported by the likes of Debian and Ubuntu. 11 years later though — it’s still chugging along with maxed-out RAM and an SSD HD upgrade along the way.

I’m the Keymaster. Are you the Gatekeeper?

It’s time for another of my modern electronic communication security and personal privacy appeals! Catch up on previous episodes here, here, here, or here.

Sometimes I feel like the dude in the clip below (minus the supernatural stuff, natch): I have a lot of keys, and I’m always looking for people to use them with. 1 Continue reading I’m the Keymaster. Are you the Gatekeeper?

  1. Thinking of you, Snooker. []

Perhaps the last bridge update…..EVAR!?

Checking back through old posts, it would seem like the last update on Bavaria’s Slowest Construction Project® was over a year ago: Bridge Work Still in Progress. But maybe this story is coming to a close, after more than 8 years — four years longer than originally planned. 1

Despite major distractions from local life due to work stress and a few short trips out of town in May (did you see our Cinque Terre post?), we somehow managed to hear that the Bruckmandl2 is back at his post since a week or two ago. Continue reading Perhaps the last bridge update…..EVAR!?

  1. Still doing better than the Berlin-Brandenburg airport fiasco! []
  2. “little bridge dude” []

Dutch Baby

Mom suggested we try one of these based on this WaPo article she read. Great idea, Mom! I also got some inspiration from this YouTube video.

These are like crêpes you can’t screw up.

I’ve converted the English volumes into metric and/or masses, since I like to weigh ingredients whenever possible to minimize my dish cleanup. Continue reading Dutch Baby

A Recommendation for Password Managers

The Intro

You have separate keys for your house, your desk at work, your safe, your car, your bike lock…right?

Why?

Clearly, it’s so that when you hand over your car keys to your mechanic for an oil change, you are reasonably assured you won’t find him, or someone who tricked him, at home in your den perusing your tax returns.

But so many people are effectively doing just that by reusing one or just a few passwords over and over again every time they are prompted to create a username and password. Continue reading A Recommendation for Password Managers