understanding Debian package tools??
I am trying to understanding what happens when a package is installed. It makes me wonder when apt tools remove my packages.
Code:
# apt-get install inetutils-inetd |
You are installing a package which does the same thing as another. Only one can exist on a system at the same time.
Code:
$ apt-cache show xinetd |
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. |
Thank you
Dear AlucardZero, thanks for your help. Package tools remove other package if new packages can replace them.
Dear David the H., thanks for your help. Packages tools remove old package when the name of upgrading packages is changed. Isn't there any well written documents regarding how this process works? |
Quote:
Grokking Debian GNU/Linux : http://www.linuxquestions.org/questi...nu-linux-3073/ |
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.
|
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)
|
All times are GMT -5. The time now is 06:29 AM. |