R
R
rgzrgz2019-03-21 16:59:21
Debian
rgzrgz, 2019-03-21 16:59:21

Debian 9 how to update?

Hello. When upgrading Debian 9 via
apt-get update

Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Get:6 https://packages.sury.org/php stretch InRelease [6,760 B]
Get:7 https://packages.sury.org/php stretch/main amd64 Packages [111 kB]
Fetched 118 kB in 0s (150 kB/s)
Reading package lists... Done

Passes and then
apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libapache2-mod-php7.2 php7.2-cli php7.2-common php7.2-curl php7.2-fpm php7.2-gd php7.2-intl php7.2-json
  php7.2-mbstring php7.2-mysql php7.2-opcache php7.2-readline php7.2-xml php7.2-zip
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.

What is the reason?
Worth php 7.2
Here is my sources.list
spoiler
## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg
## or do the same in user-data
## b.) add sources in /etc/apt/sources.list.d
## c.) make changes to template file /etc/cloud/templates/sources.list.debian.tmpl
###
# See www.debian.org/releases/stable/i386/release-notes/...
# for how to upgrade to newer versions of the distribution.
deb deb.debian.org/debian stretch main contrib non-free
deb-src deb.debian.org/debian stretch main contrib non-free
## Major bug fix updates produced after the final release of the
## distribution.
deb security.debian.org stretch/updates main contrib non-free
deb-src security.debian.org stretch/updates main contrib non-free
deb deb.debian.org/debian stretch-updates main contrib non-free
deb-src deb.debian.org/debian stretch-updates main contrib non-free
## Uncomment the following two lines to add software from the 'backports'
## repository.
##
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
# deb deb.debian.org/debian stretch-backports main contrib non-free
# deb-src deb.debian.org/debian stretch-backports main contrib non-free
What is the problem with the update?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Melkij, 2019-03-21
@melkij

apt-get upgrade is a relatively polite upgrade, specifically (man apt-get)

New versions of
currently installed packages that cannot be upgraded without
changing the install status of another package will be left at
their current version.

A more aggressive option is apt-get dist-upgrade

A
AVKor, 2019-03-21
@AVKor

Not all repos are listed in the question. Use third parties. Take them away.

R
Radjah, 2019-03-22
@Radjah

First apt list --upgradable. apt will give you a list of what can be upgraded with the versions to upgrade to.
Then apt dist-upgrade. apt will list the packages it will install/update/remove.
Now there is fortune-telling on coffee grounds.

V
ValdikSS, 2019-03-30
@ValdikSS

All packages are up to date. There are no errors. What is your question?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question