Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

What is sources.list uri for linux-image?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
rain13
Posts: 3
Joined: 2017-06-19 19:15

What is sources.list uri for linux-image?

#1 Post by rain13 »

Hi.

I installed debian from network install cd but it said it couldnt find suitable kernel. How can I install kernel myself?

I learned that I should

Code: Select all

apt-get install linux-image linux-image-amd64
but it says linux-image has no installation candidate. What should I write in my sources.list file?

Anything else that I should install?

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: What is sources.list uri for linux-image?

#2 Post by kedaha »

Since, as you say, you've installed debian, then the default kernel must've been installed —otherwise it wouldn't work at all and you'd certainly be unable to execute apt—and you can check with the uname command (for more information, please see uname:

Code: Select all

$ uname --kernel-release
So the message about there being no installation candidate is irrelevant and there's no need to install any other kernel.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: What is sources.list uri for linux-image?

#3 Post by sunrat »

Pretty sure there is no package called "linux-image".
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: What is sources.list uri for linux-image?

#4 Post by GarryRicketson »

I don't think so either, where it says "linux-image" should be a specific kernal image
name, or header name,...there are many, so how would it know which image you want to install , if you do not specify ?
On Debian , How can I install kernel myself?

https://wiki.debian.org/KernelFAQ
===========
from:https://wiki.debian.org/HowToUpgradeKernel To install a kernel image, you first have to decide which one you want to use. Start with

Code: Select all

 apt-cache search linux-image
======= Note, this just scrapes the surface, the OP needs to read all of the available
documentation,...and also use a little logic.
For example here it says:

Code: Select all

 $ sudo apt-get install linux-image-flavour 
You do not just copy/paste the code as it is,... where it says "linux-image-flavour",
must be a specific image name, which you obtain by using the other search command,

Code: Select all

 apt-cache search linux-image 
Should give a list of linux-images, names, etc,... in the documentation there is also
more info, to help you decide which image you should use,...
Last edited by GarryRicketson on 2017-06-22 13:23, edited 1 time in total.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: What is sources.list uri for linux-image?

#5 Post by GarryRicketson »

Post by rain13 »What should I write in my sources.list file?
There seem to be 2 questions being asked in the original post.
ON Debian, What should I write in my sources.list file?

==============================
https://wiki.debian.org/SourcesList
Has some examples, again , some logic needs to be applied, in the examples they are using
Debian Jessie, if the OP is using Debian stretch, or other, then they need to use the
name of the release they are using, and not "jessie" as shown in the example.

rain13
Posts: 3
Joined: 2017-06-19 19:15

Re: What is sources.list uri for linux-image?

#6 Post by rain13 »

Thanks.

Unfortunately installing kernel made apt think it should remove everything else. So then I ended up having only cli kernel that booted up, allowed me to login and use limited set of commands.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: What is sources.list uri for linux-image?

#7 Post by pylkko »

rain13 wrote:Thanks.

Unfortunately installing kernel made apt think it should remove everything else. So then I ended up having only cli kernel that booted up, allowed me to login and use limited set of commands.
Can you show the exact command you used and the output. Did you install the meta-package? Did you use apt or apt-get?

Post Reply