pc-updatemanager

From PC-BSD Wiki
Jump to: navigation, search
This page is a translated version of a page Pc-updatemanager/10.0 and the translation is 43% complete.


Contents


Die Kommandozeilenanwendung pc-update entspricht dem Verwaltung der Aktualisierungen. Es kann verwendet werden, um Systemaktualisierungen anzuwenden und eine Betriebssystemaktualisierung durchzuführen. Es kann auch verwendet werden, um Pakete zu aktualisieren, welche der Registerkarte "Paket Aktualisierungen" von Paket-Manager entspricht.

Nach der Eingabe von pc-updatemanager werden die verfügbaren Optionen angezeigt:

pc-updatemanager                                                                

/usr/local/bin/pc-updatemanager - Usage ----   branches - List available system branches   chbranch <tag> - Change to new system branch   check - Check for system updates   install <tag>,<tag2> - Install system updates   pkgcheck - Check for updates to packages

  pkgupdate - Install packages updates

Upgrading Packages

Um festzustellen, ob neuere Versionen der Pakete vorhanden sind, ist folgendes Kommando als Superuser einzugeben.

pc-updatemanager pkgcheck                                                       

  Updating repository catalogue   Upgrades have been requested for the following 253 packages:   list of packages snipped   The upgrade will require 70 MB more space   439 MB to be downloaded

  To start the upgrade run "/usr/local/bin/pc-updatemanager pkgupdate"

In diesem Beispiel sind für 253 Pakete neuere Versionen verfügbar. Die Liste der Paketnamen wurde im obigen Beispiel heraus genommen. Sollten keine Aktualisierungen vorhanden sein, erscheint die Meldung: "All packages are up to date!".

Sollten Aktualisierungen verfügbar sein, können diese mit folgendem Kommando installiert werden:

pc-updatemanager pkgupdate                                                      

  Updating repository catalogue   snip downloading and reinstalling output   [253/253] Upgrading pcbsd-base from 1374071964 to 1378408836... done

  Extracting desktop overlay data...DONE

While the output has been snipped from this example, the update process will download the latest versions of the packages which need updating, displaying the download progress for each file. Once the downloads are complete, it will display the reinstallation process for each file. The last step of the update process is to extract the desktop (or server) overlay and then to return the prompt.

How long the package upgrade takes depends upon the number of packages and the speed of the Internet connection. If you run this command on a desktop, you should log out and log in again so that you load the latest version of the desktop and its applications. If you run this command on a server while running the tcsh shell, type rehash in order to tell the shell that new applications have been installed.

Applying System Updates

Um festzustellen, ob neuere Version der Pakete vorhanden sind, ist folgendes Kommando als Superuser einzugeben.

pc-updatemanager check                                                          

The following updates are available: ------------------------------------ NAME: Update PKGNG repository configuration TYPE: PATCH TAG: pkgng-1.2.3-12112013 DETAILS: http://trac.pcbsd.org/wiki/patch-20131211-pkg SIXE: 2Mb

To install: "pc-updatemanager install pkgng-1.2.3-12112013"

Follow the instructions to install the update:

ANMERKUNG: System updates are one-way, meaning you cannot unapply an update once it is installed. If this is a concern, create a boot environment first, before applying the update.

Upgrading the Operating System

Users who prefer to upgrade the operating system from the command line can use pc-updatemanager instead of the graphical Update Manager.

Vorbehalt:
before performing any operating system upgrade, read the caveats listed in Update manager. Be sure to backup your important data to another system or external device before starting the upgrade.

Once a new RELEASE has been announced, it should appear as available using the following command:

pc-updatemanager check                                            

The following updates are available: ------------------------------------ NAME: System Update to 10.0-RELEASE TYPE: SYSUPDATE TAG: fbsd-10.0-RELEASE VERSION: 10.0-RELEASE

To install: "pc-updatemanager install fbsd-10.0-RELEASE"

To start the upgrade, follow the "To install" instructions. Messages will indicate the status of the upgrade.

Once the upgrade is complete, a message will indicate that you need to reboot the system in order for the changes to take effect. Close any applications that you have open, then type reboot in order to load the latest version of the operating system and finish the upgrade.

Other languages:German 43% • ‎English 100%