From owner-freebsd-questions@freebsd.org Tue Apr 6 10:11:19 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 358B75C8AC0 for ; Tue, 6 Apr 2021 10:11:19 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FF3Fx50Mbz3wDf for ; Tue, 6 Apr 2021 10:11:17 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: by mail-wr1-x433.google.com with SMTP id v11so13551476wro.7 for ; Tue, 06 Apr 2021 03:11:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eevPAjVOeZ4X++KEtTbXilO3y+c+UO72Pn7wjQL6Mog=; b=D6tNe3pWNq26Fx+7V2io6mKIYDbxlrRaYn2Ac1iy81dzmZbS0wmLfP4GxfcORHTrYy sZyk2zmifdUUC7kxvshb9ZVjzmJvk2TCftutjp0q8tmuY3AtKI/COK9U53o/5PT2edT7 iiVp078HQ+4WVaurb1Ipw5YFQuf8nVlQ2yTQ1YO163kU4hJiVM2H8o913ERzqsq6e6pG hIIglLFCYoPhzT02UE6qvaY4TMAJjA94OWKGCRX5xRF1KDjVw27EtKQD2XGIJlKDbvK+ JCkHLHIXcsr3cz1XHR6f2QptNzvWUVRRPLhSIvYLsy+4Wu0aeuKd7ID65dKUUODiSz7o aKPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eevPAjVOeZ4X++KEtTbXilO3y+c+UO72Pn7wjQL6Mog=; b=drpaUVdQ82yEvabu6vTK2K7MQYvjJ8f23LDqdP2O3nXIIGU7UzeI/gfcP9HdSqclYV 0EaCrvuDtDvpkyS+YoR6/ACTkwi5GVo4u50G4xNZeJTtOhEeZF09jwGurk6C40qi+P1N 3nzadmhiugWS6pN5mgMioTZ321FZdAZDDsdPhW6clPzS9Z2FB8C8yRorvXM/ScEkftK7 l8cUTvPBQbRoNegyZ0SRMVzMjrWBvLk2Po+xjZvM+5mYdeWBaGgChieCzjFLIoc6GJrM vg61rsbHTBbIEhk8PGwZici0dCjjOcLq9hBtoWRV+f4idybD/82wd9v00NV9yvm4SWxV Zlcg== X-Gm-Message-State: AOAM5309o1ihpAGWhPATdkBPv4I7zvbmn/UdLxC8QtjFAdtRgfXSm430 8lfqE30fkMfYllHPN7qkYFW3jbkbFBqrSQ3IccGfaEYuMJ0= X-Google-Smtp-Source: ABdhPJwRe0Gj9r96z1qeOCVY7ecsAHInjQ73ljbLUza+IauUk6tixdCHpP/UvxaWRQ+QURwIJ73OoO6SLJSKVr+CQSY= X-Received: by 2002:a5d:6dcc:: with SMTP id d12mr33097594wrz.136.1617703875348; Tue, 06 Apr 2021 03:11:15 -0700 (PDT) MIME-Version: 1.0 References: <2466.1617676311@segfault.tristatelogic.com> In-Reply-To: <2466.1617676311@segfault.tristatelogic.com> From: "parv/freebsd" Date: Tue, 6 Apr 2021 00:09:44 -1000 Message-ID: Subject: Re: Help needed: Upgrading packages broke my system To: "Ronald F. Guilmette" Cc: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 4FF3Fx50Mbz3wDf X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=D6tNe3pW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of parv0zero9@gmail.com designates 2a00:1450:4864:20::433 as permitted sender) smtp.mailfrom=parv0zero9@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::433:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[freebsd]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::433:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::433:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2021 10:11:19 -0000 On Mon, Apr 5, 2021 at 4:32 PM Ronald F. Guilmette wrote: > I have been seriously remiss in keeping my old 12.0-RELEASE system up > to date. I am trying to rectify that now. > Do you mean you will keep FreeBSD at 12.0-RELEASE and will update only the packages? Or, are you upgrading both FreeBSD & packages? What version [12.x, 13.0, or 14] of FreeBSD are you at now in any case? I have just tried to do "pkg upgrade" and after a bit of initial fooling > around (e.g. to remove packages which no longer exist) I managed to get > the process to make some progress, and indeed about 608 packages were > ostensibly upgraded, however now the Xorg server won't start, and I do > have reason to believe that this may relate to a number of errors that > were flagged during the various package upgrades, all of which looked > like this: > > ld-elf.so.1: /lib/libthr.so.3: version FBSD_1.6 required by > /usr/local/lib/libglib-2.0.so.0 not found > > There is an existing /lib/libthr.so.3 file on the system in question, > but it si quite obviously out of date, with mod date set to Dec 6, 2018. > That date matches for FreeBSD 12.0. Could it be that packages expect FreeBSD 12.2 version of "/lib/libthr.so.3"? (Would that be so different that linkage breaks between 12.0 & 12.2? But then ".3" had not been changed to a bigger number?) I have made an effort to find out what package this file belongs to as > follows: > > pkg info --file /lib/libthr.so.3 > That "/lib/libthr.so.3" is installed with FreeBSD system (unless you are now using packaged base, then I would be out of my depth). pkg info --file libthr.so.3 > In both cases I got back only the error: > > pkg: No package(s) matching <> > Then again does not look like it [that you are using packaged base]. So that file was not installed via any package; was|is installed when installed FreeBSD world. Please advise. How do I get this file updated so as to restore the > system in question to something resembling a useful state. > You could (force) reinstall the package that had added "/usr/local/lib/libglib-2.0.so.0" file; see "pkg which" usage in someone else's response to find that particular package. (In my case that package is glib 2.66.x) In worst case, you could delete & install all the packages. In worse case, you could delete a dependency that is shared by a large number of packages. Then install the dependent packages as required. In even badder worst case, you may need to update FreeBSD from 12.0 to 12.2 and reinstall the needed packages. While keeping FreeBSD at 12.0, you may need to install the software by compiling yourself from source via ports. - parv