pkgsrc-Users archive

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

Re: 2024Q2: 6277 packages to install on later "pkgin upgrade" run



PKGPATH is undefined in the shell.

In the conf file below, I commented out the prior repo entries and the
thousands of packages in need to install no longer show up.  Those prior
repos might've been there to include a package like sbcl that I
sometimes find missing in the latest repo. I was in the mistaken belief
that the first repo to contain the package would be use otherwise the
selection cascades down to the next line.



 -> /usr/pkg/etc/pkgin/repositories.conf



1 # NetBSD OS release can look like 6.0_STABLE, do not use it as-is
2 https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/$arch/10.0_2024Q2/All
3 #https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/$arch/10.0_2024Q1/All
4 #https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/$arch/10.0_2023Q4/All
5 #https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/$arch/10.0/All



Took this step in the hope the package index would fix itself and it did. 



1 # pkgin update 
2 cleaning database from https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0/All entries...
3 cleaning database from https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0_2023Q4/All entries...
4 cleaning database from https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0_2024Q1/All entries...
5 reading local summary...
6 processing local summary...
7 processing remote summary (https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0_2024Q2/All)...
8 pkg_summary.gz 



This now looks better without the huge package download.



 1 # pkgin upgrade
 2 pkgin upgrade
 3 calculating dependencies...done.
 4 
 5 54 packages to refresh:
 6   at-spi2-atk-2.38.0nb2 at-spi2-core-2.44.1 atk-2.38.0nb1 automake-1.16.5nb3
 7   bison-3.8.2nb1 clisp-2.49nb28 cmake-3.29.6 dbus-glib-0.112nb1
 8   desktop-file-utils-0.26nb4 docbook-xml-4.5 gdk-pixbuf2-2.42.10nb4
 9   glib2-tools-2.80.3 gperf-3.1 groff-1.22.4nb7
10   gsettings-desktop-schemas-40.0nb2 gts-0.7.6nb4 help2man-1.49.3
11   i3status-2.14nb5 intltool-0.51.0nb7 json-glib-1.6.2nb3 libsecret-0.20.4nb9
12   osabi-NetBSD-10.0 p11-kit-0.25.3 p5-CPAN-Meta-Requirements-2.143
13   p5-CPAN-Requirements-Dynamic-0.001 p5-Clone-0.46nb1 p5-Devel-CheckLib-1.16nb3
14   p5-Encode-Locale-1.05nb9 p5-ExtUtils-Config-0.009
15   p5-ExtUtils-InstallPaths-0.013 p5-File-Listing-6.16 p5-HTML-Parser-3.82
16   p5-HTML-Tagset-3.24 p5-HTTP-Cookies-6.11 p5-HTTP-Daemon-6.16nb1
17   p5-HTTP-Date-6.06 p5-HTTP-Message-6.46 p5-HTTP-Negotiate-6.01nb12
18   p5-IO-HTML-1.004nb3 p5-LWP-MediaTypes-6.04nb4 p5-Module-Build-Tiny-0.048
19   p5-Net-HTTP-6.23 p5-Try-Tiny-0.31nb1 p5-URI-5.28 p5-WWW-RobotRules-6.02nb12
20   p5-XML-Parser-2.47 p5-gettext-1.07nb8 p5-libwww-6.77nb1
21   py311-cryptodome-3.20.0 py311-olefile-0.47 py311-pspdfutils-3.3.2
22   rhash-1.4.4nb2 x11-links-1.35nb1 xpdfopen-0.86nb10
23 
24 55 packages to upgrade:
25   SDL2-2.30.4 cairo-1.18.0nb2 emacs29-29.4 enchant2-2.8.1 epdfview-0.1.8nb110
26   evince-45.0nb6 gcr-3.38.1nb13 ghostscript-9.05nb37
27   ghostscript-agpl-10.03.1nb1 git-2.45.2 git-contrib-2.45.2 git-docs-2.45.2
28   glib-networking-2.80.0nb2 glib2-2.80.3 gnutls-3.8.5nb3
29   gobject-introspection-1.80.1nb2 graphviz-10.0.1nb2 gst-plugins1-base-1.24.4
30   gst-plugins1-good-1.24.4 gstreamer1-1.24.4 gtk2+-2.24.33nb20 gtk3+-3.24.42nb1
31   harfbuzz-8.5.0 harfbuzz-icu-8.5.0nb1 i3-4.23nb4 lagrange-1.17.4nb2
32   libcroco-0.6.13nb10 libcups-2.4.9 libcurl-gnutls-8.8.0nb1 libhandy-1.8.0nb9
33   libnotify-0.8.1nb6 libpeas-1.26.0nb13 libproxy-0.5.6nb2 librsvg-2.40.21nb18
34   libsoup-2.74.3nb5 libxkbcommon-1.7.0nb2 lumina-pdf-1.6.0nb31 midori-9.0nb33
35   p5-ExtUtils-Helpers-0.026nb7 pango-1.52.2nb2 poppler-24.03.0nb1
36   poppler-qt5-24.03.0nb3 py311-Pillow-10.3.0 py311-cairo-1.26.0nb1
37   py311-gobject3-3.48.2 py311-pdf-4.2.0nb1 py311-puremagic-1.25
38   qt5-qtbase-5.15.14nb1 qt5-qtsvg-5.15.14nb1 sbcl-2.4.4 shared-mime-info-2.4nb1
39   wayland-1.23.0 wayland-protocols-1.35 web2c-2024nb1 webkit-gtk-2.36.8nb15
40 
41 0 to remove, 54 to refresh, 55 to upgrade, 0 to install
42 202M to download, 3658K of disk space will be freed up
43 
44 proceed ? [Y/n] n



Thanks for suggesting where to look to find the fix.



Jonathan Perkin <jperkin%mnx.io@localhost> writes:

> * On 2024-07-17 at 16:30 BST, Van Ly wrote:
>
>> 1 # pkgin se librsvg
>> 2 pkgin se librsvg
>> 3 librsvg-2.58.0nb1 <  SVG library for GNOME
>> 4 librsvg-2.56.3nb4 <  SVG library for GNOME
>> 5 librsvg-2.40.21nb18 < SVG library for GNOME (2.40.xx branch, C only)
>> 6 librsvg-2.40.21nb16 = SVG library for GNOME (2.40.xx branch, C only)
>
> I don't know what package repository you are using but this is very 
> wrong, the repository should only contain one version of each package 
> (identified by PKGPATH), not every version.
>
> What's likely happened is that pkg_summary has been generated manually 
> using "pkg_info -X" on a package directory that has not been cleaned out 
> in a long time.  Having obsolete packages lying around isn't necessarily 
> a bad thing, but this is the wrong way to generate pkg_summary.


-- 
vl


Home | Main Index | Thread Index | Old Index