Sign up ×
Server Fault is a question and answer site for 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 lenny main contrib non-free
#deb lenny/updates main contrib non-free
#deb lenny main
#deb-src lenny/volatile main contrib

deb stable all
deb-src stable all

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

/$ apt-get update
Hit stable Release.gpg
Hit stable Release
Ign stable/all Packages/DiffIndex
Ign stable/all Sources/DiffIndex
Hit stable/all Packages
Hit 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.