Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i'm running Apache 2 on Debian at my VPS. Naturally i have problem with restricted GD-library of my php package and i need to fix it (i need imagerotate() function). Before installing php-gd pugin it's necessary to update php 5.2 to php 5.3

my /etc/apt/sources.list is:

#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

The problem comes after apt-get dist-ugprade executing:

/$ 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

What can cause this problem? How much should i wait while Reading package lists...? Is there any simple guideline for further php-gd installation?

share|improve this question

closed as too localized by MikeyB, mdpc, Gilles, Ward, voretaq7 Nov 28 '11 at 17:26

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 2 down vote accepted

You made a typo: dist-upgrade (in upgrade)

share|improve this answer
    
oh, really.. sorry for a stupid question..) –  drdarwin Nov 25 '11 at 16:16
    
thank you very much.. –  drdarwin Nov 25 '11 at 16:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.