pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Pkgin or pkg_install bug resulting in broken pkgsrc installation



Hi!

I am in the process of upgrading my PineBook Pro, running 10_BETA, from the 2023Q2 to 2023Q3 binary package set with pkgin. However, somehow pkgin stops in the middle of the upgrade, leaving plenty of packages somehow uninstalled, with lots of warnings about missing dependencies.

Here is a bit of logs from the pkg_install-error.log (the bottommost entries):

---Oct 14 10:25:09: refreshing SDL_image-1.2.12nb10...
---Oct 14 10:25:09: refreshing SDL2_ttf-2.20.2nb1...
pkg_add: no pkg found for 'libxkbcommon>=1.5.0nb2', sorry.
pkg_add: Can't install dependency libxkbcommon>=1.5.0nb2
pkg_add: Expected dependency libxkbcommon>=1.5.0nb2 still missing
pkg_add: Can't install dependency SDL2>=2.26.5nb1
pkg_add: Expected dependency SDL2>=2.26.5nb1 still missing
pkg_add: 1 package addition failed
---Oct 14 10:25:10: upgrading SDL2-2.28.3...
pkg_add: no pkg found for 'libxkbcommon>=1.5.0nb2', sorry.
pkg_add: Can't install dependency libxkbcommon>=1.5.0nb2
pkg_add: Expected dependency libxkbcommon>=1.5.0nb2 still missing
pkg_add: 1 package addition failed
---Oct 14 10:25:11: refreshing SDL-1.2.15nb41...
---Oct 14 10:25:13: refreshing ORBit2-2.14.19nb6...
pkg_add: no pkg found for 'glib2>=2.76.4nb1', sorry.
pkg_add: Can't install dependency glib2>=2.76.4nb1
pkg_add: Expected dependency glib2>=2.76.4nb1 still missing
pkg_add: 1 package addition failed
---Oct 14 10:25:13: upgrading GConf-3.2.3nb17...
pkg_add: no pkg found for 'glib2>=2.76.4nb1', sorry.
pkg_add: Can't install dependency glib2>=2.76.4nb1
pkg_add: Expected dependency glib2>=2.76.4nb1 still missing
pkg_add: 1 package addition failed
---Oct 14 10:25:14: refreshing CUnit-2.1.3...
pkg_admin: Dependency ghostscript>=6.01 of tex-texlive-scripts-2023 unresolved
pkg_admin: Dependency consolekit>=1.2.4nb2 of pulseaudio-16.1nb4 unresolved
pkg_admin: Dependency consolekit>=1.2.4nb2 of xfce4-power-manager-4.18.2 unresolved
pkg_admin: Dependency cairo>=1.16.0nb9 of web2c-2023 unresolved
pkg_admin: Dependency cairo>=1.16.0nb9 of luatex-1.17.0 unresolved
pkg_admin: Dependency cairo>=1.16.0nb9 of py310-cairo-1.23.0nb1 unresolved
pkg_admin: Dependency glib-networking-[0-9]* of libsoup-2.74.3nb2 unresolved
pkg_admin: Dependency at-spi2-atk>=2.38.0 of gtk3+-3.24.38 unresolved
pkg_admin: Dependency cairo>=1.16.0nb9 of gtk3+-3.24.38 unresolved
pkg_admin: Dependency cairo-gobject>=1.16.0nb7 of gtk3+-3.24.38 unresolved
pkg_admin: Dependency GConf>=3.2.3nb16 of gvfs-1.6.7nb63 unresolved
pkg_admin: Dependency cairo-gobject>=1.16.0nb7 of py310-gobject3-3.44.1 unresolved
pkg_admin: Dependency cairo>=1.16.0nb9 of librsvg-2.56.0nb1 unresolved
pkg_admin: Dependency cairo-gobject>=1.16.0nb7 of librsvg-2.56.0nb1 unresolved
pkg_admin: Dependency cairo>=1.16.0nb9 of py27-cairo-1.18.2nb3 unresolved
pkg_admin: Dependency cairo>=1.16.0nb9 of poppler-23.05.0 unresolved
pkg_admin: Dependency ghostscript>=6.01 of xdvik-22.87.06nb2 unresolved
pkg_admin: Dependency ffmpeg5>=5.1.2nb4 of gst-plugins1-libav-1.22.3 unresolved
pkg_admin: Dependency cairo>=1.16.0nb9 of gtk2+-2.24.33nb10 unresolved
pkg_admin: Dependency dbus-glib>=0.112 of xfce4-conf-4.18.1 unresolved
pkg_admin: Dependency cairo>=1.16.0nb9 of pango-1.50.12nb1 unresolved
pkg_admin: Dependency cairo-gobject>=1.16.0nb7 of pango-1.50.12nb1 unresolved
pkg_admin: Dependency cairo>=1.16.0nb9 of p5-cairo-1.109nb2 unresolved
pkg_admin: Dependency desktop-file-utils>=0.10nb1 of xfce4-thunar-4.18.6 unresolved
pkg_admin: Dependency gd>=2.3.3nb9 of graphviz-8.0.5 unresolved
pkg_admin: Dependency amtk>=5.0.2nb5 of tepl4-4.4.0nb10 unresolved
pkg_admin: Dependency dbus-glib>=0.112 of upower-0.99.13nb1 unresolved
pkg_admin: Dependency ghostscript>=9.05nb31 of ImageMagick-7.1.1.11 unresolved
pkg_admin: Dependency cairo-gobject>=1.16.0nb7 of poppler-glib-23.05.0 unresolved
pkg_admin: Dependency enchant2>=2.3.2 of gspell-1.8.3nb14 unresolved
pkg_admin: Dependency dbus-glib>=0.112 of policykit-0.9nb34 unresolved
pkg_admin: Dependency ghostscript>=6.01 of gv-3.7.4nb12 unresolved
pkg_admin: Dependency dbus-glib>=0.112 of xfce4-terminal-1.0.4nb3 unresolved
pkg_admin: Dependency dbus-glib>=0.112 of xfce4-settings-4.18.2nb1 unresolved
pkg_admin: Dependency ffmpegthumbnailer>=2.2.0 of xfce4-tumbler-4.18.1nb1 unresolved
pkg_admin: Dependency dbus-glib>=0.112 of xfce4-tumbler-4.18.1nb1 unresolved
pkg_admin: Dependency dconf-[0-9]* of meld-3.22.0nb5 unresolved
pkg_admin: Dependency SDL2>=2.26.5nb1 of simh-4.0.0.20220501nb5 unresolved
pkg_admin: Dependency SDL2_ttf>=2.20.2nb1 of simh-4.0.0.20220501nb5 unresolved
pkg_admin: Dependency dbus-glib>=0.112 of hal-0.5.14nb30 unresolved
pkg_admin: Dependency cairo-gobject>=1.16.0nb7 of p5-cairo-gobject-1.005nb4 unresolved
pkg_admin: Dependency ghostscript-agpl>=10.0.0nb1 of libspectre-0.2.9nb2 unresolved
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gtk4-4.8.3nb2/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/yelp-tools-3.32.2nb8/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gst-plugins1-oss-1.22.3/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/p5-Glib-Object-Introspection-0.048nb7/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/xfce4-thunar-vcs-plugin-0.2.0nb19/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/ibus-1.5.28nb1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/libgweather-40.0nb14/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/revbump-3.3/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gst-plugins1-v4l2-1.22.3/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/libdazzle-3.38.0nb9/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/telepathy-glib-0.24.1nb29/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/asciidoc-10.2.0nb4/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/desktop-file-utils-0.26nb2/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/git-contrib-2.41.0/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/SDL2_ttf-2.20.2nb1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/glib-networking-2.74.0nb2/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/ghostscript-agpl-10.01.2/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/GConf-3.2.3nb16/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gnome-icon-theme-symbolic-3.12.0nb21/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gdk-pixbuf2-xlib-2.40.2nb2/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/git-2.41.0/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gedit-3.36.2nb15/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/colord-gtk-0.2.0nb4/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/git-perlscripts-2.41.0/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/geocode-glib-3.26.2nb7/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/cairo-gobject-1.16.0nb7/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/cairo-1.16.0nb9/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gegl-0.4.40nb9/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/brotli-1.0.9/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/cdparanoia-3.0.10.2nb4/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/at-spi2-core-2.40.3nb2/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/ffmpeg5-5.1.3nb3/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/cmake-3.26.4/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/go-goreturns-0.0.20180301nb50/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gnome-themes-standard-3.20.2nb22/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gnome-terminal-3.36.2nb6/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/golangci-lint-1.33.0nb28/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gnuplot-5.4.6nb8/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/goocanvas2-2.0.4nb7/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/eog-40.3nb7/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/boost-headers-1.82.0/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/babl-0.1.98nb2/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/ffmpegthumbnailer-2.2.2nb4/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/dbus-python-common-1.2.18nb1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gd-2.3.3nb10/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/brasero-3.12.2nb17/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/dillo-3.0.5nb12/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gimp-2.10.32nb13/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/dconf-0.40.0nb4/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/cbindgen-0.24.6/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/go-tools-0.8.0nb1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/go119-1.19.10/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/ghostscript-9.05nb31/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/geoclue-2.5.7nb8/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/go-staticcheck-2022.1nb13/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gdbus-codegen-2.74.6/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gexiv2-0.14.1nb1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/extra-cmake-modules-5.98.0/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/go120-1.20.5/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/doxygen-1.9.7nb2/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gh-2.30.0/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/boost-jam-1.82.0/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/caddy-2.6.4nb3/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/file-roller-3.38.0nb4/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/firefox-114.0.1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/evince-43.0nb5/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/ffmpeg6-6.0nb1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/amtk-5.0.2nb5/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gnome-doc-utils-0.20.10nb14/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/ORBit2-2.14.19nb6/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gmp-6.2.1nb3/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/git-cvs-2.41.0/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/git-docs-2.41.0/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gnome-desktop3-40.5nb4/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/boost-libs-1.82.0/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gettext-lib-0.21.1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gettext-0.21.1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/enchant2-2.5.0/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/exiv2-0.27.6/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/dbus-glib-0.112nb1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/fish-3.6.1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gettext-tools-0.21.1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/consolekit-1.2.4nb2/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/fltk-1.3.8nb2/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/clang-15.0.7nb1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/colord-1.3.5nb14/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/flac-1.4.2/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/git-base-2.41.0nb1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/graphene-1.10.8/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gettext-m4-0.21.1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/googletest-1.13.0/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gettext-asprintf-0.21.1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/SDL2-2.26.5nb1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/ffmpeg4-4.4.4nb1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gjs-1.68.4nb6/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/at-spi2-atk-2.38.0nb1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/go118-1.18.10/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/freetype2-2.13.0nb1/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/cogl-1.22.0nb14/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gnutls-3.8.0nb3/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/glib2-tools-2.74.6/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/gopls-0.12.2/+INSTALLED_INFO' for writing: No such file or directory
pkgin: var_set: can't open temp file for '/usr/pkg/pkgdb/dbus-1.14.6/+INSTALLED_INFO' for writing: No such file or directory

I am particularly baffled at the „can’t open temp file“ errors but maybe these are consequences of the earlier problems?

At this point, pkg_admin rebuild-tree complains about unfulfilled dependencies.

pkgin upgrade wants to install 84 packages but fails at the same point.

How do I get out of this situation?

— 
Benny


Home | Main Index | Thread Index | Old Index