我在 VPS 上的 Debian 上运行 Apache 2。当然,我的 php 包的 GD 库受限,我需要修复它(我需要imagerotate()
功能)。在安装php-gd
pugin 之前,需要将 php 5.2 更新到 php 5.3
我的/etc/apt/sources.list
是:
#deb http://ftp.ru.debian.org/debian/ lenny main contrib non-free
#deb http://security.debian.org lenny/updates main contrib non-free
#deb http://ftp.ru.debian.org/debian lenny main
#deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all
执行完之后出现问题apt-get dist-ugprade
:
/$ apt-get update
Hit http://packages.dotdeb.org stable Release.gpg
Hit http://packages.dotdeb.org stable Release
Ign http://packages.dotdeb.org stable/all Packages/DiffIndex
Ign http://packages.dotdeb.org stable/all Sources/DiffIndex
Hit http://packages.dotdeb.org stable/all Packages
Hit http://packages.dotdeb.org stable/all Sources
Reading package lists...
/$ apt-get dist-ugprade
E: Invalid operation dist-ugprade
什么原因会导致此问题?我应该等待多长时间Reading package lists...
?是否有任何简单的指南可用于进一步安装 php-gd?
答案1
您输入错误:(dist-upgrade
在升级)