Probleme mit der GD-Lib

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
Post Reply
golyr
Posts: 13
Joined: 2003-09-14 18:23
 

Probleme mit der GD-Lib

Post by golyr »

Hallo, ich brauche auf meiner Seite (die übrigens wieder läuft 8) ) die GD-LIB Funktionen für PHP um Grafiken (Cover usw) nach dem Upload zu bearbeiten.

ich habe folgendes eingegeben:

Code: Select all

217-20-113-131:/# apt-get install php4-gd
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
Sorry, but the following packages have unmet dependencies:
  mii-diag: Depends: libc6 (>= 2.2.3-1) but it is not going to be installed
  php4-gd: Depends: libc6 (>= 2.2.4-4) but it is not going to be installed
           Depends: libfreetype6 but it is not going to be installed
           Depends: libgd1 (>= 1.8.4-11) or
                    libgd1-noxpm (>= 1.8.4-11) but it is not going to be installed
           Depends: libjpeg62 but it is not going to be installed
           Depends: libpng2 (>= 1.0.12) but it is not going to be installed
           Depends: t1lib1 but it is not going to be installed
           Depends: xlibs (> 4.1.0) but it is not going to be installed
           Depends: zlib1g (>= 1:1.1.4) but it is not going to be installed
           Depends: zendapi-20020429
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Was genau heißt das denn jetzt für mich?

muss ich jetzt erst die anderen Pakete installieren und dann GD-Lib nochmal?

Wär nett, wenn mir jemand helfen könnte, habe den Server erst seit einer Woche und da ist noch einiges an Unklarheiten da.

Ein kleiner Tipp, wie man welches Paket installiert wäre auch super.

Gruß

goLyr.de
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: Probleme mit der GD-Lib

Post by captaincrunch »

Die viel interessantere Frage ist, was du vorher gemacht hast, da es fast so aussieht, als hättest du dir recht massiv dein Paketsystemzerschossen.

Poste mal deine /etc/apt/sources.list
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
golyr
Posts: 13
Joined: 2003-09-14 18:23
 

Re: Probleme mit der GD-Lib

Post by golyr »

da kommt nur access denied :(

hab da aber eigentlich nichts großartig gemacht, läuft auch alles soweit
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: Probleme mit der GD-Lib

Post by captaincrunch »

Access denied ? Als welcher User versuchst du, dir das File anzuschauen ? Poste mal ein ls -l /etc/apt/sources.list
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
golyr
Posts: 13
Joined: 2003-09-14 18:23
 

Re: Probleme mit der GD-Lib

Post by golyr »

jetzt habe ich es (fast) geschafft:

Code: Select all

# apt-get install php4-gd
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  apache-common coreutils debconf debianutils fileutils libbz2-1.0 libc6
  libdb2 libdb3 libdb4.1 libexpat1 libfreetype6 libgdbmg1 libjpeg62 libmm11
  libpam-runtime libpam0g libpng2 libssl0.9.6 mime-support perl perl-base
  perl-modules php4 t1lib1 xfree86-common xlibs zlib1g
The following NEW packages will be installed:
  apache-common coreutils debconf debianutils fileutils libbz2-1.0 libc6
  libdb2 libdb3 libdb4.1 libexpat1 libfreetype6 libgdbmg1 libjpeg62 libmm11
  libpam-runtime libpam0g libpng2 libssl0.9.6 mime-support perl perl-base
  perl-modules php4 php4-gd t1lib1 xfree86-common xlibs zlib1g
0 packages upgraded, 29 newly installed, 0 to remove and 0  not upgraded.
Need to get 3033kB/14.3MB of archives. After unpacking 50.2MB will be used.
Do you want to continue? [Y/n] Y
Get:1 http://security.debian.org stable/updates/main xfree86-common 4.1.0-16woody1 [545kB]
Get:2 http://debian.moolfreet.com ./ libdb4.1 4.1.25-4 [307kB]
Get:3 http://debian.netfarm.it woody/sherpya fileutils 5.0.90-3 [6744B]
Get:4 http://security.debian.org stable/updates/main xlibs 4.1.0-16woody1 [1224kB]
Get:5 http://ftp.freenet.de stable/main debconf 1.0.32 [94.0kB]
Get:6 http://debian.moolfreet.com ./ php4 4:4.3.3-2moolfreet [775kB]
Get:7 http://debian.moolfreet.com ./ php4-gd 4:4.3.3-2moolfreet [80.4kB]
Fetched 3033kB in 2s (1379kB/s)
E: Cannot get debconf version. Is debconf installed?
(Reading database ... 0 files and directories currently installed.)
Unpacking libc6 (from .../libc6_2.2.5-11.5_i386.deb) ...
dpkg not recorded as installed, cannot check for epoch support !
dpkg: error processing /var/cache/apt/archives/libc6_2.2.5-11.5_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.2.5-11.5_i386.deb
Updating Debian Packages of System Configurations.
find: /etc/dpsyco/cmd: No such file or directory
E: Sub-process /usr/bin/dpkg returned an error code (1)
Is debconf installed?
Ja, wahrscheinlich nicht, aber wo kriege ich das her? Und wie installiere ich das? muss ich mir einfach nur die Dateien besorgen aufspielen und ausführen?

Ich will nicht wieder was kaputt machen :oops:
golyr
Posts: 13
Joined: 2003-09-14 18:23
 

apt-get install debconf liefert das:

Post by golyr »

Code: Select all

 apt-get install debconf
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  coreutils fileutils libc6 perl-base
The following NEW packages will be installed:
  coreutils debconf fileutils libc6 perl-base
0 packages upgraded, 5 newly installed, 0 to remove and 0  not upgraded.
Need to get 0B/6295kB of archives. After unpacking 22.6MB will be used.
Do you want to continue? [Y/n] Y
E: Cannot get debconf version. Is debconf installed?
(Reading database ... 0 files and directories currently installed.)
Unpacking libc6 (from .../libc6_2.2.5-11.5_i386.deb) ...
dpkg not recorded as installed, cannot check for epoch support !
dpkg: error processing /var/cache/apt/archives/libc6_2.2.5-11.5_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.2.5-11.5_i386.deb
Updating Debian Packages of System Configurations.
find: /etc/dpsyco/cmd: No such file or directory
E: Sub-process /usr/bin/dpkg returned an error code (1)
hmmm.. daraus wird der kleine dennis nicht schlau
Post Reply