DebianThis forum is for the discussion of Debian Linux.
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.
I upgraded my kernel from 2.4.x-x-386 to 2.6.8-11-amd64-k8. Now that I'm running in the 2.6 kernel, I've found that I am no longer able to use the apt-get command. Apparently the 2.6 kernel can not see the Debian 3.1 disk. When I attempt to use the apt-get command I get the following:
Code:
computer:/home/halfpower# apt-get install alsa-utils
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
alsa-base
Suggested packages:
apmd discover
The following NEW packages will be installed:
alsa-base alsa-utils
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/257kB of archives.
After unpacking 725kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Media Change: Please insert the disc labelled
'Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-1 (20050605)'
in the drive '/cdrom/' and press enter
When I put the Debian disk in and hit enter I am again with the following prompt:
Code:
Media Change: Please insert the disc labelled
'Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-1 (20050605)'
in the drive '/cdrom/' and press enter
Does anyone know how I can fix this problem with apt-get?
Distribution: Ubuntu Feisty PPC, Ubuntu Feisty x86
Posts: 49
Rep:
Re: Can't apt-get After Kernel Upgrade
Quote:
Originally posted by halfpower I upgraded my kernel from 2.4.x-x-386 to 2.6.8-11-amd64-k8. Now that I'm running in the 2.6 kernel, I've found that I am no longer able to use the apt-get command. Apparently the 2.6 kernel can not see the Debian 3.1 disk. When I attempt to use the apt-get command I get the following:
Code:
computer:/home/halfpower# apt-get install alsa-utils
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
alsa-base
Suggested packages:
apmd discover
The following NEW packages will be installed:
alsa-base alsa-utils
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/257kB of archives.
After unpacking 725kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Media Change: Please insert the disc labelled
'Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-1 (20050605)'
in the drive '/cdrom/' and press enter
When I put the Debian disk in and hit enter I am again with the following prompt:
Code:
Media Change: Please insert the disc labelled
'Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-1 (20050605)'
in the drive '/cdrom/' and press enter
Does anyone know how I can fix this problem with apt-get?
I think you have to do apt-get cdrom first.
Or you can go to /etc/apt/sources.list and manualy add your cdrom .
When I type "apt-get cdrom" I receive the message "E: Invalid operation cdrom." As for my '/etc/apt/sources.list' file, I would not think this would be a problem though, because it looks the same in both kernels.
Distribution: Ubuntu Feisty PPC, Ubuntu Feisty x86
Posts: 49
Rep:
Quote:
Originally posted by halfpower When I type "apt-get cdrom" I receive the message "E: Invalid operation cdrom." As for my '/etc/apt/sources.list' file, I would not think this would be a problem though, because it looks the same in both kernels.
For some reason I can't mount the cdrom in the 2.6 kernel. I am told that the device does not exist. Below is a print out of my terminal window showing this.
Code:
computer:/home/halfpower# mount -t iso9660 -r /dev/cdrom /cdrom
mount: special device /dev/cdrom does not exist
I imagine this has somthing to do with the problem.
Distribution: Ubuntu Feisty PPC, Ubuntu Feisty x86
Posts: 49
Rep:
Quote:
Originally posted by halfpower For some reason I can't mount the cdrom in the 2.6 kernel. I am told that the device does not exist. Below is a print out of my terminal window showing this.
Code:
computer:/home/halfpower# mount -t iso9660 -r /dev/cdrom /cdrom
mount: special device /dev/cdrom does not exist
I imagine this has somthing to do with the problem.
Maybe your cdrom is /dev/cdrom0 or /dev/cdrom1 or /dev/dvd .
Try to mount one of these...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.