IMX8 Debian Package Update: Difference between revisions

From Variscite Wiki
No edit summary
Line 56: Line 56:
  readonly DEF_ROOTFS_TARBALL_NAME="rootfs.tar.gz"
  readonly DEF_ROOTFS_TARBALL_NAME="rootfs.tar.gz"
And build normally
And build normally
<br>
'''Note:'''
'''Note:'''
* Latest debian.org packages may break your application libraries stack of your existing application.
* Latest debian.org packages may break your application libraries stack of your existing application.

Revision as of 14:36, 8 March 2021


Upgrading Debain Packages

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.

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

Updating package repo

# apt-get update

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