Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 393  / 2 Years ago, sat, january 29, 2022, 12:09:53

My work laptop is running Ubuntu 12.10 (32-bit). Due to the need to be able to test our code in the same versions of PHP, Memcache, and a few other modules; I need to keep the PHP version right where they are at (for example PHP 5.3.x). However I would like to upgrade to my current OS version to Ubuntu 13.04.



Can I upgrade without worrying that Ubuntu will also upgrade the PHP package and other related packages? Or will it just do that whether I like it or not?



Thanks!



Edit:
After running "sudo apt-get dist-upgrade -V" I get the following results:



The following packages will be REMOVED:
libmemcached6 (0.44-1.1build1)
php5-intl (5.4.6-1ubuntu1.4)
php5-memcached (2.0.1-6)
php5-xsl (5.4.6-1ubuntu1.4)
The following NEW packages will be installed:
libjs-underscore (1.3.3-1ubuntu1)
libmemcached10 (1.0.8-1)
libmemcachedutil2 (1.0.8-1)
linux-headers-3.5.0-40 (3.5.0-40.62)
linux-headers-3.5.0-40-generic (3.5.0-40.62)
linux-image-3.5.0-40-generic (3.5.0-40.62)
linux-image-extra-3.5.0-40-generic (3.5.0-40.62)
The following packages have been kept back:
php-apc (3.1.7-1 => 3.1.13-1)
The following packages will be upgraded:
libmemcached-tools (0.44-1.1build1 => 1.0.8-1)
linux-headers-generic (3.5.0.31.47 => 3.5.0.40.56)
linux-image-generic (3.5.0.31.47 => 3.5.0.40.56)
mercurial (2.6.1-1ppa1~quantal1 => 2.7-0ppa1~quantal1)
mercurial-common (2.6.1-1ppa1~quantal1 => 2.7-0ppa1~quantal1)
tortoisehg (2.8-0ppa1~quantal1 => 2.9-0ppa1~quantal1)
The following packages will be DOWNGRADED:
libapache2-mod-php5 (5.3.10-1ubuntu3.6 => 5.3.10-1ubuntu3)
php5-cli (5.3.10-1ubuntu3.6 => 5.3.10-1ubuntu3)
php5-common (5.3.10-1ubuntu3.6 => 5.3.10-1ubuntu3)
php5-curl (5.3.10-1ubuntu3.6 => 5.3.10-1ubuntu3)
php5-gd (5.3.10-1ubuntu3.6 => 5.3.10-1ubuntu3)
php5-mysql (5.3.10-1ubuntu3.6 => 5.3.10-1ubuntu3)
php5-sqlite (5.3.10-1ubuntu3.6 => 5.3.10-1ubuntu3)
php5-sybase (5.3.10-1ubuntu3.6 => 5.3.10-1ubuntu3)


So it looks like I would be fine.


More From » 12.10

 Answers
1

No. PHP is not a dependency of Ubuntu 13.04.



FYI, when you do sudo apt-get dist-upgrade via the command line, it will list all packages that are slated for upgrade. You can double check for PHP's existence.


[#29350] Saturday, January 29, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aveerakfas

Total Points: 106
Total Questions: 148
Total Answers: 129

Location: Monaco
Member since Sun, Jan 1, 2023
1 Year ago
;