IMX8 Debian Package Update: Difference between revisions

From Variscite Wiki
Line 7: Line 7:
= Adding Debian.org to apt source list =
= 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 {{#var:RELEASE_UPDATE_URL}} {{#var:RELEASE_UPDATE_DISTRO}} 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-src {{#var:RELEASE_UPDATE_URL}} {{#var:RELEASE_UPDATE_DISTRO}} 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 {{#var:RELEASE_UPDATE_URL}} {{#var:RELEASE_UPDATE_DISTRO}}-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
  # echo "deb-src {{#var:RELEASE_UPDATE_URL}} {{#var:RELEASE_UPDATE_DISTRO}}-backports main contrib nono-free" >> /etc/apt/sources.list.d/debian_update.list


= Updating package repo =
= Updating package repo =

Revision as of 09:12, 22 February 2021

Upgrading package

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.

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