Normal view

There are new articles available, click to refresh the page.
Before yesterdayMain stream

What to do when your Mac can’t update

By: hoakley
19 September 2024 at 14:30

macOS and its smaller security updates are widely announced, here and across many other sites supporting Apple products. What should you do, though, when you know updates have been released by Apple but your Mac can’t find them, or when it tries to install them and fails?

Before Sequoia, almost all software updates are normally fetched by Software Update in System Settings/Preferences, or alternatively at the command line by softwareupdate, also used by my free SilentKnight. They work through the softwareupdated service that should be running in the background. If you run a local Content Caching server, then softwareupdated should automatically connect to that and ask it for the update; otherwise, it tries to connect to Apple’s software update servers over the internet. Although this chain is usually reliable, it has several points of weakness.

Sequoia brings greater complexity, in that one its most important security data updates for XProtect is intended to be delivered over a CloudKit connection with iCloud, although those updates can still arrive from Software Update as well. However, when delivered through softwareupdated the XProtect bundle is installed but not ‘activated’ for XProtect’s use. To do that, open Terminal and enter the command
sudo xprotect update
then authenticate with your admin password when prompted.

Update not found

You open Software Update or SilentKnight, and are told that your Mac is up to date, although it’s still running the older version of macOS, or hasn’t installed a smaller security update.

The most likely reasons for this include:

  • Apple’s software update servers are in heavy demand, and are temporarily refusing new connections. As Apple tends to release a lot of updates at once, this isn’t uncommon, particularly in the autumn/fall with the new versions of macOS and others. The only solution is to try again later, although sometimes you can kickstart the process by running SilentKnight or softwareupdate. Apple provides a page showing the status of its many internet services, where these are listed as macOS Software Update, but transient problems due to load seldom get reported there.
  • Your Mac, or its Content Caching server if you’re running one, can’t connect to Apple’s servers because of a network fault. Again the only solution is to try again later, in the hope that the fault has been fixed.
  • softwareupdated or your Content Caching server aren’t working properly. This is normally rectified by restarting that Mac and trying again once it’s up and running. In some cases, it can require that the client Mac is started up in Safe mode before the update becomes available.

If an update has only just been announced, then the software update servers that your Mac connects to may not be offering that update yet. Availability around the world isn’t instant, and often you’ll find that an Apple silicon Mac can find an update and install it readily, while an Intel Mac on the same network may be unable to discover the same update for another hour or more.

Note that, unless an update is listed as being available, you can’t force it by trying to install the update using its label, either in softwareupdate or SilentKnight.

For updates to XProtect in Sequoia, try opening Terminal and entering the command
sudo xprotect check
then authenticating with your admin password when prompted. This should force XProtect management to look for an update. If it finds one, then entering
sudo xprotect update
should download it from iCloud and install it. Note that this command is only available in Sequoia. For further information, man xprotect tells you as much as Apple lets you know.

Update fails to install

This is easiest to detect when you use SilentKnight, which will report the update is available, then when you try to install it, you’ll see an error message in the scrolling text window reporting that installation of the update failed, and the component being updated won’t change to the new version number.

If the Software Update pane shows an error, that should provide similar information. Otherwise, to download and install waiting updates you can type
softwareupdate -ia --include-config-data (or in El Capitan sudo softwareupdate -ia)
in Terminal, to see the same messages shown by SilentKnight, as that’s also the tool it uses to obtain waiting updates. If you know your way around the Unified Log, you should discover parallel entries there.

By far the most common cause for failure to install updates like this is that something has gone wrong with softwareupdate or softwareupdated, best corrected by restarting your Mac and trying again. If it still doesn’t work, start up in Safe mode and try from there. One of the primary purposes of Safe mode is to resolve problems with updates and updating, whether they’re full macOS updates or small security data updates like XProtect.

If you’re not running a local Content Caching server and still can’t get the update to install, all you can do is wait an hour or two and try again.

Content Caching problems

If you’re running a local Content Caching server, then the problem could now rest with the copy of the update stored in its cache. When the local server downloaded the update from Apple’s software update servers, it may have become damaged. Once that damaged copy has been put into your local server’s cache, that’s the update that it will serve to all your local Macs when they connect to it to obtain the update.

What can make this worse is that, even if you do manage to get the Mac running the Content Caching server to update successfully, that doesn’t mean that it will replace the damaged copy in its cache, which may continue to deliver that same damaged version to all the Macs that try connecting to it.

To confirm this, you can inspect the log, as I’ve described here.

The most immediate solution, which should allow all your local systems to update correctly, is to turn the Content Caching service off in Sharing, shut down the Content Caching server, or isolate that server from the rest of the network. Then update all your other systems, which should download fresh copies of the update directly from Apple’s servers. Once that’s done, you can bring the server back up in Safe mode and try updating it there.

For a period of over six months in 2022-23, updates for XProtect and XProtect Remediator obtained through Content Caching servers frequently failed to install correctly. In that time, the simplest solution was to disable the server before trying to download and install those updates, and to enable it again once all updates had been completed. It’s still not clear where that problem occurred, but it has since been fixed and updates should be reliable now.

I don’t know any way to remove individual updates from the Content Caching server. Apple’s command tool for its maintenance, AssetCacheManagerUtil, only knows how to flush whole caches, using
sudo AssetCacheManagerUtil [flushCache|flushPersonalCache|flushSharedCache]
where the commands set the cache to be flushed:

  • flushCache flushes the entire content cache.
  • flushPersonalCache flushes all personal (iCloud) content.
  • flushSharedCache flushes all shared (non-iCloud) content.

Flushing a large cache may not be what you want to do. So long as there’s no storage problem and the update affected was most probably supplied broken, there shouldn’t be any harm in leaving it where it is.

In Sequoia, XProtect’s new updates delivered from iCloud are likely to bypass Content Caching servers altogether, although Apple hasn’t clarified that yet.

Nothing helps

If you’ve worked your way through to the end here but still haven’t solved the problem, contact Apple Support, who can escalate it to someone who can hopefully do something about the problem.

Further reading

Repeated installations of the same updates
How security data updates should work

Laundresses in a landscape 2

By: hoakley
15 September 2024 at 19:30

In the first of these two articles celebrating the work of generations of women who washed clothes and linen outdoors, and have been featured in landscape paintings, I covered the period up to the end of the 1870s, when Impressionism was at its height. This account resumes at about 1880, and moves on to the early twentieth century.

haverswasherwomen
Alice Havers (1850–1890), Washerwomen (date not known), oil, dimensions not known, Walker Art Gallery, Liverpool, England. Wikimedia Commons.

Alice Havers’ Washerwomen, which given her tragically brief life must have been painted around 1880, shows a wide range of ages, working together, some repairing the clothes, others talking. On the other side of the river, the fruit trees are in blossom.

boudinwasherwomenbyriver
Eugène Boudin (1824–1898), Washerwomen by the River (c 1880-85), oil on panel, 26.2 × 36.2 cm, Israel Museum מוזיאון ישראל, Jerusalem, Israel. Wikimedia Commons.

Later in Eugène Boudin’s career he painted Washerwomen by the River (c 1880-85), above, and Laundresses on the Beach, Low Tide, Aval Cliff, Étretat (c 1890-94), below. The latter painting is remarkable for its rough facture, and for the number of women gathered by one of the most recognisable landmarks on the Normandy coast, the arch of Étretat.

boudinlaundressesonbeach
Eugène Boudin (1824–1898), Laundresses on the Beach, Low Tide, Aval Cliff, Étretat (c 1890-94), oil on panel, 20.4 × 34.9 cm, location not known. Wikimedia Commons.

curranbreezyday
Charles Courtney Curran (1861–1942), A Breezy Day (1887), oil on canvas, 30.3 x 50.8 cm, Pennsylvania Academy of the Fine Arts, Philadelphia, PA. Wikimedia Commons.

Early in his career, the American artist Charles Courtney Curran painted a series of works showing young women at work outdoors, among which the most successful, A Breezy Day (1887) won the Third Hallgarten Prize for Oils from the National Academy of Design the following year.

Vincent van Gogh, The Langlois Bridge at Arles with Women Washing (1888), oil on canvas, 54 x 65 cm, Kröller-Müller Museum, Otterlo. WikiArt.
Vincent van Gogh (1853-1890), The Langlois Bridge at Arles with Women Washing (1888), oil on canvas, 54 x 65 cm, Kröller-Müller Museum, Otterlo. WikiArt.

Painted when Vincent van Gogh was at Arles, one of his best-known groups of works includes The Langlois Bridge at Arles with Women Washing (1888). This is one of four oil paintings, a watercolour, and at least four drawings he made of this motif, with the aid of a perspective frame he had made for himself. This shows a traditional wooden drawbridge, one of several over the canal running from Arles to Bouc. Built in the early nineteenth century, it was sadly replaced by concrete in 1930.

gauguinwasherwomen
Paul Gauguin (1848–1903), Washerwomen of Arles I (1888), oil on canvas, 75.9 x 92.1 cm, The Museum of Modern Art, New York, NY. Wikimedia Commons.

In the same year, Paul Gauguin painted a group of women hard at work near Arles in his Washerwomen of Arles I (1888).

renoirlaundress
Pierre-Auguste Renoir (1841–1919), The Laundress (1891), oil on canvas, 46 × 56 cm, Private collection. Wikimedia Commons.

Pierre-Auguste Renoir’s The Laundress (1891) sets a single, quite well-dressed woman doing her washing in one of his sumptuously soft-focus landscapes.

ekenaeslaundrythroholeinice
Jahn Ekenæs (1847–1920), Women Doing Laundry Through a Hole in the Ice (1891), oil on canvas, 67 × 108 cm, Private collection. Wikimedia Commons.

The Norwegian painter Jahn Ekenæs teaches us that, even in the bitter Nordic winters, the washing still had to be done: his Women Doing Laundry Through a Hole in the Ice (1891) seem to have the toughest job of all. Note that only one of them is wearing anything on her hands.

monstedlaundryday
Peder Mørk Mønsted (1859–1941), Laundry Day (1899), oil on canvas, 24.5 × 16.5 cm, location not known. Wikimedia Commons.

Peder Mørk Mønsted’s Laundry Day (1899) shows kinder conditions during the summer, when doing the washing would surely have been a more popular task.

garciarodriguezwhiteblack
Manuel Garcia y Rodriguez (1863–1925), White and Black. Andalucian Landscape. Laundresses in the River Guadaíra (1903), further details not known. Wikimedia Commons.

In common with many of these paintings, Manuel Garcia y Rodriguez uses the white of the linen heightened in sunshine to generate contrast, in his White and Black. Andalucian Landscape. Laundresses in the River Guadaíra from 1903.

As indoor domestic water supplies became widespread during the twentieth century, washing clothing and linen in the countryside died out, and vanished from the landscape.

Which version of SilentKnight and other apps do you need?

By: hoakley
6 September 2024 at 14:30

Every autumn/fall, the current version of macOS changes, and with it there are changes great and small that can affect the apps we run. If you use any of the free apps that I provide here, now is the time to check that you’re running the correct version to support both your current macOS, and any that you might aspire to in the coming months.

SilentKnight

Although most of my apps have auto-update mechanisms that inform you when their updates are available, there are some notable pitfalls that can lull you into a sense of false security. Most importantly, SilentKnight was upgraded to version 2 two years ago to ensure its compatibility with Catalina and later. Every few days I come across someone who is still using version 1 with a newer release of macOS and seeing incorrect results. If you use SilentKnight in any version of macOS from Catalina onwards, then please ensure that it’s updated to the current version 2.10:
SilentKnight 2.10 (Universal App for Catalina to Sequoia)

This is particularly important if you intend upgrading to Sequoia, because of the changes it brings in how XProtect is updated. If you’re still running 2.9 or earlier, then SilentKnight will give you incorrect versions for XProtect, and at worst could report a version of 0 (zero) as it might not be able to find XProtect at all.

Skint and SystHist

For the same reason, Skint should be updated to version 1.08:
Skint 1.08 (Universal App for Monterey, Ventura, Sonoma and Sequoia only)

systhist1181

SystHist lists full system and security update installation history, a task that invariably requires an annual update to cope with the quirks of the new version of macOS. If you’re aiming for Sequoia at some stage, ensure that you have updated it to version 1.20:
SystHist 1.20 (Universal App for High Sierra, Mojave, Catalina, Big Sur, Monterey, Ventura, Sonoma and Sequoia)

Writing Tools

Although Apple isn’t intending to release any of its new AI features in the initial version of Sequoia, 15.0, but is delaying them for 15.1, you might like to prepare for that by updating my rich text editor and PDF viewer in advance. Their latest versions should prove fully compatible with Writing Tools when they’re released.

DelightEd4

DelightEd is a Rich Text (RTF) editor with special Dark Mode features and support for interlinear text, and version 2.3 should work fully with Writing Tools:
DelightEd 2.3 (Universal App for High Sierra, Mojave, Catalina, Big Sur, Monterey, Ventura, Sonoma and Sequoia)

podofyllin20

Podofyllin is a lightweight PDF viewer (without any editing capability, so it can’t alter original PDF files) and shows source code and more. Version 1.3 should work fully with Writing Tools:
Podofyllin 1.3 (Universal App for High Sierra, Mojave, Catalina, Big Sur, Monterey, Ventura, Sonoma and Sequoia)

XProCheck, Nalaprop, Precize

Other recent updates you might have missed include the following.

XProCheck to check on XProtect Remediator scans completed and reported in the log:
XProCheck 1.6 (Universal App for Catalina, Big Sur, Monterey, Ventura, Sonoma and Sequoia)

Nalaprop for multilingual natural language parsing, now compatible with Writing Tools:
Nalaprop 1.3 (Universal App for Mojave, Catalina, Big Sur, Monterey, Ventura, Sonoma and Sequoia)

Precize, which looks deep into files, bundles and folders to show their full size including extended attributes, provides macOS Bookmarks and volfs paths as enduring file references, and detailed information contained in Bookmarks and Aliases:
Precize 1.15 (Universal App for High Sierra, Mojave, Catalina, Big Sur, Monterey, Ventura, Sonoma and Sequoia)

Key points

  • For Catalina or later, particularly Sequoia, use SilentKnight 2.10.
  • For Sequoia in particular, use Skint 1.08.
  • For Sequoia in particular, use SystHist 1.20.
  • Older versions of those apps will give incorrect results when run in more recent versions of macOS.

❌
❌