Packaging

在兩個不同的發行版中具有相同名稱但每個都引用不相關的上游項目的包的範例?

  • October 30, 2015

我正在考慮跨不同發行版組織開源包,可能出現的問題之一是不同的發行版決定為同一事物分配不同的包名稱,或者使用相同名稱的包來引用一個發行版中的一件事和另一個完全不同的東西。

後者有沒有實際的例子,還是只是理論上的可能性?我已經搜尋了一段時間,但沒有找到一個可以指向並說“在這裡,這種情況實際上已經發生”的實際範例。

docker

Ubuntu 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.

引用自:https://unix.stackexchange.com/questions/223378