LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-08-2005, 08:22 AM   #1
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 198

Rep: Reputation: 30
Can't apt-get After Kernel Upgrade


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?
 
Old 10-09-2005, 01:47 AM   #2
Liakoni
Member
 
Registered: Aug 2003
Location: Greece
Distribution: Ubuntu Feisty PPC, Ubuntu Feisty x86
Posts: 49

Rep: Reputation: 15
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 .
 
Old 10-10-2005, 07:24 AM   #3
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 198

Original Poster
Rep: Reputation: 30
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.

Last edited by halfpower; 10-10-2005 at 07:26 AM.
 
Old 10-10-2005, 07:29 AM   #4
Liakoni
Member
 
Registered: Aug 2003
Location: Greece
Distribution: Ubuntu Feisty PPC, Ubuntu Feisty x86
Posts: 49

Rep: Reputation: 15
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.
Sorry, the command is apt-cdrom .
 
Old 10-10-2005, 10:17 AM   #5
powadha
Member
 
Registered: Nov 2003
Distribution: Debian SID
Posts: 649

Rep: Reputation: 31
If you insert the cd rom has it been mounted before you apt-get?
 
Old 10-10-2005, 11:26 AM   #6
Liakoni
Member
 
Registered: Aug 2003
Location: Greece
Distribution: Ubuntu Feisty PPC, Ubuntu Feisty x86
Posts: 49

Rep: Reputation: 15
Quote:
Originally posted by powadha
If you insert the cd rom has it been mounted before you apt-get?
I think it doesn't need to be mounted.
 
Old 10-13-2005, 07:30 AM   #7
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 198

Original Poster
Rep: Reputation: 30
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.
 
Old 10-13-2005, 07:56 AM   #8
Liakoni
Member
 
Registered: Aug 2003
Location: Greece
Distribution: Ubuntu Feisty PPC, Ubuntu Feisty x86
Posts: 49

Rep: Reputation: 15
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...
 
Old 10-13-2005, 11:38 AM   #9
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 198

Original Poster
Rep: Reputation: 30
When running the 2.6 kernel I see nothing that looks like it might be the cdrom. Here's my devices list:
Code:
computer:/home/halfpower# ls /dev
admmidi  net    ram9     tty    tty28  tty48  ttyS1   ttyS3   ttyS7
adsp     null   random   tty0   tty29  tty49  ttyS10  ttyS30  ttyS8
agpgart  port   sda      tty1   tty3   tty5   ttyS11  ttyS31  ttyS9
amidi    ppp    sda1     tty10  tty30  tty50  ttyS12  ttyS32  urandom
audio    psaux  sda2     tty11  tty31  tty51  ttyS13  ttyS33  vcs
console  ptmx   sda5     tty12  tty32  tty52  ttyS14  ttyS34  vcs1
core     pts    sdb      tty13  tty33  tty53  ttyS15  ttyS35  vcs2
dmmidi   ram0   sdb1     tty14  tty34  tty54  ttyS16  ttyS36  vcs3
dsp      ram1   sdb10    tty15  tty35  tty55  ttyS17  ttyS37  vcs4
fd       ram10  sdb2     tty16  tty36  tty56  ttyS18  ttyS38  vcs5
full     ram11  sdb3     tty17  tty37  tty57  ttyS19  ttyS39  vcs6
initctl  ram12  sdb5     tty18  tty38  tty58  ttyS2   ttyS4   vcs7
input    ram13  sdb6     tty19  tty39  tty59  ttyS20  ttyS40  vcsa
kmem     ram14  sdb7     tty2   tty4   tty6   ttyS21  ttyS41  vcsa1
kmsg     ram15  sdb8     tty20  tty40  tty60  ttyS22  ttyS42  vcsa2
log      ram2   sdb9     tty21  tty41  tty61  ttyS23  ttyS43  vcsa3
loop     ram3   shm      tty22  tty42  tty62  ttyS24  ttyS44  vcsa4
MAKEDEV  ram4   snd      tty23  tty43  tty63  ttyS25  ttyS45  vcsa5
mcelog   ram5   sndstat  tty24  tty44  tty7   ttyS26  ttyS46  vcsa6
mem      ram6   stderr   tty25  tty45  tty8   ttyS27  ttyS47  vcsa7
midi     ram7   stdin    tty26  tty46  tty9   ttyS28  ttyS5   xconsole
mixer    ram8   stdout   tty27  tty47  ttyS0  ttyS29  ttyS6   zero
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
apt-get question: dist-upgrade vs upgrade Arodef Fedora 9 06-15-2012 01:33 PM
Does Apt-get dist-upgrade automatically update the kernel? adamb10 Ubuntu 2 07-10-2005 10:57 AM
Kernel Panic 2.6.7, 4TH Release via apt-get upgrade Outabux Debian 1 08-12-2004 12:05 AM
Is it possible to upgrade kernel with apt-get? davidas Debian 16 04-14-2004 11:00 AM
What's the difference between apt-get upgrade and apt-get dist-upgrade? davidas Linux - Newbie 4 04-04-2004 08:19 PM


All times are GMT -5. The time now is 04:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration