Bug 266630 - databases/mariadb106-server, databases/mytop: "pkg install mytop" uninstalls mariadb106-server
Summary: databases/mariadb106-server, databases/mytop: "pkg install mytop" uninstalls ...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Bernard Spil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-26 14:46 UTC by Till Klampaeckel
Modified: 2022-09-27 04:57 UTC (History)
2 users (show)

See Also:
grahamperrin: maintainer-feedback? (brnrd)


Attachments
typescript summary of installations on 13.1-RELEASE-p2 (4.05 KB, text/plain)
2022-09-27 04:37 UTC, Graham Perrin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Till Klampaeckel 2022-09-26 14:46:03 UTC
Installed mariadb106-server (via `pkg install mariadb106-server`) last night and it "suggested" to install "databases/mytop" as it was not (or no longer) included.

Went ahead and installed it (`pkg install mytop`) but the install procedure ended up removing mariadb106-server.

On top of that, it installed half a dozen things such as openldap-client and cyrus which I am not sure if that is really needed. Neither of these are direct dependencies of mytop in ports and I have to admit I didn't trace them either.

The requirements[1] list a few perl packages (off of cpan) and while I am sure it can somehow utilise all the other it seems way over the top for a basic install.

I guess the actual culprit for uninstalling mariadb106-server is p5-DBD-mysql[2], as it seems to require mysql57-client. IMHO, that's fine (I guess), but if that is the case, mytop shouldn't be mentioned in the post-install.

1: https://metacpan.org/release/JZAWODNY/mytop-0.9/view/mytop#REQUIREMENTS
2: https://www.freshports.org/databases/p5-DBD-mysql/
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2022-09-27 04:37:06 UTC
Created attachment 236858 [details]
typescript summary of installations on 13.1-RELEASE-p2

(In reply to Till Klampaeckel from comment #0)

Which version of FreeBSD, exactly? 

Packages from latest, or quarterly? 

Attached: quarterly on FreeBSD 13.1-RELEASE-p2, 

    pkg install databases/mytop 

– did not result in any removal.
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2022-09-27 04:57:29 UTC
(In reply to Graham Perrin from comment #1)

> Attached: …

Please ignore that. From within the file: 

> pkg install --quiet mariadb106-server

I assumed, wrongly, that it would quietly install. It did not.