Is there a way to upgrade linux_base only? I installed linux_base_fc4 and many linux packages on my FreeBSD 7.2 Release, but then I want to upgrade it into linux_base_fc6 or higher. Is there an easy way to do it without uninstalling the packages requiring that? Thanks!
linux_base_fc6 or higher requires kernel 2.6.16 emulation.
[cmd=]~#:echo "compat.linux.osrelease=2.6.16" >> /etc/sysctl.conf[/cmd]
After reboot uninstall linux_base-fc-4_14
[cmd=]~#kg_delete -vf /var/db/pkg/linux_base-fc-4_14[/cmd]
Go into the ports dir and build linux_base_fc6 or higher.
Note: You do not need X running to perform this task.
I'm not sure about the apps built with dependency on linux_base-fc-4_14.
On my system they work perfectly fine with this port. I only changed the level of kernel emulation.
As for updating the dependencies in /var/db/pkg/, simply use $ portmaster -o emulators/linux_base-fc6 emulators/linux_base-fc4. Substitute portmaster with portupgrade if you're using portupgrade. This will replace emulators/linux_base-fc4 with emulators/linux_base-fc6.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.