From owner-freebsd-questions@freebsd.org Thu Sep 16 15:28:57 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 9438A67C3D9 for ; Thu, 16 Sep 2021 15:28:57 +0000 (UTC) (envelope-from kilikmatej@gmail.com) Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) (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 4H9LbD313Cz3sk6 for ; Thu, 16 Sep 2021 15:28:56 +0000 (UTC) (envelope-from kilikmatej@gmail.com) Received: by mail-yb1-xb36.google.com with SMTP id a93so13766367ybi.1 for ; Thu, 16 Sep 2021 08:28:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=pCP8uqZTJ7lEGgRZXk9LH+4vII0soOxIT2VkenCkHng=; b=YF07WM6qe6evZPLSRDaKaSmU+krMbXnF2Lrn5CxlpAvumm3gGhRbxtCKPjk39T5ce/ ZOGLEoEvF6SbdqfgCJk0f7uWt0YUwfqFFr5VMwyPp/mw7NZ4GGGXWKWw3+AzgVoTqQmS MStfCwxjlCyS9km384L//VDCZ/f55lWRvBQavr0sT97D8Hu3yKxX1yqHliYBwBjBdd15 rXq55Vj4hPphSnBdDTTJKvclnoO3uzcrenaoAfl3qyQX5vUZQPEQTa5garyTABKrue+1 XJ3DXj1Pg8bDZ076IjogHylZ2JfrZgUqMC2pad3+UUt0bwbNiodSHZMQLNhY175ZT13Z eXBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=pCP8uqZTJ7lEGgRZXk9LH+4vII0soOxIT2VkenCkHng=; b=3wW7NZYGgbfPgB+9sGrbjJDwyhphrO2OB6zD7vbITMxMselfFJA48cy4jyWur8Ip9q aBI+2FWlXF+4RyYq672Fuz0BPTdJ0JlZB1cCbCGt8FC929EcUeMVKyreKUgSb+4TTqT5 fbukO2vVaX4G1NTsv2vyitmfujLBRZk1xJxm1nu2HvpzhlXoG3mmDzKEcmlp7CQ7PLdL cR93uDd3xTUKUcPLOVg3jRcBpMwp0gNWKaKbmcNq7NgzFi/kSI7OkeqPtPWbAJRuDqR/ U2sOTl/dDb07w6aF3fn4PzTrRHHXP1X2aEro6rZdG56j4JmkdCm2pb3b2sUPyBmUagxC zBZQ== X-Gm-Message-State: AOAM533USr7LLY6Lc1wS0fJ+izIgD/MkIbgTH5SKfTs2y9YY3R6IrEj+ D/7IYb29hbyoqY438vTZBDAyW+xsEFtZv1deFv5s3U1knHY/OQ== X-Google-Smtp-Source: ABdhPJw/Lg/knsKzXEbcrkbNKqltDADPf4QGimt5tqf/pDTksXccG2IuV1iX2f6bT/2pflAS+E82bMCb3eIvmppoVxU= X-Received: by 2002:a5b:cc7:: with SMTP id e7mr7797677ybr.152.1631806135621; Thu, 16 Sep 2021 08:28:55 -0700 (PDT) MIME-Version: 1.0 From: Matt K Date: Thu, 16 Sep 2021 17:28:43 +0200 Message-ID: Subject: POST-DEINSTALL script failed To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 4H9LbD313Cz3sk6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=YF07WM6q; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kilikmatej@gmail.com designates 2607:f8b0:4864:20::b36 as permitted sender) smtp.mailfrom=kilikmatej@gmail.com X-Spamd-Result: default: False [-2.14 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b36:from]; NEURAL_SPAM_SHORT(0.86)[0.864]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] 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: Thu, 16 Sep 2021 15:28:57 -0000 Hello, on my FreeBSD-13-RELEASE, I managed to encounter this problem with qt5-testlib, which keeps on reinstalling and uninstalling itself whenever I run pkg update && pkg upgrade && pkg autoremove. So, here is the output of pkg clean -a && pkg -d install -f qt5-testlib && pkg remove qt5-testlib ~> pls pkg clean -a The following package files will be deleted: /var/cache/pkg/qt5-testlib-5.15.2_1~8682ca4f00.pkg /var/cache/pkg/qt5-testlib-5.15.2_1.pkg The cleanup will free 160 KiB Proceed with cleaning the cache? [y/N]: Y Deleting files: 100% All done ~> pls pkg -d install -f qt5-testlib DBG(1)[99101]> pkg initialized Updating FreeBSD repository catalogue... DBG(1)[99101]> PkgRepo: verifying update for FreeBSD DBG(1)[99101]> Pkgrepo, begin update of '/var/db/pkg/repo-FreeBSD.sqlite' DBG(1)[99101]> Request to fetch pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest/meta.conf DBG(1)[99101]> opening libfetch fetcher DBG(1)[99101]> Fetch > libfetch: connecting DBG(1)[99101]> Fetch: fetching from: http://pkgmir.geo.freebsd.org/FreeBSD:13:amd64/latest/meta.conf with opts "i" DBG(1)[99101]> Request to fetch pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest/packagesite.pkg DBG(1)[99101]> opening libfetch fetcher DBG(1)[99101]> Fetch > libfetch: connecting DBG(1)[99101]> Fetch: fetching from: http://pkgmir.geo.freebsd.org/FreeBSD:13:amd64/latest/packagesite.pkg with opts "i" DBG(1)[99101]> Request to fetch pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest/packagesite.txz DBG(1)[99101]> opening libfetch fetcher DBG(1)[99101]> Fetch > libfetch: connecting DBG(1)[99101]> Fetch: fetching from: http://pkgmir.geo.freebsd.org/FreeBSD:13:amd64/latest/packagesite.txz with opts "i" FreeBSD repository is up to date. All repositories are up to date. DBG(1)[99101]> want to get an advisory lock on a database The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: qt5-testlib: 5.15.2_1 Number of packages to be installed: 1 160 KiB to be downloaded. Proceed with this action? [y/N]: Y DBG(1)[99101]> Request to fetch pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest/All/qt5-testlib-5.15.2_1.pkg DBG(1)[99101]> opening libfetch fetcher DBG(1)[99101]> Fetch > libfetch: connecting DBG(1)[99101]> Fetch: fetching from: http://pkgmir.geo.freebsd.org/FreeBSD:13:amd64/latest/All/qt5-testlib-5.15.2_1.pkg with opts "i" DBG(1)[99101]> Fetch: fetcher chosen: http[1/1] Fetching qt5-testlib-5.15.2_1.pkg: 100% 160 KiB 163.9kB/s 00:01 Checking integrity...DBG(1)[99101]> Binary> loading /var/cache/pkg/qt5-testlib-5.15.2_1~8682ca4f00.pkg DBG(1)[99101]> check integrity for 1 items added done (0 conflicting) DBG(1)[99101]> want to upgrade advisory to exclusive lock[1/1] Installing qt5-testlib-5.15.2_1...[1/1] Extracting qt5-testlib-5.15.2_1: 100% DBG(1)[99101]> release an exclusive lock on a database DBG(1)[99101]> release an advisory lock on a database ~> pkg info -l qt5-testlib qt5-testlib-5.15.2_1: /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/callgrind_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/cycle_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/linux_perf_event_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qabstracttestlogger_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qappletestlogger_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qbenchmark_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qbenchmarkevent_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qbenchmarkmeasurement_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qbenchmarkmetric_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qbenchmarkperfevents_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qbenchmarktimemeasurers_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qbenchmarkvalgrind_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qcsvbenchmarklogger_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qjunittestlogger_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qplaintestlogger_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qsignaldumper_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qtaptestlogger_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qteamcitylogger_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qtestblacklist_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qtestcoreelement_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qtestcorelist_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qtestelement_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qtestelementattribute_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qtesthelpers_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qtestjunitstreamer_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qtestlog_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qtestresult_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qtesttable_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qtestutil_macos_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qttestlib-config_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qxctestlogger_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/qxmltestlogger_p.h /usr/local/include/qt5/QtTest/5.15.2/QtTest/private/valgrind_p.h /usr/local/include/qt5/QtTest/QAbstractItemModelTester /usr/local/include/qt5/QtTest/QEventSizeOfChecker /usr/local/include/qt5/QtTest/QSignalSpy /usr/local/include/qt5/QtTest/QSpontaneKeyEvent /usr/local/include/qt5/QtTest/QTest /usr/local/include/qt5/QtTest/QTestAccessibility /usr/local/include/qt5/QtTest/QTestData /usr/local/include/qt5/QtTest/QTestDelayEvent /usr/local/include/qt5/QtTest/QTestEvent /usr/local/include/qt5/QtTest/QTestEventList /usr/local/include/qt5/QtTest/QTestEventLoop /usr/local/include/qt5/QtTest/QTestKeyClicksEvent /usr/local/include/qt5/QtTest/QTestKeyEvent /usr/local/include/qt5/QtTest/QTestMouseEvent /usr/local/include/qt5/QtTest/QtCoverageScanner /usr/local/include/qt5/QtTest/QtTest /usr/local/include/qt5/QtTest/QtTestDepends /usr/local/include/qt5/QtTest/QtTestGui /usr/local/include/qt5/QtTest/QtTestNetwork /usr/local/include/qt5/QtTest/QtTestVersion /usr/local/include/qt5/QtTest/QtTestWidgets /usr/local/include/qt5/QtTest/qabstractitemmodeltester.h /usr/local/include/qt5/QtTest/qbenchmark.h /usr/local/include/qt5/QtTest/qbenchmarkmetric.h /usr/local/include/qt5/QtTest/qsignalspy.h /usr/local/include/qt5/QtTest/qtest.h /usr/local/include/qt5/QtTest/qtest_global.h /usr/local/include/qt5/QtTest/qtest_gui.h /usr/local/include/qt5/QtTest/qtest_network.h /usr/local/include/qt5/QtTest/qtest_widgets.h /usr/local/include/qt5/QtTest/qtestaccessible.h /usr/local/include/qt5/QtTest/qtestassert.h /usr/local/include/qt5/QtTest/qtestcase.h /usr/local/include/qt5/QtTest/qtestdata.h /usr/local/include/qt5/QtTest/qtestevent.h /usr/local/include/qt5/QtTest/qtesteventloop.h /usr/local/include/qt5/QtTest/qtestkeyboard.h /usr/local/include/qt5/QtTest/qtestmouse.h /usr/local/include/qt5/QtTest/qtestspontaneevent.h /usr/local/include/qt5/QtTest/qtestsystem.h /usr/local/include/qt5/QtTest/qtesttouch.h /usr/local/include/qt5/QtTest/qttestglobal.h /usr/local/include/qt5/QtTest/qttestlib-config.h /usr/local/include/qt5/QtTest/qttestversion.h /usr/local/lib/cmake/Qt5Test/Qt5TestConfig.cmake /usr/local/lib/cmake/Qt5Test/Qt5TestConfigExtras.cmake /usr/local/lib/cmake/Qt5Test/Qt5TestConfigVersion.cmake /usr/local/lib/qt5/libQt5Test.prl /usr/local/lib/qt5/libQt5Test.so /usr/local/lib/qt5/libQt5Test.so.5 /usr/local/lib/qt5/libQt5Test.so.5.15 /usr/local/lib/qt5/libQt5Test.so.5.15.2 /usr/local/lib/qt5/mkspecs/modules/qt_lib_testlib.pri /usr/local/lib/qt5/mkspecs/modules/qt_lib_testlib_private.pri /usr/local/libdata/pkgconfig/Qt5Test.pc /usr/local/share/licenses/qt5-testlib-5.15.2_1/LGPL21 /usr/local/share/licenses/qt5-testlib-5.15.2_1/LICENSE /usr/local/share/licenses/qt5-testlib-5.15.2_1/catalog.mk ~> pls pkg remove qt5-testlib Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: qt5-testlib: 5.15.2_1 Number of packages to be removed: 1 Proceed with deinstalling packages? [y/N]: y[1/1] Deinstalling qt5-testlib-5.15.2_1...[1/1] Deleting files for qt5-testlib-5.15.2_1: 100% pkg: POST-DEINSTALL script failed ~> So, what should I try next? I don't care about this package, it got in as a dependency, but whenever I run pkg upgrade, it wants to get in again: Code: New packages to be INSTALLED: openldap24-client: 2.4.59_2 qt5-testlib: 5.15.2_ -- MK