tagattie/FreeBSD-VSCode

FreeBSD 11 - pkg update wants to remove vscode

Closed this issue · 3 comments

Hello, today, pkg upgrade wants to remove vscode package, details:

➤  sudo pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (118 candidates): 100%
Processing candidates (118 candidates): 100%
The following 27 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
	vscode-1.36.0.g20190608

Installed packages to be UPGRADED:
	youtube_dl: 2019.04.24 -> 2019.06.08
	xkeyboard-config: 2.24_1 -> 2.27
	utf8proc: 2.2.0 -> 2.4.0
	sessreg: 1.1.1 -> 1.1.2
	p5-Proc-ProcessTable: 0.56 -> 0.58
	openh264: 1.8.0,2 -> 2.0.0,2
	netpbm: 10.86.03 -> 10.86.04
	libxshmfence: 1.2_4 -> 1.3
	libxkbfile: 1.0.9_2 -> 1.1.0
	libxkbcommon: 0.8.0_1 -> 0.8.4
	libXxf86dga: 1.1.4_5 -> 1.1.5
	libXvMC: 1.0.10_2 -> 1.0.11
	libXrandr: 1.5.1_2 -> 1.5.2
	libXmu: 1.1.2_5,1 -> 1.1.3,1
	libXext: 1.3.3_3,1 -> 1.3.4,1
	libXdamage: 1.1.4_5 -> 1.1.5
	libXcursor: 1.1.15_2 -> 1.2.0
	libXcomposite: 0.4.4_5,1 -> 0.4.5,1
	libFS: 1.0.7_2 -> 1.0.8
	gstreamer-ffmpeg: 0.10.13_6 -> 0.10.13_7
	freerdp: 2.0.0.r4_2 -> 2.0.0.r4_3
	ffmpeg: 4.1.3_11,1 -> 4.1.3_12,1
	encodings: 1.0.4_4,1 -> 1.0.5,1
	chromium-gn: 75.0.3770.80 -> 75.0.3770.90_1
	chromium: 74.0.3729.169 -> 75.0.3770.90_1
	aom: 1.0.0.1935 -> 1.0.0.1940

Number of packages to be removed: 1
Number of packages to be upgraded: 26

The operation will free 202 MiB.
98 MiB to be downloaded.

Proceed with this action? [y/N]:

Do you have any idea why?

➤  freebsd-version -ku
11.2-RELEASE-p10
11.2-RELEASE-p10

I'm not sure why this happens but the recent version bump of openh264 port may be related (see #5).

Can you try to re-download the latest vscode package and re-install it after pkg upgrade?

Or you can use pkg lock command to protect vscode from being deleted.

Yup: upgrading openh264 would break it anyways, so I think pkg is doing his job right.

New packages are OK. Thanks!