Bonjour,

J'essaye d'installer désespérement curl depuis 3 heures.
PHP me dit toujours que la fonction curl_version est introuvable pour le moment.

Un message bizarre s'affiche quand je fais l'installation et j'ai fait plein de recherche mais je ne comprends vraiment pas :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
 
root@***:~# sudo apt-get install php5-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-curl is already the newest version.
The following packages will be upgraded:
  php-pear
1 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
2 not fully installed or removed.
Need to get 0 B/284 kB of archives.
After this operation, 2,180 kB of additional disk space will be used.
(Reading database ... 59255 files and directories currently installed.)
Preparing to replace php-pear 1:1.10.1+submodules+notgz-8.1 (using .../php-pear_1%3a1.10.1+submodules+notgz-8.1_all.deb) ...
dpkg-maintscript-helper: error: command symlink_to_dir is unknown
Hint: upgrading dpkg to a newer version might help.
 
Usage: dpkg-maintscript-helper <command> <parameter>... -- <maintainer-script-parameter>...
 
Commands:
  supports <command>
        Returns 0 (success) if the given command is supported, 1 otherwise.
  rm_conffile <conffile> [<last-version> [<package>]]
        Remove obsolete conffile. Must be called in preinst, postinst and
        postrm.
  mv_conffile <old-conf> <new-conf> [<last-version> [<package>]]
        Rename a conffile. Must be called in preinst, postinst and postrm.
  help
        Display this usage information.
dpkg: error processing /var/cache/apt/archives/php-pear_1%3a1.10.1+submodules+notgz-8.1_all.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
dpkg-maintscript-helper: error: command symlink_to_dir is unknown
Hint: upgrading dpkg to a newer version might help.
 
Usage: dpkg-maintscript-helper <command> <parameter>... -- <maintainer-script-parameter>...
 
Commands:
  supports <command>
        Returns 0 (success) if the given command is supported, 1 otherwise.
  rm_conffile <conffile> [<last-version> [<package>]]
        Remove obsolete conffile. Must be called in preinst, postinst and
        postrm.
  mv_conffile <old-conf> <new-conf> [<last-version> [<package>]]
        Rename a conffile. Must be called in preinst, postinst and postrm.
  help
        Display this usage information.
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/php-pear_1%3a1.10.1+submodules+notgz-8.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@vps306333:~#