Softwareupdated mac os ��� ���

Update macOS on Mac

Use Software Update to update or upgrade macOS, including built-in apps like Safari.

  1. From the Apple menu  in the corner of your screen, choose System Preferences.
  2. Click Software Update.
  3. Click Update Now or Upgrade Now:
    • Update Now installs the latest updates for the currently installed version. Learn about macOS Big Sur updates, for example.
    • Upgrade Now installs a major new version with a new name, such as macOS Big Sur. Learn about the latest macOS upgrade, or about old versions of macOS that are still available.

If you’re having difficulty finding or installing updates:

  • If Software Update says that your Mac is up to date, then macOS and all of the apps it installs are up to date, including Safari, Messages, Mail, Music, Photos, FaceTime, Calendar, and Books.
  • If you want to update apps downloaded from the App Store, use the App Store to get updates.
  • If you want to update your iOS device, learn how to update iPhone, iPad, or iPod touch.
  • If your Mac doesn’t include Software Update, use the App Store to get updates.
  • If an error occurred while installing an update or upgrade, learn how to resolve installation issues.

Источник

How do I observe and control a macOS update using `softwareupdate`?

I made the mistake (don’t ask) of entering

in Terminal, which is now stuck doing — I don’t know what:

and attempts to stop it with ^C result in

I have no progress indictor or feedback, and this has been going on for hours and softwareupdate —dump-state shows no entries (except for running dump-state ) for quite some time.

How do I check the status of a softwareupdate installation, and how do I abort it if it isn’t stopping or completing on its own?

2 Answers 2

Out of frustration I simply tried

in a new Terminal window, which unstuck the instance of softwareupdate running on the other original window. This seems to have resolved the issue completely.

Читайте также:  Windows как многозадачная система

You can observe the progress softwareupdate is making by viewing its logging messages.

Just run sudo log stream —predicate «processImagePath Contains[c] ‘softwareupdate'» in another terminal to view the log messages live. Or look at logged messages during the last 10 minutes by using sudo log show —last 10m —predicate.

Its logging is quite noisy, but some of these relay the current progress. There’s a separate progress counter both for the software download, and the install.

For example, while in the install phase I see messages like this:

Or try a command like this: sudo log stream —predicate «processImagePath Contains[c] ‘softwareupdate’ AND eventMessage Contains[c] ‘progress'» , which will filter the log messages to only include ones that contain the string ‘progress’

Источник

How To Update macOS Using Command Line Software Update Tool

H ow do I install software updates from the command line tool on my Apple macOS / OS X computer? How can I remotely update my Apple computer by just sshing into a system? Is there is something like apt-get command or yum command for Apple macOS/OS X?

You need to use the softwareupdate command to checks for new and updated versions of your software based on information about your Apple Mac computer and current software. This command requires admin authentication for all commands i.e. you need to run it using sudo tool. In this tutorial you will learn how to install software updates from the bash command line on a macOS/OS X.

Tutorial details
Difficulty level Easy
Root privileges Yes
Requirements Apple macOS or OS X with Terminal application
Est. reading time 3 minutes

Procedure to update macOS using command

  1. Open the terminal application on your macOS (Applications > Utilities > Terminal)
  2. Check for macOS update using the
    softwareupdate -l
  3. Note down available updates names.
  4. Install new updates on macOS using the following command:
    sudo softwareupdate -i update_pkg_name

Let us see how to update macOS using a terminal command in details.

How do I find all available updates on macOS?

Open the terminal app and type the following commands. Type the following command:
softwareupdate -l
OR
softwareupdate —list
Sample outputs:

Fig.01: List all available updates

  1. RAWCameraUpdate6.17-6.17 is software available to update also know as the identifier.
  2. 6.17 is version number
  3. 7455k download size
  4. Please note that updates that need a restart are marked with [restart].

How do I install specified update?

To install update called ‘RAWCameraUpdate6.17-6.17’, enter:
sudo softwareupdate -i RAWCameraUpdate6.17-6.17
Sample outputs:

A note about dealing with update names with white spaces

Some update names may include spaces, enclose the update name using a single quote character as follows:
sudo softwareupdate -i ‘OS X El Capitan Update-10.11.1’

How do I see software download and update progress?

Pass the -v option as follows:
sudo softwareupdate -vi RAWCameraUpdate6.17-6.17
OR
sudo softwareupdate -v -i iTunesXPatch-12.3.1
Sample outputs:

How do I just download update but not install on my system?

Use the following syntax:
sudo softwareupdate -d nameHere
sudo softwareupdate -d iTunesXPatch-12.3.1
To cancel a download, enter:
sudo softwareupdate -e

All updates that are recommended for your system:
sudo softwareupdate -r

Updating Mac using the Terminal app

To install all updates that are applicable to your system, enter:
sudo softwareupdate -i -a
Install all but make sure you ignore ‘JavaForOSX’ updates:
sudo softwareupdate —ignore JavaForOSX
To clear the list ignored updates, enter:
sudo softwareupdate —reset-ignored

Turn on or off automatic background check

Turn on Automatic check:
sudo softwareupdate —schedule on
Automatic check is off:
sudo softwareupdate —schedule off
To see info on all options, type:
man softwareupdate
softwareupdate -h
Here is what I see:

Источник

Как значительно ускорить процесс обновления macOS

Владельцам компьютеров Mac не стоит напоминать, сколько времени обычно занимает процесс установки новой версии операционной системы — в лучшем случае это полчаса, а обычно и больше. Этот процесс можно ускорить в несколько раз, использовав вместо App Store команды в «Терминале».

Самая простая комбинация выглядит так:

  • softwareupdate -l — запрашивает список доступных обновлений
  • softwareupdate -l -a — запускает установку

Продвинутые пользователи могут вместо этого воспользоваться командой ниже — она автоматически запускает процедуры обновления одну за другой:

sudo softwareupdate -l -a;sudo reboot

Но если использовать «Терминал» для установки обновлений на Mac, мы бы советовали эту команду:

sudo softwareupdate -l -a && sudo reboot

В этом случае компьютер перезагрузится только тогда, когда первая команда будет выполнена успешно. При возникновении ошибок система сразу же вынесет предупреждение.

Новости, статьи и анонсы публикаций

Свободное общение и обсуждение материалов

Лонгриды для вас

Apple представила AirTag, но до сих пор чип U1, который нужен для их полноценной работы, есть только в некоторых устройствах компании. Его нет даже в новом iPad Pro. Разбираемся, почему.

Сразу после презентации Apple выпустила первую бету iOS 15. Разбираемся, какие устройства её поддерживают и как можно установить тестовую сборку обновления, не имея аккаунта разработчика

Украденные хакерами секретные чертежи новых устройств Apple оказались гораздо более опасными, чем считалось ранее. На одном из них засветился новый MacBook Pro с портом HDMI и слотом для карт памяти.

Так а чем это ускорит процесс обновления, по сравнению с запуском того же обновления из AppStore? По-моему заголовок статьи не соответствует содержанию.

Источник

Question: Q: Where does Software Update save download files?

MacBook Pro 2.5GHz/4GB RAM, Mac OS X (10.5.6), Ai BP G4 1.25GHz/2GB; old PowerMac; Newton 2K

Posted on May 12, 2009 5:56 PM

Posted on May 12, 2009 6:11 PM

Helpful answers

I’ve found my partially downloaded update files in /private/var/folders/ /com.apple.SoftwareUpdate/

The appear to be some hash of either the computer or the software being downloaded. Try the following:

Open a Terminal
sudo find /private -name » SomePartOfTheDriverNameYouAreLookingFor» -print

Note I don’t see /private in finder because of the permissions on it (hence the need for sudo above).

Also note, I had one directory in named -Cache- which is tricky to cd into because the leading — is perceived as an argument to cd, so I just cd into the entire directory path instead.

Finally, be wary doing things as root (sudo) as you can end up damaging your OS (so don’t go around removing files you are not sure about)

May 31, 2009 9:05 AM

There’s more to the conversation

Loading page content

Page content loaded

May 12, 2009 6:11 PM

May 12, 2009 6:12 PM

Mac OS X Update is located in my /Library/Updates, but the Packages folder only contains a 8KB file MacOSXUpd10.5.7-10.5.7.dist. According to Software Update, 19% of the update was downloaded but it is not in /Library/Updates.

Software Update is reporting 3 hours to download the remaining 81%. I’ll wait until Apple resolves whatever issues are plaguing users. I would like to start over fresh, however, but it appears the download is not saved in one location.

May 12, 2009 6:52 PM

I’ve found my partially downloaded update files in /private/var/folders/ /com.apple.SoftwareUpdate/

The appear to be some hash of either the computer or the software being downloaded. Try the following:

Open a Terminal
sudo find /private -name » SomePartOfTheDriverNameYouAreLookingFor» -print

Note I don’t see /private in finder because of the permissions on it (hence the need for sudo above).

Also note, I had one directory in named -Cache- which is tricky to cd into because the leading — is perceived as an argument to cd, so I just cd into the entire directory path instead.

Finally, be wary doing things as root (sudo) as you can end up damaging your OS (so don’t go around removing files you are not sure about)

Источник

Читайте также:  Как удалить postgresql linux mint
Оцените статью