Debian :: Old Kernel Removing With Safety Including Packages And Image
Oct 22, 2015
I am new and recently almost one month back installed debian linux stable 8.2 came from windows. Today I upgrade my debian stable 8.2 to testing and everything works fine. Just one thing is that I checked kernel and find :
uname -r
4.2.0-1-amd64
dpkg --list | grep linux-image
ii linux-image-3.16.0-4-amd64 3.16.7-ckt11-1+deb8u5 amd64 Linux 3.16 for 64-bit PCs
ii linux-image-4.2.0-1-amd64 4.2.3-2 amd64 Linux 4.2 for 64-bit PCs
ii linux-image-amd64 4.2+68 amd64 Linux for 64-bit PCs (meta-package)
I am first time removing old kernel so cant take risk from searching the solution from google so come here, what and how to remove that includes everything like kernel image and other old kernel files not needed.
One more thing I just realised and saw on details in settings gnome that
Base : Debian GNU/Linux stretch/sid 64-bit
Is this right as it says sid in the line but i just changed my sources.list to testing only and then aptitude upgrade and full-upgrade then just.
View 3 Replies
ADVERTISEMENT
Sep 19, 2010
In trying to get something else working, I installed a newer version of the kernel from backports (I'm on 2.6.26 lenny and the backport kernel is 2.6.32). That failed, so I want to remove the backport kernel completely.
I tried:
Code:
and got:
Code:
Accept this solution? [Y/n/q/?]
I don't really understand how these metapackages work and I don't want to accidentally remove my currently-working kernel.
What's the correct way to remove all packages related to the backports kernel and leave the existing lenny ones alone?
View 4 Replies
View Related
Apr 24, 2011
Other than the linux kernel image I am using is it ok to remove the others I have and thus gain more disk space ? I only have a small asus 900 netbook.
View 4 Replies
View Related
Apr 23, 2010
I want to create a LiveDVD with lots of packages that do not exist in repos. Stuff that I built from source...
OpenFOAM with my own customized solvers and utilities, Tetgen, Netgen ,GMSH with OpenCascade support, BRL-CAD, Code-Aster, Salome Platform, Code Saturne, FreeMat, K3d...
Some of these apps have been compiled with Intel development toolbox, icc/ifort/mkl. Mainly scientific/Engineering stuff. How do I include all these packages in a custom Live Build...?
View 7 Replies
View Related
Apr 19, 2011
I have Ubuntu 10.10 installed on my laptop.Its a dual boot with XP, have been using ubuntu/xp for a while now..Till now i always used to remove older kernel images after ubuntu update, then update grub and do "sudo apt-get autoclean" never had any problem at all.i skipped the second step, i removed the old kernel image and did "Autoclean" on apt-get but forgot to update grub.
Now after i have reboot, when grub loads i can see only 2 "Memtest" lines in grub list and 1 "windows xp" line.the "Linux kernel generic" line is missing. I can boot in xp (have done just that to post this) but since there is no line in grub list to boot into Ubuntu, cant boot in Ubuntu.Is there any option, something i can do at "Grub" to boot into Ubuntu?
View 4 Replies
View Related
May 5, 2011
I have a fresh Debian install, since this install was on a desktop, I had an internet connection and didn't notice (it was late, I was half asleep) I opted to download a whole load of packages I didn't really need. I thought all was doomed until I remembered that I have done another Debian install but a week ago on a laptop, which has a nice clean install without all the bloat.
So I ran dpkg --get-selections > selections
and had it sent to my new desktop installation.
Now if I run dpkg --set-selections < selections followed by dselect-upgrade nothing happens. I assume this is because the smaller list contains all the packages 'to be installed' which already are, and all the missing packages are not being purged. Do I need to explicitly add all the packages I want to purge to the 'selection' list or is there a better way of doing it?
View 1 Replies
View Related
Jun 1, 2011
I have an issue with packages. When I try to install any package then I receive error like this one below.
e.g. install Lynx:
Code:
# apt-get -f install lynx
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libperl5.10: Depends: perl-base (= 5.10.0-19lenny3) but 5.10.0-19lenny2 is to be installed
libsnmp15: Depends: libsnmp-base (>= 5.4.1~dfsg-12) but it is not going to be installed
lynx: Depends: lynx-cur (>= 2.8.7dev9-2.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
So I decided to remove libperl5.10 which apparently mess. But its not that easy, just take a look:
Code:
# apt-get --purge remove libperl5.10
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libsnmp15: Depends: libsnmp-base (>= 5.4.1~dfsg-12) but it is not going to be installed
Depends: libperl5.10 (>= 5.10.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
...and now I don't know what to do ?
View 13 Replies
View Related
Dec 28, 2008
As a follow-on to something Telemachos said in another post:
Quote:
Originally Posted by Telemachos
You can see what kernels you have installed - to check if you have a virtual kernel and to clean up - by running this command:
Code:
If you've been installing kernel-headers along with the kernels (say to build modules for graphics or wireless), you should remove those when you remove the corresponding kernel. The command to search for those is parallel:
Code:
I would have thought that removing a given kernel package would trigger the removal of the older kernel headers. Can someone confirm that is, or is not, the behavior? I ask this because it seemed to me that the older kernel header packages were indeed removed when I removed some older kernel packages.
For example, the linux kernels I have installed are:
Code:
Also, the linux-headers packages I have installed are:
Code:
So, when I get around to removing the linux-image-2.6.25-2-amd64 package like this:
Code:
I would expect apt-get to automatically also remove linux-headers-2.6.25-2-amd64 and linux-headers-2.6.25-2-common. Is that what will happen, or do I need to explicitly state all three packages on the apt-get remove command?
View 3 Replies
View Related
Dec 30, 2010
Im using Ubuntu 10.4 LTS for quite some time now as my primary OS. Till this day i have done numerous upgrades to my system which were offered by Ubuntu community and some we personal needs/preference. I want to create an ISO file that would also have all the upgrades included in case something goes wrong with my computer hardware for instance hard drive failure. I dont want to start fresh from basic 10.4 LTS image and then by going through all the upgrades i have done so far, again.
View 7 Replies
View Related
Jun 12, 2011
I am an old Debian user, ho just reinstalled it again to see how it evolved since my las version (3.2). I am sharing it with Arch Linux, And decided to let bot of them. I am using GDM compiled and configured in Arch, and removed GDM2 from Debian (i just like the easy menu.list from the old GDM). The problem is that when i update the kernel, it didn't fing GDM and drops an error message. I tried removing the distro-preconfigured Kernels, as i compiled my own 3.0.0-rc2 Kerenel, but i cant delete the previous ones. Now everytime i do an install or uptgrade, apt-get drops wastes some time, and drops an error message:
[code]...
What can i do? i googled some similar errors, but where just messed up mirror.lists, or similar, i know it isnt the cause of fail.
View 2 Replies
View Related
May 22, 2011
i want to install package say PHP5 i have all the dependencies packages of php5 in a folder.or say i have all the packages in a folder and i want to install using dpkg
but when i try to install the main package it say these dependencies are missing.there are more than 40-50 packages so its not possible to install manully first one package and then another.eg:
Code:
bhupinder packages # dpkg -i apache2_2.2.17-1ubuntu1_i386.deb
(Reading database ... 140101 files and directories currently installed.)
Preparing to replace apache2 2.2.17-1ubuntu1 (using apache2_2.2.17-1ubuntu1_i386.deb) ...
Unpacking replacement apache2 ...
[Code]...
now i have to install rest of the package manually ...is there any solution so that i can install it with single command...???
View 1 Replies
View Related
May 22, 2011
i want to install package say PHP5 i have all the dependencies packages of php5 in a folder.or say i have all the packages in a folder and i want to install using dpkg
but when i try to install the main package it say these dependencies are missing.there are more than 40-50 packages so its not possible to install manully first one package and then another..
[Code]...
View 1 Replies
View Related
Aug 21, 2010
From the terminal I got this message: The following packages were automatically installed and are no longer required: libqt4-opengl freemat freemat-help libgfortran3 libsdl-ttf2.0-0 libmikmod2 libqt4-svg libblas3gf libamd2.2.0 libsdl-mixer1.2 libumfpack5.4.0 freemat-data libsmpeg0 Ok, what I really don't understand is that why is it that Freemat, my most important software, is listed as "no longer required"? Of course if I use sudo apt-get autoremove will remove all the mentioned packages including Freemat.
View 2 Replies
View Related
Apr 26, 2010
I have the Debian Testing CD1 (20100228). How can I find out the kernel version it will install?
View 4 Replies
View Related
Mar 11, 2016
I've a problem running jessie on a XEN supervisor; my running kernel and the installed kernel image differ, because the host system forces the kernel at boot time. Current loaded kernel is
Code:
Select all$ uname -r
3.18.12
But I'm not able to install this version from the standard repository.
Code:
Select all# apt-cache search linux-image
linux-headers-3.16.0-4-amd64 - Header-Dateien für Linux 3.16.0-4-amd64
linux-image-3.16.0-4-amd64 - Linux 3.16 für 64-Bit-PCs
linux-image-3.16.0-4-amd64-dbg - Debugging symbols for Linux 3.16.0-4-amd64
linux-image-amd64 - Linux for 64-bit PCs (meta-package)
linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package)
nvidia-kernel-3.16.0-4-amd64 - NVIDIA binary kernel module for Linux 3.16.0-4-amd64
linux-image-2.6.32-5-xen-amd64 - Linux 2.6.32 for 64-bit PCs, Xen dom0 support
Now I'm facing issues loading kernel modules for iptables, because the module path does not exist. Is there an easy way to install a proper kernel image from the standard repositories?
View 5 Replies
View Related
Jun 27, 2010
I'm building the 2.6.34 kernel and I notice some interesting options, which you may want to consider including in the build, if you are building it:
Code:
Code:
View 3 Replies
View Related
Jul 16, 2011
If I want to compile a kernel from source (from kernel.org), including all the drivers I need regardless of their origin, I would not need any firmware-*.deb packages, right? Do the firmware packages add anything that is not present in the latest kernel?
View 3 Replies
View Related
May 31, 2011
I know a bunch of commands and I am comfortable using the terminal, I even set a powerpc server but I can't figure out how to remove epiphany on this new computer I'm setting up. I didn't install anything with tasksel. I installed gnome and xorg afterwards... I load it up and 'startx' just fine. then I check around for the programs that were installed. I lik'em gimp, lot's of utilities. gedit. anyway I find epiphany, which I have already established that I dislike, I immediately go to the root terminal (another nice program that comes with gnome) and type apt-get remove epiphany-browser-data the output says it will be deleting gnome... however I have researched and found these are simpy meta packages that don't really matter.... however under the section that states all the packages that will be removed by autoremove there is a huge list... I doubt these packages are safe to remove. how to remove epiphany without removing a huge amount of probably needed software
View 14 Replies
View Related
Dec 21, 2010
Are the 1.3 Wine packages availible at [url] compatible with the Squeeze kernel? What about future updates to the packages there?
View 3 Replies
View Related
Feb 11, 2011
I was running 10.04 LTS and had decided to stick to the LTS versions as I'm now running my machine as a server and don't want to be updating regularly.Every time I logged in via SSH I got a message telling me there where packages to update including a security update. So I did a search to find out how to perform an update on Ubuntu server from the command line.What I found was to do this:sudo apt-get updatesudo apt-get dist-upgradeAfter doing that I rebooted but now my machine gives me this message:
init: ureadahead-other main process (794) terminated with status 4Your disk drives are being checked for errors, this may take some timePress C to cancel all checks currently inprogressI'm not pressing C yet and leaving it alone to finish, but I noticed when the machine booted that one of the options for booting talked about Ubuntu 10.10, so I'm worried that I've updated from 10.04 LTS to 10.10 by accident?
View 8 Replies
View Related
Aug 2, 2010
When removing packages via Synaptics it gives the option of Mark for removal Mark for complete removal If I mark it for complete removal does it mean it will never be available from Synaptics again or does it mean that the whole package will be deleted from my system and have to be downloaded again if I want to install it again. I am never sure which to pick
View 7 Replies
View Related
Apr 14, 2011
I need to remove a lot of rpm packages and I would like to save some time and make things easier, but I am unsure of how to do it. Currently I just copy/paste over and over. My plan was to put the output of the command below into a text file, and use that text file to remove all the packages.
rpm -qa |grep xxxxx > file.txt
My question is how do I get that file to work with "rpm -e". I tried to insert the file using the less than symbol but that didn't work:
rpm -e --nodeps < file.txt
View 4 Replies
View Related
Sep 14, 2010
I recently did upgrade from F12 to F13 using preupgrade, and I was following the guide from the Fedora project website [URL]
On the section Removing unsupported packages it shows how to find orphaned packages and sugest you remove them. I tried that, found a bunch of packages that I promptly erased. But then I
came across
ModemManager-0.4-5.git20100720.fc12.x86_64
I thought "well I don't use a Modem" so I tried to yum erase it. I stopped when I saw that it was trying
to also remove the dependencies, a bunch of NetworkManager packages.
My question is, why is ModemManager flagged as an orphan if it has packages depending on it, isn't that wrong?
And also, the recommendation on the guide to remove these packages can be dangerous to people who don't pay attention (imagine someone accidentally removing NetworkManager, no internet).
I will keep the "orphaned" package out of necessity, but something is wrong in this whole deal.
View 3 Replies
View Related
Jan 3, 2011
Are you using one of these ? : deb or rpm orphan ? Are they ok to remove old packages not used anymore , or have you got some others tools or intesresting tips for doing so
View 2 Replies
View Related
Sep 23, 2010
I'm getting some errors while trying to do an update:How can I know which are the apps that are causing this, and how should I remove/update these?This is my /etc/apt/sources.list
Code:
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner
deb http://linux.dropbox.com/ubuntu lucid main
deb-src http://linux.dropbox.com/ubuntu lucid main
[code]....
View 4 Replies
View Related
Jan 26, 2011
I want to remove Evolution and install Thunderbird. I have a general question. WRT any given package, how can I determine if that package is required by any other packages so that I wouldn't want to remove it?
View 9 Replies
View Related
May 21, 2011
Why is this going on? I use this machine to watch media like heck I would remove these files and break 50%+ of my functionality. There is a whole pile of "red" entries in this repo and it's all multimedia stuff mostly.
View 9 Replies
View Related
Jan 5, 2011
I'm using Ubuntu 10.04 and during my tries to free space I've removed several packages such as: openoffice, all editors, and some more packages such as players and printers drivers that I don't need and seem o.k to remove. However, after restart, the graphical interface doesn't load, I'm in the xserver, I have console but not gui. I was wondering if anyone can tell me which packages I should not remove or let me know of dependencies I need to consider when messing with packages?
View 1 Replies
View Related
Jun 17, 2011
OK as a recent Windows to Ubuntu convert I made a stupid mistake and now would now like to recover my OS, particularly my files.I had happily been running Ubuntu 10.10 but then used Synaptic to remove Python 2.6 (I was having trouble running Python 2.5 with both installed), I selected to remove Python and all it's dependencies (a bad move as I realise now, as it was quite a dependency list in the end!).
I was left with a semi functional desktop, some things worked but many things were broken / unavailable, neither Synaptic or even Terminal would work to situation.I tried rebooting in the forlorn hope that I would get some recovery options, but it would not boot, boot starts, gets to grub (top left flashing cursor), then that disappears and I am presented with a black screen and nothing then happens. If I then do a hard power down the screen very briefly shows some text (something like enter password) as it shuts down.
Subsequent boot ups just do the same thing. If I boot with an installation disk and move forward to the partition step the original partition is shown as in tact.So, my main question is, is there a way of recovering my OS without the use of low level disk recovery utils (which may be a bit painful and long winded). e.g. what happens if I install 'over the top' of my original installation, will my file system be in tact
View 1 Replies
View Related
Jan 22, 2010
I'm trying to run extract-ikconfig because I've mistakenly deleted an old kernel config that I'd like to recover. However, when running the script from the latest (2.6.32.5) tree I run into this error:
Quote:
ERROR: Unable to extract kernel configuration information.
This kernel image may not have the config info.
Coincidentally, this happens with all of my kernel images. Is it a fixable problem? I should really set CONFIG_IKCONFIG_PROC next time..
View 1 Replies
View Related