LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   About deleting old kernels (https://www.linuxquestions.org/questions/fedora-35/about-deleting-old-kernels-4175432698/)

satimis 10-17-2012 09:38 AM

About deleting old kernels
 
Hi all

Fedora 17 64bit

$ yum info kernel
Code:

Loaded plugins: langpacks, presto, refresh-packagekit
eda1f9b2d7da63ef28865a5d3d3c9e FAILED Timeout on http://ftp.neowiz.com/fedora/releases/17/Everything/x86_64/os/repodata/eda1f9b2d7da63ef28865a5d3d3c9ec8de8f10f8c101f07fea4fb8835c94c514-primary.sqlite.bz2: (28, '')
http://ftp.neowiz.com/fedora/releases/17/Everything/x86_64/os/repodata/eda1f9b2d7da63ef28865a5d3d3c9ec8de8f10f8c101f07fea4fb8835c94c514-primary.sqlite.bz2: [Errno 12] Timeout on http://ftp.neowiz.com/fedora/releases/17/Everything/x86_64/os/repodata/eda1f9b2d7da63ef28865a5d3d3c9ec8de8f10f8c101f07fea4fb8835c94c514-primary.sqlite.bz2: (28, '')
Trying other mirror.
fedora/primary_db                                        |  14 MB    00:32   
adobe-linux-x86_64                                                          2/2
livna                                                                      8/8
Installed Packages
Name        : kernel
Arch        : x86_64
Version    : 3.3.4
Release    : 5.fc17
Size        : 113 M
Repo        : installed
From repo  : koji-override-0
Summary    : The Linux kernel
URL        : http://www.kernel.org/
License    : GPLv2
Description : The kernel package contains the Linux kernel (vmlinuz), the core
            : of any Linux operating system.  The kernel handles the basic
            : functions of the operating system: memory allocation, process
            : allocation, device input and output, etc.

Name        : kernel
Arch        : x86_64
Version    : 3.5.6
Release    : 1.fc17
Size        : 115 M
Repo        : installed
From repo  : updates
Summary    : The Linux kernel
URL        : http://www.kernel.org/
License    : GPLv2
Description : The kernel package contains the Linux kernel (vmlinuz), the core
            : of any Linux operating system.  The kernel handles the basic
            : functions of the operating system: memory allocation, process
            : allocation, device input and output, etc.

Name        : kernel
Arch        : x86_64
Version    : 3.6.1
Release    : 1.fc17
Size        : 116 M
Repo        : installed
From repo  : updates
Summary    : The Linux kernel
URL        : http://www.kernel.org/
License    : GPLv2
Description : The kernel package contains the Linux kernel (vmlinuz), the core
            : of any Linux operating system.  The kernel handles the basic
            : functions of the operating system: memory allocation, process
            : allocation, device input and output, etc.

To remove old kernels whether only to run;
$ sudo yum remove kernel-x86_64-3.3.4-5.fc17

and

$ sudo yum remove kernel-x86_64-3.5.6-1.fc17
???

Reboot ?


Do I need to edit any other files?

TIA

B.R.
satimis

acid_kewpie 10-17-2012 09:44 AM

the yum commands will do what you want, no need to reboot etc.

satimis 10-17-2012 10:01 AM

Quote:

Originally Posted by acid_kewpie (Post 4808193)
the yum commands will do what you want, no need to reboot etc.

thanks


All times are GMT -5. The time now is 09:42 PM.