💻 I-C-3. Proxmox VE Update: Executing apt update and apt upgrade

 

🔑 #ProxmoxVE #System #Stabilization: Executing #apt update and #apt upgrade

After successfully completing the #ProxmoxVE #installation and #optimizing the #Repository #configuration, you must now #update the #system to its #latest #state to #ensure #security and #stability

The #apt #command used for #package #management in the #Linux #operatingsystem is #fundamental to #Proxmox #server #management, and it's #crucial to #accurately #understand the #role of the two #main #commands: #apt update and #apt upgrade

This post #details the #stepbystep #method for #performing the #update via the #webconsole #Shell and the #technical #differences between each #command


1. #Technical #Understanding of #Update #Commands: #Update vs #Upgrade

Since #ProxmoxVE is based on #Debian #Linux, #package #management utilizes the #Advanced #Package #Tool (#apt)

A. #apt update: #List #Refresh

  • #Role: #apt update does #not #actually #download or #install #packages

  • #Function: This #command only #fetches the #updated #list (#Metadata) of #packages from the #configured #Repository (storage) and #refreshes the #local #system's #package #index

  • #Analogy: It's like #receiving only the #product #catalog to see if #new #items have been #registered on an #online #shoppingmall

  • #Execution: It must be #executed #first to obtain #new #package #information

B. #apt upgrade: #Actual #Package #Installation

  • #Role: #apt upgrade #performs the #actual #update and #replaces #files

  • #Function: Based on the #list #refreshed by #apt update, it #downloads and #installs the #packages that have #newer #versions among the #packages currently #installed on the #system

  • #Key #Difference: #apt upgrade #updates #existing #packages and generally does #not #add #new #packages or #remove #existing #packages unless there are #dependency #issues (unlike #Full #Upgrade)

  • #Execution: It is #executed #immediately #after #apt update to #apply #securitypatches and #featureenhancements


2. #ProxmoxVE #Update #Execution #Steps



Use the #webconsole #Shell to #execute the #commands with #Root #privileges

A. #Shell #Access and #Update #Execution

  1. Open the #Shell #window from the #webconsole

  2. #Refresh the #package #list:

    • #Command: apt update

  3. #Verify #Output: Check that #no #warnings or #errors related to the #Enterprise #Repository #occur, and that #package #information is #normally #fetched from the #pve-no-subscription and #Debian #repositories

B. #Upgrade #Execution and #Confirmation

  1. #Proceed with the #actual #update #installation:

    • #Command: apt upgrade

  2. #Confirmation #Prompt: The #list of #packages to be #downloaded and #installed is #displayed, and you are #asked if you #want to #continue (#Do #you #want #to #continue?)

  3. #Input: #Type y and #press #Enter to #start the #installation

  4. #Completion #Check: When the #installation #process is #all #finished and the #prompt (#root@pve:~#) #reappears, it means it was #successfully #completed


3. #Key #Management #Tips #After #Update



#Additional #management #tasks are #needed for #stable #server #operation even after running #apt upgrade

A. #Reboot #Essential for #Kernel #Updates

  • If the #Linux #kernel #package (#pve-kernel) was #included in the #update #list, you #must #reboot the #server to #apply the #new #kernel

  • #Command: reboot

  • #Caution: If #VMs or #containers are #running in #Proxmox, you must #shutthemdown #before #proceeding to #avoid #impacting #services

B. #Cleaning #Unnecessary #Packages

  • #Dependency #packages that are #no #longer #used during the #update #process may #remain on the #system

  • #Command: Run apt autoremove to #automatically #remove #unnecessary #packages and #freeup #disk #space

#ProxmoxVE #updates are the #most #basic and #important #maintenance #task for #closing #security #holes and #applying #new #features


ProxmoxVE, Update, aptupdate, aptupgrade, apt, Linux, Server, Security, Shell, Terminal, Reboot, Packages, Repository, Management


Optimal performance, cost efficiency! Experience Proxmox VE-based hosting tailored for your project. Go to Luzen Hosting

댓글

이 블로그의 인기 게시물

💻 Proxmox VE Course II-A-5. CPU and Memory Settings: Understanding Ballooning and NUMA Configuration

💻 Proxmox VE Course III-A-3. Bonding (NIC Teaming) Configuration: Redundancy and Bandwidth Expansion (Active/Backup, LACP)

Sui (SUI) Mainnet Launch News: Preemptive Buying, Now is the Opportunity!