我正在考虑跨不同发行版的开源包的组织,可能出现的问题之一是不同的发行版决定为同一事物分配不同的包名称,或者有一个具有相同名称的包来引用一个发行版中是一件事,而另一发行版中是完全不同的东西。
后者有没有任何实际例子,或者只是理论上的可能性?我搜索了一段时间,没有找到一个实际的例子,我可以指出并说“在这里,这种情况确实发生了”。
答案1
docker
乌班图15.04:
$ lsb_release -rd
Description: Ubuntu 15.04
Release: 15.04
$ apt-cache show docker
Package: docker
...
Description-en: System tray for KDE3/GNOME2 docklet applications
Docker is a docking application (WindowMaker dock app) which acts as a system
tray for any desktop environment, allowing you to have a system tray without
running the KDE/GNOME panel Docker was designed to work with Openbox 2, but it
should work fine in any window manager.
Description-md5: 032a37ba6228c22cbca1c0b960030eaa
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
费多拉 22:
$ cat /etc/os-release
NAME=Fedora
VERSION="22 (Twenty Two)"
$ dnf info docker
...
Available Packages
Name : docker
...
Description : Docker is an open-source engine that automates the deployment of any
: application as a lightweight, portable, self-sufficient container that will
: run virtually anywhere.
:
: Docker containers can encapsulate any payload, and will run consistently on
: and between virtually any server. The same container that a developer builds
: and tests on a laptop will run at scale, in production*, on VMs, bare-metal
: servers, OpenStack clusters, public instances, or combinations of the above.