Ubuntu 14.04.3 на vps.
update и upgrade делалось.
При вводе команды
apt-get install libapache2-mod-php5 выдает следующее:
root@luftmore:~# apt-get install libapache2-mod-php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
php5-cli php5-common php5-json php5-readline
Suggested packages:
php-pear php5-user-cache
The following NEW packages will be installed:
libapache2-mod-php5 php5-cli php5-common php5-json php5-readline
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 4824 kB/4858 kB of archives.
After this operation, 20.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5-common amd64 5.5.9+dfsg-1ubuntu4.12
404 Not Found [IP: 91.189.91.15 80]
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5-cli amd64 5.5.9+dfsg-1ubuntu4.12
404 Not Found [IP: 91.189.91.15 80]
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5-readline amd64 5.5.9+dfsg-1ubuntu4.12
404 Not Found [IP: 91.189.91.15 80]
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main libapache2-mod-php5 amd64 5.5.9+dfsg-1ubuntu4.12
404 Not Found [IP: 91.189.91.15 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/php5/php5-common_5.5.9+dfsg-1ubuntu4.12_amd64.deb 404 Not Found [IP: 91.189.91.15 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/php5/php5-cli_5.5.9+dfsg-1ubuntu4.12_amd64.deb 404 Not Found [IP: 91.189.91.15 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/php5/php5-readline_5.5.9+dfsg-1ubuntu4.12_amd64.deb 404 Not Found [IP: 91.189.91.15 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/php5/libapache2-mod-php5_5.5.9+dfsg-1ubuntu4.12_amd64.deb 404 Not Found [IP: 91.189.91.15 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@luftmore:~#
Для примера если взять последний адрес по которому ищется релиз:
http://archive.ubuntu.com/ubuntu/pool/main/p/php5/libapache2-mod-php5_5.5.9+dfsg-1ubuntu4.12_amd64.debИ попробовать его найти на сервере через браузер, то найдет только такое:
libapache2-mod-php5_5.5.9+dfsg-1ubuntu4.13_amd64.debОшибка в одной циферке и из-за этого не находит.
в sources.list вот так:
#------------------------------------------------------------------------------#
# OFFICIAL UBUNTU REPOS #
#------------------------------------------------------------------------------#
###### Ubuntu Main Repos
deb http://....archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://....archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
###### Ubuntu Update Repos
deb http://....archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://....archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://....archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://....archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://....archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://....archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://....archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://....archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe
deb http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu trusty partner
Что можно сделать в таком случае?