Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-08-2006, 02:50 PM   #1
LQ Newbie
Registered: May 2006
Distribution: debian 2.6
Posts: 4

Rep: Reputation: 0
apt-get dist upgrade kernel image removed

Tonight when i did a apt-get dist-upgrade i got the following message:
# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be REMOVED:
initrd-tools kernel-image-2.6.8-2-386
The following packages will be upgraded:
libc6 libc6-dev
2 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0B/7461kB of archives.
After unpacking 41.9MB disk space will be freed.
Do you want to continue? [Y/n]

The statement about removing kernel image made me nervous. Or is this normal.

Thank you in advance
Old 06-09-2006, 01:33 AM   #2
David the H.
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,837

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
You have to be careful about dist-upgrade because it will remove things that conflict with what it tries to install, even if what it does breaks the system. It's main purpose is to change your system from one version to the next, after all, and it really only needs to be used at that time.

Sometimes dist-upgrade will remove an older version of a package, and install a newer one, such as when the package name gets changed slightly, in which case it can be safe to let it go ahead, but if it wants to remove something you want to keep, it's better to cancel it and use the regular upgrade instead, which is much safer because it won't install or uninstall anything, it will only upgrade the packages you already have installed.
Old 06-09-2006, 10:21 AM   #3
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,164

Rep: Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944
First you have to specify apt sources for what you want to upgrade to. There are stable, testing, and unstable. Currently, testing breaks stable with dist upgrade. You also have to run update to get a list of all the current packages. I find it incredibly hard to believe you are upgrading and debian only wants to change 4 packages. That seems ridiculous. Usually 600 or so packages would be upgraded.
Old 06-09-2006, 10:47 AM   #4
LQ Newbie
Registered: May 2006
Distribution: debian 2.6
Posts: 4

Original Poster
Rep: Reputation: 0
how would i fix it?


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 upgrade removed rpm help!! gfem Fedora 6 06-12-2006 10:36 AM
openoffice is removed at the time of dist-upgrade lavluda Debian 1 03-21-2006 02:32 AM
Is base-config package removed from your system with aptitude dist-upgrade? Akhran Debian 6 03-18-2006 07:52 PM
Does Apt-get dist-upgrade automatically update the kernel? adamb10 Ubuntu 2 07-10-2005 10:57 AM
What's the difference between apt-get upgrade and apt-get dist-upgrade? davidas Linux - Newbie 4 04-04-2004 08:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration