Difference between revisions of "IMX8 Debian Package Update"

From Variscite Wiki
Line 3: Line 3:
 
--> {{#lst:Debian_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_STRETCH_V3.0_DART-6UL}}}} <!--
 
--> {{#lst:Debian_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_STRETCH_V3.0_DART-6UL}}}} <!--
 
-->
 
-->
{{PageHeader| Upgrading package}}
+
{{PageHeader| Upgrading Debain Packages}}
 
{{DocImage|category1=Debian|category2=DART-MX8M}} [[Category:DART-MX8M-MINI]] [[Category:VAR-SOM-MX8X]] [[Category:VAR-SOM-MX8]]
 
{{DocImage|category1=Debian|category2=DART-MX8M}} [[Category:DART-MX8M-MINI]] [[Category:VAR-SOM-MX8X]] [[Category:VAR-SOM-MX8]]
  
 
= Debian Package Upgrade =
 
= Debian Package Upgrade =
By default debian release uses snapshot at the time of release. So the package upgrade requires manual addition to the latest apt resources.
+
By default Debian release uses snapshot at the time of release. The package upgrade requires manual addition to the latest apt resources.
  
 
= Adding Debian.org to apt source list =
 
= Adding Debian.org to apt source list =

Revision as of 10:03, 5 March 2021


Upgrading Debain Packages

1 Debian Package Upgrade

By default Debian release uses snapshot at the time of release. The package upgrade requires manual addition to the latest apt resources.

2 Adding Debian.org to apt source list

# echo "deb   main contrib nono-free" > /etc/apt/sources.list.d/debian_update.list
# echo "deb-src   main contrib nono-free" >> /etc/apt/sources.list.d/debian_update.list
# echo "deb  -backports main contrib nono-free" >> /etc/apt/sources.list.d/debian_update.list
# echo "deb-src  -backports main contrib nono-free" >> /etc/apt/sources.list.d/debian_update.list

3 Updating package repo

# apt-get update

4 Installing / Upgrading to latest package

# apt-get --only-upgrade install <package name>

i.e if you wish to upgrade apache2 below is example of it.

# apt-get --only-upgrade install apache2