dennis-tra / pcp

📦 Command line peer-to-peer data transfer tool based on libp2p.
Apache License 2.0
1.07k stars 57 forks source link

[Fedora 33] Installation via .rpm written over during system upgrade #11

Open AmberCronin opened 3 years ago

AmberCronin commented 3 years ago

When upgrading the system using the command sudo dnf upgrade, the pcp package is written over by this package

Last metadata expiration check: 5:27:05 ago on Fri 12 Mar 2021 07:59:14 PM EST.
Available Packages
Name         : pcp
Version      : 5.2.5
Release      : 2.fc33
Architecture : x86_64
Size         : 1.3 M
Source       : pcp-5.2.5-2.fc33.src.rpm
Repository   : updates
Summary      : System-level performance monitoring and performance management
URL          : https://pcp.io
License      : GPLv2+ and LGPLv2+ and CC-BY
Description  : Performance Co-Pilot (PCP) provides a framework and services to
             : support system-level performance monitoring and performance
             : management.
             : 
             : The PCP open source release provides a unifying abstraction for
             : all of the interesting performance data in a system, and allows
             : client applications to easily retrieve and process any subset of
             : that data.

which renders this pcp no longer accessible or installed (not quite sure what happens to the package). Current workaround is to uninstall that pcp using sudo dnf remove pcp and then re-install this pcp with standard software installation from either command line of Gnome software.

Perhaps changing the distribution name of this package to something along the lines of pcp-filetransfer (?) would fix this issue, at least on Fedora.

dennis-tra commented 3 years ago

Hi @BenjaminCronin

I think you're right that the only option is to change the distribution name... since that pcp is around for ages :/ and apparently distributed by default with fedora (?).

I haven't heard of the Performance Co-Pilot (PCP) before, so thanks a lot for letting me know about the name clash.

AmberCronin commented 3 years ago

I've been thinking of different package names that might maintain the short length while not conflicting with other existing packages, which I'll try to list below.

peercp (my favorite that I've come up with) p2cp (p2pcp already exists, but doesn't appear to exist in the default fedora repos) ptocp (kind of unintelligible, in my opinion, but there are weirder package names) ptopcp filep2p cpp2p (looks like C++?) dccp (DeCentralized CoPy, acronym already exists as a communications protocol though) srvlcp (SeRVerLess CoPy)

One other thing I was thinking of is something along the lines of apt, where you have apt-get and apt-cache, and also the wrapper apt itself, having maybe pcp-send and pcp-receive as wrappers for longer names that won't interfere with other projects

protodrew commented 3 years ago

wanted to jump in and say this is also the case with apt.

upon running apt show pcp

Package: pcp
Version: 5.2.0-1
Priority: extra
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: PCP Development Team <pcp@groups.io>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11.9 MB
Provides: dstat, pcp-manager, pcp-webapi
Depends: libc6 (>= 2.29), libncurses6 (>= 6), libpcp-gui2, libpcp-import1, libpcp-mmv1, libpcp-pmda3, libpcp-trace2, libpcp-web1, libpcp3, libpfm4 (>= 4.9), libreadline8 (>= 6.0), libsystemd0, libtinfo6 (>= 6), libuv1 (>= 1.18.0), gawk, procps, libpcp-pmda-perl, python3-pcp, python3
Suggests: pcp-gui, libpcp-import-perl
Conflicts: dstat, pcp-manager, pcp-webapi, pgpool2
Replaces: dstat, pcp-manager, pcp-webapi
Homepage: https://pcp.io
Download-Size: 3,001 kB
APT-Manual-Installed: yes
APT-Sources: http://us.archive.ubuntu.com/ubuntu groovy/universe amd64 Packages
Description: System level performance monitoring and performance management
 Performance Co-Pilot (PCP) is a framework and services to
 support system-level performance monitoring and performance
 management.
 .
 The Performance Co-Pilot provides a unifying abstraction for
 all of the interesting performance data in a system, and allows
 client applications to easily retrieve and process any subset of
 that data.