Bug 245204 - ports-mgmt/pkg: pkg(8) install new package version before deinstall the old version causing many already-installed-files be removed, when automatic reinstalling packages during 'pkg upgrade'
Summary: ports-mgmt/pkg: pkg(8) install new package version before deinstall the old v...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-x11 mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-31 10:06 UTC by papadavecn
Modified: 2020-04-01 04:57 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (pkg)


Attachments
xorgproto becomes buggy (568.67 KB, image/png)
2020-03-31 10:06 UTC, papadavecn
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description papadavecn 2020-03-31 10:06:30 UTC
Created attachment 212889 [details]
xorgproto becomes buggy

I ran 'sudo pkg upgrade' . And one of the package was removed after upgrade called xorgproto.

pkg(8) version: 1.12.0_1

Mar 23 15:11:35 freebsd pkg[56962]: indexinfo reinstalled: 0.3.1 -> 0.3.1 
Mar 23 15:11:36 freebsd pkg[56962]: libyaml upgraded: 0.2.1 -> 0.2.2 
Mar 23 15:11:37 freebsd pkg[56962]: libedit upgraded: 3.1.20170329_2,1 -> 3.1.20
191211,1 
Mar 23 15:11:39 freebsd pkg[56962]: ruby24-gems-2.7.8 deinstalled
Mar 23 15:11:40 freebsd pkg[56962]: xorgproto-2019.2 installed
Mar 23 15:12:29 freebsd pkg[56962]: ruby upgraded: 2.4.5_1,1 -> 2.6.5,1 
Mar 23 15:12:30 freebsd pkg[56962]: xorgproto-2018.4 deinstalled
Mar 23 15:12:33 freebsd pkg[56962]: libxml2 upgraded: 2.9.7 -> 2.9.10 
Mar 23 15:12:33 freebsd pkg[56962]: libXdmcp upgraded: 1.1.2_2 -> 1.1.3 
Mar 23 15:12:33 freebsd pkg[56962]: libXau upgraded: 1.0.8_5 -> 1.0.9 
Mar 23 15:12:34 freebsd pkg[56962]: libsodium upgraded: 1.0.16 -> 1.0.18 
Mar 23 15:12:34 freebsd pkg[56962]: libpthread-stubs reinstalled: 0.4 -> 0.4 
Mar 23 15:12:37 freebsd pkg[56962]: readline upgraded: 7.0.3_1 -> 8.0.1
Comment 1 Niclas Zeising freebsd_committer 2020-03-31 10:42:24 UTC
This feels like a bug in pkg dependency resolver rather than xorgproto.
Comment 2 papadavecn 2020-03-31 10:52:30 UTC
Comment on attachment 212889 [details]
xorgproto becomes buggy

this picture was taken when I'm trying to resolve the issue by manually remove 'xorgproto' package
Comment 3 Niclas Zeising freebsd_committer 2020-03-31 11:07:37 UTC
(In reply to papadavecn from comment #2)
Easiest way to fix this is to run pkg install -f xorgproto .