Difference between revisions of "IVS Repositories"

From IVS Wiki
Jump to: navigation, search
Line 1: Line 1:
{{DISPLAYTITLE:apt update}}
 
 
{{Article | content =  
 
{{Article | content =  
As of 5.7.x, IVS has adopted the use of apt repositories for software updates.
+
<div class="floating_card">As of 5.7.x, IVS has adopted the use of apt repositories for software updates.</div>
  
 
{{Aside | hue = 200 | icon = {{book_icon}} | content = To see what repositories are needed for online updates, [[Network Requirements#Online_Updates | click here]].}}
 
{{Aside | hue = 200 | icon = {{book_icon}} | content = To see what repositories are needed for online updates, [[Network Requirements#Online_Updates | click here]].}}
Line 9: Line 8:
 
==Performing Updates==
 
==Performing Updates==
  
When running updates, using {{Code Block - Mini | text = apt update}} and {{Code Block - Mini | text = apt upgrade}}, the VALT software will also be updated. During this process, VALT configuration prompts will be presented. Depending on the system and version, varying prompts may appear such as SSL cert paths.
+
When running apt updates, on a version of 5.7.x or newer, the VALT software will also be checked for updates. Depending on your system and version, varying VALT prompts may appear while running these updates. Such prompts include, but are not limited to, questions regarding certs, storage, and network configurations.
 +
 
 +
{{Aside | hue = 50 | icon = {{warning_icon}} | content = If you are unfamiliar with these prompts and the system configuration, caution is advised when updating the system.}}
  
 
{{Aside | hue = 0 | icon = {{warning_icon}} | content = VALT will be taken down during these updates.}}
 
{{Aside | hue = 0 | icon = {{warning_icon}} | content = VALT will be taken down during these updates.}}
 +
 +
<hr>
 +
 +
==Run apt Updates without Updating VALT==
 +
To avoid updating the VALT application, while running apt updates, a hold can be put on the ivs packages. This hold will tell apt to update all of the other packages except for the ones with the hold. This can be advantageous when wanting to upgrade other packages to the newest version, without updating VALT.
 +
 +
You can use the following commands to place a hold on these packages:
  
 
*{{Code Block - Mini | text = sudo <span class="code_regex">apt-mark</span> <span class="code_option">hold</span> <span class="code_3">ivs-*</span>}}
 
*{{Code Block - Mini | text = sudo <span class="code_regex">apt-mark</span> <span class="code_option">hold</span> <span class="code_3">ivs-*</span>}}
 +
 +
Once the packages are held, you can run the apt updates.
 
*{{Code Block - Mini | text = sudo <span class="code_regex">apt</span> <span class="code_option">update</span>}}
 
*{{Code Block - Mini | text = sudo <span class="code_regex">apt</span> <span class="code_option">update</span>}}
 
*{{Code Block - Mini | text = sudo <span class="code_regex">apt</span> <span class="code_option">upgrade</span>}}
 
*{{Code Block - Mini | text = sudo <span class="code_regex">apt</span> <span class="code_option">upgrade</span>}}
 +
 +
<hr>
 +
 +
==Unhold the ivs Packages==
 +
To unhold these packages, so VALT is checked for updates, you can use the following command.
 
*{{Code Block - Mini | text = sudo <span class="code_regex">apt-mark</span> <span class="code_option">unhold</span> <span class="code_3">ivs-*</span>}}
 
*{{Code Block - Mini | text = sudo <span class="code_regex">apt-mark</span> <span class="code_option">unhold</span> <span class="code_3">ivs-*</span>}}
  
 +
Once the packages are unheld, you can run the apt updates.
 +
*{{Code Block - Mini | text = sudo <span class="code_regex">apt</span> <span class="code_option">update</span>}}
 +
*{{Code Block - Mini | text = sudo <span class="code_regex">apt</span> <span class="code_option">upgrade</span>}}
 
}}
 
}}

Revision as of 08:10, 13 March 2024

As of 5.7.x, IVS has adopted the use of apt repositories for software updates.

🕮To see what repositories are needed for online updates, click here.


Performing Updates

When running apt updates, on a version of 5.7.x or newer, the VALT software will also be checked for updates. Depending on your system and version, varying VALT prompts may appear while running these updates. Such prompts include, but are not limited to, questions regarding certs, storage, and network configurations.

If you are unfamiliar with these prompts and the system configuration, caution is advised when updating the system.

VALT will be taken down during these updates.


Run apt Updates without Updating VALT

To avoid updating the VALT application, while running apt updates, a hold can be put on the ivs packages. This hold will tell apt to update all of the other packages except for the ones with the hold. This can be advantageous when wanting to upgrade other packages to the newest version, without updating VALT.

You can use the following commands to place a hold on these packages:

  • sudo apt-mark hold ivs-*

Once the packages are held, you can run the apt updates.

  • sudo apt update
  • sudo apt upgrade

Unhold the ivs Packages

To unhold these packages, so VALT is checked for updates, you can use the following command.

  • sudo apt-mark unhold ivs-*

Once the packages are unheld, you can run the apt updates.

  • sudo apt update
  • sudo apt upgrade