Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to understanding what happens when a package is installed. It makes me wonder when apt tools remove my packages.
# apt-get install inetutils-inetd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 1 to remove and 3 not upgraded.
Need to get 112kB of archives.
After this operation, 172kB disk space will be freed.
Do you want to continue [Y/n]? n
In what cases, "apt-get install pkg" or "aptitude install pkg" command will remove installed packages? If this existing package were removed, how my system runs fine when one of applications need this removed package? Thank you.
Last edited by since1992trying; 08-13-2010 at 02:01 PM.
Also, packages can occasionally have their names changed, be split into multiple separate packages, or separate packages can be merged into one. So apt sometimes needs to remove the package(s) with the old name(s) before it can install the new ones. This happens a lot with libraries with version numbers, for example, where libxyz23 gets updated to libxyz24.
So sometimes it takes a bit of deduction or research to determine exactly what's going on. One option is to use something like apt-file to list and compare the actual files that both the old package and new package install.
And sometimes two packages simply cannot coexist on the same machine, even if they don't replace each other. In that case, the package manager will ask you to either to abort installation or remove the conflicting package.