Velkommen til danielbahl.dk
Connect med mig på Facebook
Hej Daniel,
Når jeg laver en apt-get upgrade kan jeg se der er nogle pakker bl.a. PHP der skal opgraderes. Men jeg kan ikke se hvilken version som apt-get vil opgraderer til? Hvordan kan jeg se det - INDEN - jeg laver min opdatering?
root@soren.linux:/etc# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
bsdutils fuse-utils libapache2-mod-php5 libc6 libdbus-1-3 libfuse2 libpq5 linux-ubuntu-modules-2.6.24-28-server mount php5-cli php5-common php5-mysql util-linux util-linux-locales
14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 17,4MB of archives.
After this operation, 12,3kB of additional disk space will be used.
Do you want to continue [Y/n]?
Ps. tak for nogle HELT FANTASTISKE linux-videoer, har lært RIGTIG meget!
Hilsen Søren
Daniel svarede:
Hej Søren,
Det er heldigvis meget nemt, sæt et -V ind i din apt-get kommando, eks: apt-get -V upgrade
# apt-get -V upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
libapache2-mod-php5 (5.2.4-2ubuntu5.12 => 5.2.4-2ubuntu5.14)
libc6 (2.7-10ubuntu7 => 2.7-10ubuntu8)
linux-ubuntu-modules-2.6.24-28-server (2.6.24-28.46 => 2.6.24-28.47)
mount (2.13.1-5ubuntu3 => 2.13.1-5ubuntu3.1)
php5-cli (5.2.4-2ubuntu5.12 => 5.2.4-2ubuntu5.14)
php5-common (5.2.4-2ubuntu5.12 => 5.2.4-2ubuntu5.14)
php5-mysql (5.2.4-2ubuntu5.12 => 5.2.4-2ubuntu5.14)
util-linux (2.13.1-5ubuntu3 => 2.13.1-5ubuntu3.1)
util-linux-locales (2.13.1-5ubuntu3 => 2.13.1-5ubuntu3.1)
14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 17,4MB of archives.
After this operation, 12,3kB of additional disk space will be used.
Do you want to continue [Y/n]?
Med venlige hilsner
Daniel Bahl