Bug 246460 - emulators/linux_base-c7: Cannot install package: kernel missing 64-bit Linux support
Summary: emulators/linux_base-c7: Cannot install package: kernel missing 64-bit Linux ...
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-emulation (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-14 04:16 UTC by waitman
Modified: 2023-11-22 15:40 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description waitman 2020-05-14 04:16:17 UTC
# pkg upgrade
[32/338] Upgrading linux_base-c7 from 7.7.1908_1 to 7.8.2003_1...
Cannot install package: kernel missing 64-bit Linux support
pkg: PRE-INSTALL script failed
# uname -a
FreeBSD ayo 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-p3 GENERIC  amd64
# kldstat | grep linux
 5    2 0xffffffff83d54000    3df60 linux.ko
 6    3 0xffffffff83d92000     3178 linux_common.ko


I installed this with pkg. I'm not sure why I'm getting an error upgrading? How could I have installed it to begin with? Same kernel, it's not custom on this machine.
Comment 1 waitman 2020-05-14 04:20:02 UTC
this solved the problem.

# kldload linux64.ko
# pkg upgrade

Not sure what the solution is, but if someone runs across the same problem and finds this report it's an easy fix I guess.
Comment 2 Brian Roper 2023-08-10 10:39:15 UTC
Thanks for the solution.  +1
Comment 3 Jan Catrysse 2023-10-16 12:34:22 UTC
Thanks for the solution.  +1
Comment 4 Fernando Apesteguía freebsd_committer freebsd_triage 2023-10-16 12:48:31 UTC
Yes, you need the linux support loaded in order to upgrade the package. See emulators/linux_base-c7/pkg-plist.amd64

^Triage: closing