From owner-freebsd-pkg@freebsd.org Wed Jun 14 06:36:47 2017 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB4B5D87295 for ; Wed, 14 Jun 2017 06:36:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D1BE17C18C for ; Wed, 14 Jun 2017 06:36:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CE00AD87294; Wed, 14 Jun 2017 06:36:47 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD96FD87293 for ; Wed, 14 Jun 2017 06:36:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B39947C18B for ; Wed, 14 Jun 2017 06:36:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5E6alw3041217 for ; Wed, 14 Jun 2017 06:36:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 219979] ports-mgmt/pkg: (pkg-1.10.1) pkg delete -a does not delete the packages after pkg Date: Wed, 14 Jun 2017 06:36:47 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 06:36:48 -0000 Mark Millard has reassigned Bugzilla Automation 's request for maintainer-feedback to pkg@FreeBSD.org: Bug 219979: ports-mgmt/pkg: (pkg-1.10.1) pkg delete -a does not delete the packages after pkg https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219979 --- Description --- man pkg-delete reports: -a, --all Deletes all installed packages except for pkg(8) from the system and cleans the database of information related to removed packages. But the fact is that it stops at pkg and does not delete the rest of the packages: # pkg delete -R -a Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 262 packages (of 0 pack= ages in the universe): Installed packages to be REMOVED: . . . Number of packages to be removed: 262 The operation will free 5 GiB. Proceed with deinstalling packages? [y/N]: y [1/262] Deinstalling lumina-1.2.0.p1_2,2... . . . [234/262] Deinstalling pixman-0.34.0... [234/262] Deleting files for pixman-0.34.0: 100% pkg: Cannot delete pkg itself without force flag # pkg info pkg-1.10.1 Package manager pkgconf-1.3.5,1 Utility to help to configure compiler and linker flags png-1.6.29 Library for manipulating PNG images portmaster-3.17.10 Manage your ports without external databases or languages powerpc64-binutils-2.28,1 GNU binutils for powerpc64 cross-development printproto-1.0.5 Print extension headers qemu-user-static-2.8.50.g20170307_2 QEMU CPU Emulator github bsd-user branc= h - static user targets qtchooser-39 Qt tool wrapper randomio-1.4 Multithreaded disk i/o microbenchmark randrproto-1.5.0 Randr extension headers recordproto-1.14.2 RECORD extension headers renderproto-0.11.1 RenderProto protocol headers rsync-3.1.2_6 Network file distribution/synchronization utility sqlite3-3.18.0 SQL database engine in a C library synth-1.69 Custom package repository builder for FreeBSD and DragonFly u-boot-pine64-2016.05_1 Cross-build U-Boot loader for Pine64 u-boot-rpi2-2015.04 Cross-build U-Boot loader for Raspberry Pi 2 u-boot-rpi3-2017.01 Cross-build U-Boot loader for RPi3 u-boot-sinovoip-bpi-m3-2016.05 Cross-build U-Boot loader for Sinovoip Banan= a Pi M3 unzip-6.0_7 List, test, and extract compressed files from a ZIP archive videoproto-2.3.3 Video extension headers xextproto-7.3.0 XExt extension headers xf86miscproto-0.9.3 XFree86-Misc extension headers xf86vidmodeproto-2.3.1 XFree86-VidModeExtension extension headers xineramaproto-1.2.1 Xinerama extension headers xmlcatmgr-2.2_2 SGML and XML catalog manager xproto-7.0.31 X11 protocol headers zip-3.0_1 Create/update ZIP files compatible with PKZIP