LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 07-22-2011, 03:06 AM   #1
dhil
LQ Newbie
 
Registered: Feb 2005
Location: Denmark
Posts: 8

Rep: Reputation: 0
apt-get gives error: no such disk.


Dear Linux Gurus,

Can u please help me solve this issue :


apt-get -f install curl libcurl3 libcurl3-dev php5-curl php5-mcrypt

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)
 
Old 07-22-2011, 04:52 AM   #2
ifranklin
Member
 
Registered: May 2010
Location: New Jersey, USA
Distribution: Ubuntu
Posts: 66

Rep: Reputation: 4
give more explanation on what you are trying to do, what are the specs of your pc?
 
Old 07-22-2011, 05:16 AM   #3
dhil
LQ Newbie
 
Registered: Feb 2005
Location: Denmark
Posts: 8

Original Poster
Rep: Reputation: 0
i am trying to install curl extension -

what ever apt-get i am trying, i am getting the error messages stated above

Specs
Intel Core i5-750
4 x 2,66 GHz
6 GB DDR3-RAM
2 x 1.000 GB SATA II

System
Debian Lenny (5 I think) & 64bit

is these details sufficient
 
Old 07-22-2011, 05:32 AM   #4
ifranklin
Member
 
Registered: May 2010
Location: New Jersey, USA
Distribution: Ubuntu
Posts: 66

Rep: Reputation: 4
open terminal and use the following command to install, but before installing run
Quote:
sudo apt-get update
then this
Quote:
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
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:
Quote:
sudo /etc/init.d/apache2 restart

Last edited by ifranklin; 07-22-2011 at 05:38 AM.
 
Old 07-22-2011, 05:51 AM   #5
dhil
LQ Newbie
 
Registered: Feb 2005
Location: Denmark
Posts: 8

Original Poster
Rep: Reputation: 0
When I do that I get this as the first msg :


Preconfiguring packages ...
Selecting previously deselected package linux-image-2.6.26-2-amd64.
(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 ...
 
Old 07-22-2011, 06:33 AM   #6
ifranklin
Member
 
Registered: May 2010
Location: New Jersey, USA
Distribution: Ubuntu
Posts: 66

Rep: Reputation: 4
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.

Last edited by ifranklin; 07-22-2011 at 06:34 AM.
 
Old 08-05-2011, 06:03 PM   #7
dhil
LQ Newbie
 
Registered: Feb 2005
Location: Denmark
Posts: 8

Original Poster
Rep: Reputation: 0
The issue has not been solved,

i have posted this in various forums to gain support . but in vain, i try to reupdate the posts ...

any suggestions for my issue ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing from apt-get fails often, apt-get update gives error, etc What should ido? mitchell7man Ubuntu 3 02-27-2012 02:55 AM
[SOLVED] HP laptop: "Non-System Disk Error or Disk Error" after BIOS update cgorac Linux - Laptop and Netbook 1 04-16-2010 03:34 PM
APT Requires Debian Disk carlosinfl Debian 9 05-06-2006 12:54 PM
using Apt to install from hard disk Nadim Debian 3 04-14-2005 07:30 AM
apt-get error installing xlibs 4.2.1-14, apt-get won't work at all now pib Debian 1 12-10-2003 11:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration