Difference between revisions of "IMX8 Debian Package Update"

From Variscite Wiki
Line 23: Line 23:
 
i.e if you wish to upgrade apache2 below is example of it.  
 
i.e if you wish to upgrade apache2 below is example of it.  
 
  # apt-get --only-upgrade install apache2
 
  # apt-get --only-upgrade install apache2
 +
 +
{{#ifeq: {{#var:LIBC_WORKAROUND}} | true |
 +
Note:
 +
NXP Provides the Vivante GPU driver in binary form and it requires a specific minimum version of libc.<br>
 +
Due to this requirement from the GPU user space libraries, this Debian release uses an updated version of libc from the newer Debian Bullseye repository.<br>
 +
Therefore, if you need to update packages which depend on libc (like build-essentials, gcc, libc6-dev, etc.) please use only update that package. Installing / Updating all packages can break the rootfs.
 +
|
 +
}}

Revision as of 11:21, 8 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