[Sysadmins] Обновление Арк-сервера до p6 squirrelmail

Vladimir Karpinsky vkarpinsky на mail.ru
Ср Фев 1 15:40:53 MSK 2012


01.02.2012 15:06, Aleksey Avdeev пишет:
>    OK, тогда откладываем.
>
> PS: Для проверки нужны будут apache и apache2. Squirrel не потребуется
> (т. к. на на пользователей и группы влиять не должен).

Гулять, так гулять:

$ sudo apt-get install apache
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
   apache-base apache-common apache2-cgi-bin apache2-cgi-bin-printenv
   apache2-cgi-bin-test-cgi apache2-datadirs apache2-html apache2-icons libmm
   monit-base webserver-cgi-bin-control webserver-common
   webserver-common-control
The following NEW packages will be installed:
   apache apache-base apache-common apache2-cgi-bin apache2-cgi-bin-printenv
   apache2-cgi-bin-test-cgi apache2-datadirs apache2-html apache2-icons libmm
   monit-base webserver-cgi-bin-control webserver-common
   webserver-common-control
0 upgraded, 14 newly installed, 0 removed and 0 not upgraded.
Need to get 1115kB of archives.
After unpacking 2360kB of additional disk space will be used.

$  rpm -qa | grep apache
apache2-cgi-bin-printenv-2.2.21-alt1.M51.1
apache-common-1.3.42rusPL30.24-alt0.M51.1
apache-base-1.3.42rusPL30.24-alt0.M51.1
apache2-html-2.2.21-alt1.M51.1
apache2-datadirs-2.2.21-alt1.M51.1
apache2-cgi-bin-test-cgi-2.2.21-alt1.M51.1
apache2-icons-2.2.21-alt1.M51.1
apache-1.3.42rusPL30.24-alt0.M51.1
apache2-cgi-bin-2.2.21-alt1.M51.1

$ cat /etc/group | grep _webserver
_webserver:x:38:apache

$ sudo apt-get install apache2
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
   apache2-base apache2-common apache2-htcacheclean apache2-httpd-worker
   apache2-mod_disk_cache libapr1 libaprutil1
The following NEW packages will be installed:
   apache2 apache2-base apache2-common apache2-htcacheclean
   apache2-httpd-worker apache2-mod_disk_cache libapr1 libaprutil1
0 upgraded, 8 newly installed, 0 removed and 0 not upgraded.
Need to get 1053kB of archives.
After unpacking 3111kB of additional disk space will be used.

$  rpm -qa | grep apache
apache2-cgi-bin-printenv-2.2.21-alt1.M51.1
apache2-httpd-worker-2.2.21-alt1.M51.1
apache-common-1.3.42rusPL30.24-alt0.M51.1
apache-base-1.3.42rusPL30.24-alt0.M51.1
apache2-html-2.2.21-alt1.M51.1
apache2-mod_disk_cache-2.2.21-alt1.M51.1
apache2-datadirs-2.2.21-alt1.M51.1
apache2-cgi-bin-test-cgi-2.2.21-alt1.M51.1
apache2-icons-2.2.21-alt1.M51.1
apache2-common-2.2.21-alt1.M51.1
apache2-htcacheclean-2.2.21-alt1.M51.1
apache-1.3.42rusPL30.24-alt0.M51.1
apache2-2.2.21-alt1.M51.1
apache2-cgi-bin-2.2.21-alt1.M51.1
apache2-base-2.2.21-alt1.M51.1

$ cat /etc/group | grep _webserver
_webserver:x:38:apache,apache2

$ sudo apt-repo rm 5.1
$ sudo apt-repo add p6
$ sudo apt-repo
rpm [updates] http://ftp.altlinux.org/pub/distributions/ALTLinux/p6/branch 
x86_64 classic
rpm [updates] http://ftp.altlinux.org/pub/distributions/ALTLinux/p6/branch 
noarch classic
rpm http://ftp.altlinux.org/pub/distributions/ALTLinux/p6/branch x86_32 classic
$ sudo apt-get update
$ sudo apt-get dist-upgrade
$ rpm -qa | grep apache
apache2-httpd-worker-2.2.21-alt1.M51.1
apache2-cgi-bin-printenv-2.2.21-alt1.M51.1
apache2-mod_disk_cache-2.2.21-alt1.M51.1
apache-1.3.42rusPL30.24-alt1.1
apache2-cgi-bin-2.2.21-alt1.M51.1
apache2-cgi-bin-test-cgi-2.2.21-alt1.M51.1
apache2-icons-2.2.21-alt1.M51.1
apache2-common-2.2.21-alt1.M51.1
apache2-htcacheclean-2.2.21-alt1.M51.1
apache2-datadirs-2.2.21-alt1.M51.1
apache2-base-2.2.21-alt1.M51.1
apache-common-1.3.42rusPL30.24-alt1.1
apache2-2.2.21-alt1.M51.1
apache-base-1.3.42rusPL30.24-alt1.1
apache2-html-2.2.21-alt1.M51.1

$ cat /etc/group | grep _webserver
_webserver:x:38:apache,apache2

Всё нормально.

Не мог ли какой-нибудь "посторонний" пакет влезть в /etc/group?

-- 
	С уважением,
		Владимир.


Подробная информация о списке рассылки Sysadmins