Summary: | ports-mgmt/pkg installs unneeded packages | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Miroslav Lachman <000.fbsd> |
Component: | Individual Port(s) | Assignee: | freebsd-pkg (Nobody) <pkg> |
Status: | Open --- | ||
Severity: | Affects Only Me | CC: | andreas, bdrewery, dereks, diizzy, grahamperrin, pat, uzsolt, ygy |
Priority: | --- | Keywords: | needs-qa |
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(pkg) koobs: merge-quarterly? |
Hardware: | Any | ||
OS: | Any | ||
See Also: | https://github.com/freebsd/pkg/issues/1015 |
Description
Miroslav Lachman
2017-06-16 15:35:57 UTC
This is likely an old issue with tracking shared library dependencies. https://github.com/freebsd/pkg/issues/1015 (In reply to Bryan Drewery from comment #1) A found referenced bug before I filed this PR because I thought it was already fixed and this is new one. Is this old issue? Is there something I can fix / workaround in local pkg database? It is really annoying to run pkg autoremove after each pkg install or pkg upgrade. It always want to install libarchive and some other libs. # pkg install pear-Net_DNS2 Updating codelab repository catalogue... codelab repository is up to date. All repositories are up to date. The following 3 package(s) will be affected (of 0 checked): New packages to be INSTALLED: pear-Net_DNS2: 1.4.3 libarchive: 3.3.1,1 lzo2: 2.10_1 Number of packages to be installed: 3 *** Bug 228389 has been marked as a duplicate of this bug. *** Still an issue? (In reply to daniel.engberg.lists from comment #5) I cannot say if it was the same issue or just a similar one but the last month I installed "some package" on bunch of our servers, it pulled "another package" as dependency and then "pkg autoremove" deleted this dependency. Unfortunately I don't remember the exact package names. If you want to close this issue then close it and I will reopen it if I see this again. Since I moved to using both FreeBSD 12amd64 latest repo and my own internal repo I'm seeing a lot of this with almost every pkg-install or pkg-upgrade. pkg is installing gcc9 (and deps) to only have pkg-autoremove remove them. My current test case is: 1) Use FreeBSD 12amd64 latest repo 2) Create a local repo via 'poudriere bulk -j 12amd64 lang/gcc9' 3) Configure pkg to use both repos 4) 'pkg install py27-sqlite3' This should try to install gcc9. |