IMX8 Debian Package Update

From Variscite Wiki
Revision as of 09:08, 22 February 2021 by Harshesh (talk | contribs) (Created page with "{{PageHeader| Upgrading package}} {{DocImage|category1=Debian|category2=DART-MX8M}} Category:DART-MX8M-MINI Category:VAR-SOM-MX8X Category:VAR-SOM-MX8 = Debian Pa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Upgrading package

1 Debian Package Upgrade

By default debian release uses snapshot at the time or release. So the package upgrade requires manual addition to the latest apt resources.

2 Adding Debian.org to apt source list

# echo "deb {{#var:RELEASE_UPDATE_URL} main contrib nono-free" > /etc/apt/sources.list.d/debian_update.list
# echo "deb-src {{#var:RELEASE_UPDATE_URL} main contrib nono-free" >> /etc/apt/sources.list.d/debian_update.list
# echo "deb {{#var:RELEASE_UPDATE_URL}-backports main contrib nono-free" >> /etc/apt/sources.list.d/debian_update.list
# echo "deb-src {{#var:RELEASE_UPDATE_URL}-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