- Для чего нужен пакет linux-image-extra и нужен ли он мне?
- 2 ответа
- Этот ответ устарел для современных выпусков Ubuntu
- Он содержит дополнительные драйверы, оставленные вне пакета базового ядра; устанавливайте его, только если вам нужны эти драйверы
- Для чего нужен пакет linux-image-extra и нужен ли он мне?
- Этот ответ устарел для современных выпусков Ubuntu
- Он содержит дополнительные драйверы, оставленные вне базового пакета ядра; установите его, только если вам нужны эти драйверы
- what are linux-image-extra and linux-image-generic? [duplicate]
- 1 Answer 1
- What is the linux-image-extra package for and do I need it?
- 2 Answers 2
- This answer is obsolete for modern Ubuntu releases
- It contains extra drivers left out of the base kernel package; install it only if you need these drivers
- Force removal of unwanted linux-image-extra* packages
Для чего нужен пакет linux-image-extra и нужен ли он мне?
Да, вы можете удалить нижний. Вы можете получить несколько записей для компьютера, когда вы авторизуете машину несколько раз. Поскольку машина будет хранить только самые последние маркеры, полученные с сервера, вы можете безопасно удалить другие, более старые.
2 ответа
Этот ответ устарел для современных выпусков Ubuntu
Без пакета extra большинство аппаратных средств не будет работать!
Он содержит дополнительные драйверы, оставленные вне пакета базового ядра; устанавливайте его, только если вам нужны эти драйверы
Иногда, конкретный вариант linux-образа уменьшается, удаляя менее распространенные модули ядра (драйверы). В этом случае пакет linux-image-extra просто содержит все «лишние» модули ядра, которые были опущены.
Официально, это происходит только для изображения -virtual ; Наиболее распространенные гипервизоры (Virtualbox, VMWare, Xen, KVM) эмулируют четко определенный и ограниченный набор оборудования, поэтому хорошей идеей является удаление ненужных драйверов, которые увеличивают размер ядра / initrd. Вы всегда можете получить их обратно, установив пакет дополнений.
Команда ядра также, кажется, приняла этот метод для некоторых ядер mainline-PPA -generic ; рассуждения и решения остаются прежними — если похоже, что в базовом образе ядра отсутствует нужный модуль, установите дополнения.
Насколько я знаю, вышеупомянутый подход не был принят для Квантовых ядер — затрагивается только -виртуал , как обычно.
Источник
Для чего нужен пакет linux-image-extra и нужен ли он мне?
Я иногда обновляю свое ядро с этого веб-сайта http://kernel.ubuntu.com/
Я всегда скачивал 3 deb-файла для установки заголовка linux all, образа linux и заголовков linux. Недавно я заметил еще один файл deb для 64-битного ядра, который называется Linux-image-extra.
Я хотел бы знать, что делает файл ядра Linux-image-extra и нужно ли мне его устанавливать?
Этот ответ устарел для современных выпусков Ubuntu
Без extra пакета большая часть оборудования не будет работать!
Он содержит дополнительные драйверы, оставленные вне базового пакета ядра; установите его, только если вам нужны эти драйверы
Иногда конкретный вариант linux-образа уменьшается, удаляя менее распространенные модули ядра (драйверы). В этом случае пакет linux-image-extra просто содержит все «лишние» модули ядра, которые были опущены.
Официально это происходит только для -virtual изображения ; наиболее распространенные гипервизоры (Virtualbox, VMWare, Xen, KVM) эмулируют четко определенный и ограниченный набор оборудования, поэтому хорошей идеей является удаление ненужных драйверов, которые увеличивают размер ядра / initrd. Вы всегда можете получить их обратно, установив пакет дополнений.
Команда ядра также, кажется, приняла этот метод для некоторых -generic ядер mainline-PPA ; рассуждения и решения остаются прежними — если похоже, что в базовом образе ядра отсутствует нужный модуль, установите дополнения.
Насколько я знаю, вышеупомянутый подход не был принят для Квантовых ядер — затрагивается только -виртуал, как обычно.
Источник
what are linux-image-extra and linux-image-generic? [duplicate]
Every time I use sudo apt-get upgrade , I get errors with the linux-image-extra and linux-image-generic .
I am new to Ubuntu so I would like to know if these «image» files are the same as in Windows?
What is the problem with my system if these image files can not be upgraded?
Output from df -h
Link to paste.ubuntu.com: error message.
1 Answer 1
Although you have to include more details into your question, I will try and guess what your problem is:
Your problem was caused by something different, but I leave this answer as it could eventually help others who might read this post.
I assume you run sudo apt-get upgrade and it tells you it did not install/upgrade the packages linux-image-extra and linux-image-generic .
First of all, those packages are representing the latest kernel available for your system (in easy words). By installing/upgrading them, you install a new kernel version which will be used after the next reboot.
As these kernel updates are major updates and usually need additional dependencies etc. to be taken care of, the normal apt-get upgrade cannot handle them. You need the advanced upgrade command sudo apt-get dist-upgrade to proceed. This should do the kernel update and the warning about not-upgraded packages should disappear.
In your case the error was caused by the lack of enough free space in your /boot partition, which is the place where new kernels get installed. Therefore your question was marked as duplicate of How do I free up more space in /boot?, because you will find detailed answers there on how to solve your problem.
Источник
What is the linux-image-extra package for and do I need it?
I occasionally update my kernel from this web site http://kernel.ubuntu.com/
I have been always downloading 3 deb files for installing linux header all, linux image and linux headers. I noticed one more deb file recently for 64 bit kernel called Linux-image-extra.
I would like to know what does kernel file Linux-image-extra do and should I also install it?
2 Answers 2
This answer is obsolete for modern Ubuntu releases
Without the extra package, most hardware won’t work!
It contains extra drivers left out of the base kernel package; install it only if you need these drivers
Sometimes, a specific variant of the linux-image is slimmed down by removing the less common kernel modules (drivers). In this case, the linux-image-extra package simply contains all of the «extra» kernel modules which were left out.
Officially, this only happens for the -virtual image; the most common hypervisors (Virtualbox, VMWare, Xen, KVM) emulate a well-defined and restricted set of hardware, so removing unnecessary drivers which increase the size of the kernel/initrd is a good idea. You can always get them back by installing the extras package.
The kernel team also appears to have adopted this method for some of the mainline-PPA -generic kernels; the reasoning and solution remain the same — if it looks like the base kernel image is missing a module you need, install extras.
As far as I know, the above approach has not been taken for the Quantal kernels — only -virtual is affected as usual.
Источник
Force removal of unwanted linux-image-extra* packages
To make a long story short, I am stuck with a handful of unwanted, half-configured image packages that I am trying to get rid of:
These images are in fact useless, because my 32-bit 14.04 system lives in an OpenVZ container, which is solely responsible for the kernel. As you can see, a much older one:
Thus, unlike most similar questions focusing on how to remove old kernel images after routine upgrades, what I am trying to do here is to COMPLETELY PURGE ALL THESE 3.13 PACKAGES, which should not be there in the first place.
Here’s a summary of my attempts so far.
Trying to remove/purge the packages the usual ways ( apt-get , apt , aptitude , it doesn’t matter) does not seem to work, due to an apparent vicious circle.
As you can see from the output, nothing gets actually removed. On the other hand, aptitude manages to get a little further:
At the end of this process, the *image-3.13* s are gone, together with matching files and folders normally found in /boot and in /lib/modules , but the image-extra s are still reported as half-installed (even though they appear to contain no files, as verified by dpkg -L . )
Furthermore, dependencies are now broken, as repeating the purge at this stage causes apt to complain about missing files/folders in /boot and in /lib/modules . I tried to place dummy files at the expected locations, as suggested here, but in the end I run into the original errors. The following, I believe, is the crucial excerpt:
Источник