Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libcurl4-openssl-dev' instead of 'libcurl3-dev'
The following extra packages will be installed:
comerr-dev krb5-multidev libcomerr2 libcurl4-openssl-dev libgssapi-krb5-2
libgssrpc4 libidn11-dev libk5crypto3 libkadm5clnt-mit7 libkadm5srv-mit7
libkdb5-4 libkrb5-3 libkrb5-dev libkrb5support0 libldap-2.4-2 libldap2-dev
libmcrypt4 libssh2-1 libssh2-1-dev linux-image-2.6.26-2-amd64 pkg-config
Suggested packages:
doc-base krb5-doc libcurl3-dbg krb5-user libmcrypt-dev mcrypt
linux-doc-2.6.26
The following NEW packages will be installed:
comerr-dev curl krb5-multidev libcurl3 libcurl4-openssl-dev libgssrpc4
libidn11-dev libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4 libkrb5-dev
libldap2-dev libmcrypt4 libssh2-1 libssh2-1-dev php5-curl php5-mcrypt
pkg-config
The following packages will be upgraded:
libcomerr2 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0
libldap-2.4-2 linux-image-2.6.26-2-amd64
7 upgraded, 18 newly installed, 0 to remove and 25 not upgraded.
6 not fully installed or removed.
Need to get 0 B/26.2 MB of archives.
After this operation, 13.4 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Preconfiguring packages ...
(Reading database ... 46393 files and directories currently installed.)
Preparing to replace linux-image-2.6.26-2-amd64 2.6.26-26lenny2 (using .../linux -image-2.6.26-2-amd64_2.6.26-26lenny3_amd64.deb) ...
The directory /lib/modules/2.6.26-2-amd64 still exists. Continuing as directed.
Done.
Unpacking replacement linux-image-2.6.26-2-amd64 ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.26-2-amd64 /boot/v mlinuz-2.6.26-2-amd64
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.26-2-amd64 /boot/vm linuz-2.6.26-2-amd64
Generating grub.cfg ...
/usr/sbin/grub-probe: error: no such disk.
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.26- 2-amd64.postrm line 331.
dpkg: warning: subprocess old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.26-2-amd64 /boot/v mlinuz-2.6.26-2-amd64
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.26-2-amd64 /boot/vm linuz-2.6.26-2-amd64
Generating grub.cfg ...
/usr/sbin/grub-probe: error: no such disk.
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 331.
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.26-2-amd64_2.6.26 -26lenny3_amd64.deb (--unpack):
subprocess new post-removal script returned error exit status 1
configured to not write apport reports
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.26-2-amd64 /boot/v mlinuz-2.6.26-2-amd64
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.26-2-amd64 /boot/vm linuz-2.6.26-2-amd64
Generating grub.cfg ...
/usr/sbin/grub-probe: error: no such disk.
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 331.
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-2.6.26-2-amd64_2.6.26-26lenny3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
make sure you are connected to a working internet connection, after this you should have installed curl extension for php.
Now you have PHP Curl installed, the next thing you need to do is to restart apache2, run the following command in your terminal:
if there was no error then that means you installed curl successfully
if your problem was solved click solved to end it, if not post the error you get when trying to do what you intended to do.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.