Difference between revisions of "Pc-updatemanager/9.2/de"

From PC-BSD Wiki
Jump to: navigation, search
(Updating to match new version of source page)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{NavHeader|back=pkgng and pc-metapkgmanager |forward=Control Panel|custompagename=pc-updatemanager|custompagecategory={{PAGENAME}}}}</noinclude>
+
{{UseTOC{{putVers}}|Nav}}</noinclude>
  
'''pc-updatemanager''' is the command line equivalent to [[Update Manager]]. It can be used to apply system updates and to perform an operating system upgrade. It can also be used to update packages, providing a command line equivalent to the "Package Updates" tab of [[Package_Manager#Update_Installed_Packages|Package Manager]].
+
'''pc-updatemanager''' is the command line equivalent to {{local|link=Update Manager}}. It can be used to apply system updates and to perform an operating system upgrade. It can also be used to update packages, providing a command line equivalent to the "Package Updates" tab of {{local|link=Package_Manager|anchor=Update_Installed_Packages|Package Manager}}.
  
 
If you type '''pc-updatemanager''', it will show its available options:
 
If you type '''pc-updatemanager''', it will show its available options:
  
  {{txtbox|box='''pc-updatemanager'''
+
  {{txtbox|box='''pc-updatemanager'''{{nbsp|64}}
 
/usr/local/bin/pc-updatemanager - Usage
 
/usr/local/bin/pc-updatemanager - Usage
 
<nowiki>----</nowiki>
 
<nowiki>----</nowiki>
{{nbsp}} branches              - List available system branches{{nbsp|24}}
+
{{nbsp}} branches              - List available system branches
 
{{nbsp}} chbranch <tag>        - Change to new system branch
 
{{nbsp}} chbranch <tag>        - Change to new system branch
 
{{nbsp}} check                - Check for system updates
 
{{nbsp}} check                - Check for system updates
Line 20: Line 20:
 
To determine if newer versions of packages are available, type the following command as the superuser.
 
To determine if newer versions of packages are available, type the following command as the superuser.
  
  '''pc-updatemanager pkgcheck'''
+
  {{txtbox|box='''pc-updatemanager pkgcheck'''{{nbsp|55}}
Updating repository catalogue
+
{{nbsp}} Updating repository catalogue
Upgrades have been requested for the following 253 packages:
+
{{nbsp}} Upgrades have been requested for the following 253 packages:
list of packages snipped
+
{{nbsp}} list of packages snipped
The upgrade will require 70 MB more space
+
{{nbsp}} The upgrade will require 70 MB more space
439 MB to be downloaded
+
{{nbsp}} 439 MB to be downloaded
To start the upgrade run "/usr/local/bin/pc-updatemanager pkgupdate"
+
{{nbsp}} To start the upgrade run "/usr/local/bin/pc-updatemanager pkgupdate"}}
  
 
In this example, newer versions are available for 253 packages. The list of package names was snipped from the sample output. If no updates were available, the output would have instead said "All packages are up to date!".
 
In this example, newer versions are available for 253 packages. The list of package names was snipped from the sample output. If no updates were available, the output would have instead said "All packages are up to date!".
Line 32: Line 32:
 
If updates are available, you can install them with this command:
 
If updates are available, you can install them with this command:
  
  '''pc-updatemanager pkgupdate'''
+
  {{txtbox|box='''pc-updatemanager pkgupdate'''{{nbsp|54}}
Updating repository catalogue
+
{{nbsp}} Updating repository catalogue
snip downloading and reinstalling output
+
{{nbsp}} snip downloading and reinstalling output
[253/253] Upgrading pcbsd-base from 1374071964 to 1378408836... done
+
{{nbsp}} [253/253] Upgrading pcbsd-base from 1374071964 to 1378408836... done
Extracting desktop overlay data...DONE
+
{{nbsp}} 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.
 
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.
Line 42: Line 42:
 
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.
 
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.
  
 +
<!-- Content not published
 
===Applying System Updates===
 
===Applying System Updates===
  
 
To determine if any system updates are available, type the following command as the superuser:  
 
To determine if any system updates are available, type the following command as the superuser:  
  
'''pc-updatemanager check'''
+
{{txtbox|box='''pc-updatemanager check'''{{nbsp|58}}
The following updates are available:
+
{{nbsp}} The following updates are available:
<nowiki>------------------------------------</nowiki>
+
{{nbsp}} <nowiki>------------------------------------</nowiki>}}
  
 
Follow the instructions to install the update:
 
Follow the instructions to install the update:
Line 54: Line 55:
 
===Upgrading the Operating System===
 
===Upgrading the Operating System===
  
'''NOTE:''' ''' ''before performing an operating system upgrade, read the caveats listed [[Update_Manager#Upgrading_the_Operating_System|here]]. Be sure to backup your important data to another system or external device before starting the upgrade.'' '''  
+
{{caveat|width=auto|icon64=''' ''before performing an operating system upgrade, read the caveats listed in {{local|link=Update_Manager|anchor=Upgrading_the_Operating_System|Update manager}}. Be sure to backup your important data to another system or external device before starting the upgrade.'' '''}}
  
 
{{txtbox|box='''pc-updatemanager install release-9.1'''{{nbsp|44}}
 
{{txtbox|box='''pc-updatemanager install release-9.1'''{{nbsp|44}}
STARTINGUPDATE: 9.1
+
{{nbsp}} STARTINGUPDATE: 9.1
Downloading Master Files...}}
+
{{nbsp}} Downloading Master Files...}}
  
The upgrade will then proceed as usual and you will be prompted when the system is ready to reboot.
+
The upgrade will then proceed as usual and you will be prompted when the system is ready to reboot. -->
  
 
<noinclude>
 
<noinclude>
{{refheading}}
+
<!-- {{refheading}} --><!-- uncomment if citelink used in page -->
 
[[Category:Upgrading PC-BSD®]]
 
[[Category:Upgrading PC-BSD®]]
 
[[category:Advanced Installation Topics]]
 
[[category:Advanced Installation Topics]]

Latest revision as of 00:29, 1 February 2014


Contents


pc-updatemanager is the command line equivalent to Aktualisierungsverwaltung. It can be used to apply system updates and to perform an operating system upgrade. It can also be used to update packages, providing a command line equivalent to the "Package Updates" tab of Package Manager.

If you type pc-updatemanager, it will show its available options:

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

[edit] Upgrading Packages

To determine if newer versions of packages are available, type the following command as the superuser.

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 this example, newer versions are available for 253 packages. The list of package names was snipped from the sample output. If no updates were available, the output would have instead said "All packages are up to date!".

If updates are available, you can install them with this command:

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.

Other languages:German 14% • ‎English 100% • ‎French 9%