firefox, CUPS, glib2 et al
[email protected] (Steve Blinkhorn) Fri, 15 Dec 2023 15:41:08 +0000 (UTC)
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.user,gmane.os.netbsd.ports.x86-64 |
|---|---|
| Organization | Psychometric Research & Development Ltd. |
| Message-ID | <[email protected]> |
Machine running NetBSD-9.2 amd64. Yesterdasy I installed CUPS binaries from ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/9.2/All I accessed the web interface through an already running version of firefox, which according to pkg_info is firefox-95.0.1nb1. Although it identified the network printer I want it to access as available via ipp, I have yet to get it to print anything. But note that it OVERWROTE /etc/printcap without saving the existing version. Eventually firefox crashed, as it often does, and now will not restart. It complains: XPCOMGlueLoad error for file /usr/pkg/lib/firefox/libmozgtk.so: /usr/pkg/lib/libgtk-3.so.0: Shared object "libgmodule-2.0.so.0" not found Couldn't load XPCOM. If I try to update firefox: pkg_add: Warning: package `firefox-117.0.1nb1' was built for a platform: pkg_add: NetBSD/x86_64 9.0 (pkg) vs. NetBSD/x86_64 9.2 (this host) pkg_add: /usr/pkg/pkgdb/glib2-2.70.2nb1/+CONTENTS: No such file or directory and # pkg_add -u -u glib2 pkg_add: Warning: package `glib2-2.76.5' was built for a platform: pkg_add: NetBSD/x86_64 9.0 (pkg) vs. NetBSD/x86_64 9.2 (this host) pkg_delete: No matching package for basename `glib2-2.70.2nb1' of `glib2-2.70.2nb1' pkg_add: command failed: /usr/sbin/pkg_delete -K /usr/pkg/pkgdb -p /usr/pkg glib2-2.70.2nb1 Do I infer correctly that installing CUPS has trashed glib2 without doing a proper pkg_delete, and so corrupted the package information data? How do I put this all right? I would like a browser that doesn't spew ou constant errors and warnings and crash frequently, and I want to control my printer's properties (duplex, tray switching etc.) from shell scripts. -- Steve Blinkhorn <[email protected]>