Cannot install package kernel missing 64 bit linux support

Cannot install package: kernel missing Linux support

I’m trying to install Dwarf Fortress on my MacBook Air running FreeBSD 11.0 via pkg install linux-dwarffortress . Here is some background information:

root@machine0:~ # uname -a FreeBSD machine0 11.0-RELEASE-p10 FreeBSD 11.0-RELEASE-p10 #1 r319768: Sat Jun 10 07:03:28 CST 2017 root@machine0:/usr/obj/usr/src/sys/GENERIC amd64 
[1/28] Installing linux-c6-expat-2.0.1_5. Cannot install package: kernel missing Linux support pkg: PRE-INSTALL script failed 

I just updated my system today, following the instructions of the FreeBSD handbook. How do I fix this?

@RichardSmith Ahh I forgot I wasn’t using Linux! Thanks for pointing this out. My machine is rebuilding the kernel, and I’ll added that line after it finishes.

@SunQingyao Does this fix your problem? If so, you can close or delete your question. Or Richard Smith could leave an answer.

@RichardSmith Thanks, this works, though I’m still having an «Error opening xterm» problem, which should be dealt with in a new question. Would you consider making your comment an answer?

@FaheemMitha It does fix my problem, but I don’t understand why should I close or delete my question? Because it’s solved?

2 Answers 2

According to the dwarffortresswiki before installing the linux-dwarffortress , you should install the required package to solve the missing Linux support error:

FreeBSD

Although there is no official version ported to FreeBSD, Dwarf Fortress can nevertheless be run using either Wine or FreeBSD’s compatibility with Linux. However, attempting to run the Linux version out of the blue will result in an error about missing library files. Such files must be downloaded from special linux-compatible packages or ports; using your preferred installation method, install the following:

linux-c6 :

 sudo pkg install linux-c6-gtk2 linux-c6-sdl linux-c6-sdl_image linux-c6-sdl_ttf linux-c6-libGLU \ linux-c6-openal-soft linux-c6-libsndfile linux-c6-alsa-plugins-oss 

linux-f10

If you don’t have the linux-c6 ports available in your system, you can still run Dwarf Fortress (albeit without sound) using the following packages:

 sudo pkg install linux-f10-alsa-lib linux-f10-atk linux-f10-cairo linux-f10-expat linux-f10-fontconfig \ linux-f10-gtk2 linux-f10-jpeg linux-f10-pango linux-f10-png linux-f10-sdl linux-f10-sdl_image linux-f10-tiff \ linux-f10-xorg-libs linux-sdl_ttf linux_base-f10 linux_dri linux-f10-libGLU 

Источник

Читайте также:  File distributed by linux expressvpn and others

Solved what is this message actaully trying to tell me??

Thanks

Reactions: userxbw

userxbw

$ ls /usr/ports/emulators/linux_base-c7 Makefile pkg-descr pkg-plist.amd64 distinfo pkg-message pkg-plist.i386

I din’t think it’d even be in there pkg even, if a higher version is out.
well anyways thanks.
mod and .. it gave me something else to figure out.

$ sudo pkg delete linux_base-c6 No packages matched for pattern 'linux_base-c6' Checking integrity. done (0 conflicting) 1 packages requested for removal: 0 locked, 1 missing userx@FreeBSD.edy:~ $ sudo pkg install linux_base-c7 Updating FreeBSD repository catalogue. FreeBSD repository is up to date. All repositories are up to date. Checking integrity. done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: linux_base-c7: 7.7.1908 Number of packages to be installed: 1 The process will require 231 MiB more space. Proceed with this action? [y/N]: y [1/1] Installing linux_base-c7-7.7.1908. Cannot install package: kernel missing 64-bit Linux support pkg: PRE-INSTALL script failed
userx@FreeBSD.edy:~ $ sudo kldload linux64 userx@FreeBSD.edy:~ $ sudo pkg install linux_base-c7 Updating FreeBSD repository catalogue. FreeBSD repository is up to date. All repositories are up to date. Checking integrity. done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: linux_base-c7: 7.7.1908 Number of packages to be installed: 1 The process will require 231 MiB more space. Proceed with this action? [y/N]: y [1/1] Installing linux_base-c7-7.7.1908. [1/1] Extracting linux_base-c7-7.7.1908: 100% ELF binary type "0" not known. /bin/sh: /compat/linux/usr/bin/gio-querymodules-32: Exec format error ===== Message from linux_base-c7-7.7.1908: -- Some programs need linprocfs mounted on /compat/linux/proc. Add the following line to /etc/fstab: linprocfs /compat/linux/proc linprocfs rw 0 0 Then run "mount /compat/linux/proc". Some programs need linsysfs mounted on /compat/linux/sys. Add the following line to /etc/fstab: linsysfs /compat/linux/sys linsysfs rw 0 0 Then run "mount /compat/linux/sys". Some programs need tmpfs mounted on /compat/linux/dev/shm. Add the following line to /etc/fstab: tmpfs /compat/linux/dev/shm tmpfs rw,mode=1777 0 0 Then run "mount /compat/linux/dev/shm". userx@FreeBSD.edy:~

Источник

Continuous Reboot, unable to reach gnome login screen

Running startx as root user give same white screen error & output to terminal!

SirDice

Administrator

Run startx as that new user you just created. The profile corruption might be in root’s profile settings. Point of attention, never run this as root in the first place.

Читайте также:  Linux default password shell

Like

Reactions: Sevendogsbsd

rraj

pkg upgrade -f downloads the packages successfully. But after installing some packages it fails to install linux_base-c7, and quits without installing any further packages, the error output is:

 cannot install package: kernel missing 64-bit Linux Support pkg: PRE-INSTALL script failed

SirDice

Administrator

kldload linux64 and try again.

Keep in mind that a pkg upgrade -f will reinstall everything regardless if it’s an upgrade or not. Only use the -f option if you want to forcefully reinstall everything.

Thanks

Reactions: rraj

rraj

Run startx as that new user you just created. The profile corruption might be in root’s profile settings. Point of attention, never run this as root in the first place.

Running startx as new user gives same white screen error & output to terminal is attached as a photo

Attachments

ruthr

pkg upgrade -f downloads the packages successfully. But after installing some packages it fails to install linux_base-c7, and quits without installing any further packages, the error output is:

 cannot install package: kernel missing 64-bit Linux Support pkg: PRE-INSTALL script failed

ruthr

and pls check do u have these directory and files /usr/local/etc/xdg/autostart and inside something like this org.gnome.SettingsDaemon.xxxxxx.xxxxx

rraj

and pls check do u have these directory and files /usr/local/etc/xdg/autostart and inside something like this org.gnome.SettingsDaemon.xxxxxx.xxxxx

Both the package commands completed.

In the directory /usr/local/etc/xdg/autostart inside it are many files org.gnome.SettingsDaemon.xxxxxxx.xxxxxx

ruthr

rraj

startx as normal user reaches same white screen but output to console slightly changed (lesser warnings, no warning related to org.gnome.SettingsDaemon.xxxxx.xxxxx ). service dbus onestart says dbus already running & gives pid.

ruthr

ok .. service gdm onestop . then check status if it is stoped .. then try to run startx and pls provide us output from /var/log/gdm/:0-greater.log

ruthr

rraj

ok .. service gdm onestop . then check status if it is stoped .. then try to run startx and pls provide us output from /var/log/gdm/:0-greater.log

startx output with or without gdm stop is same.

ruthr

rraj

Attachments

ruthr

rraj

Attachments

ruthr

rraj

command fails for new user, so run as root, startx output changed, see attached photo.

Attachments

ruthr

Abraham79

command fails for new user, so run as root, startx output changed, see attached photo.

Oct 23 19:44:17 gdm[84475]: Failed to remove greeter program access to the display. Trying to proceed.

In my PC, there is a delay in loading gnome-session. About 30 seconds delay between GDM login and Gnome. It started IIRC, a day or 2 days back. I too created a test user to verify that, it’s not gnome/gtk config files that is creating the issue.

Читайте также:  Linux file last changed

Solved — GDM crashing after Gnome-3 packages upgraded to 3.36 version. I get a screen «Oh no! Something has gone wrong»

This is a clean installation of 12.1 RELEASE version. I updated pkg and latest Gnome-3 packages including gnome-shell were downloaded and installed. Some packages were re-installed, after pkg prompting to do so. But, the gdm screen ends with this white error message. What I did was, clearing.

Also, for Gnome DE, following lines are enough. In my system, hal, dbus lines are not added in /etc/rc.conf .

gdm_enable="YES" gnome_enable="YES"

Источник

How to resolve Upgrading linux base-c7 from 7.4 to 7.7 kernel missing 64-bit Linux support

Thanks

Reactions: usakhncit and redscience

redscience

kldload: an error occurred while loading the module. Please check dmesg(8) for more details
Id Refs Address Size Name 1 21 0xffffffff80200000 20647f8 kernel 2 1 0xffffffff82266000 16f0 accf_http.ko 3 1 0xffffffff82268000 998 accf_data.ko 4 1 0xffffffff82419000 1820 fdescfs.ko 5 1 0xffffffff8241b000 2328 ums.ko 6 1 0xffffffff8241e000 22af98 zfs.ko 7 1 0xffffffff82649000 7500 opensolaris.ko 8 1 0xffffffff82651000 2e4a8 pf.ko

SirDice

Administrator

Thanks

Reactions: redscience

redscience

SirDice

Administrator

Finish the upgrade first, you will need to run freebsd-update install at least three times in a row. First run only upgrades the kernel, second run upgrades the rest, third run cleans up old libraries. Then upgrade/reinstall your packages.

Thanks

Reactions: redscience

redscience

Finish the upgrade first, you will need to run freebsd-update install at least three times in a row. First run only upgrades the kernel, second run upgrades the rest, third run cleans up old libraries. Then upgrade/reinstall your packages.

redscience

Finish the upgrade first, you will need to run freebsd-update install at least three times in a row. First run only upgrades the kernel, second run upgrades the rest, third run cleans up old libraries. Then upgrade/reinstall your packages.

freebsd-update install
OUTPUT
Installing updates.
install: chown 0:0 ///proc: Operation not supported
install: chmod 555 ///proc: Operation not supported

to resolve this problem I used
# pkg-static install -f pkg
# pkg upgrade
But again error occurred
Of course, I repeated this command «freebsd-update install» several times before, but I dont get any result

Источник

Оцените статью
Adblock
detector