Date: Fri, 16 Jun 2017 06:22:46 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 220028] ports-mgmt/pkg: "pkg remove -a" doesn't remove package after "pk" in alphabetic order Message-ID: <bug-220028-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220028 Bug ID: 220028 Summary: ports-mgmt/pkg: "pkg remove -a" doesn't remove package after "pk" in alphabetic order Product: Base System Version: 11.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: stievenard.david@gmail.com pkg 1.10.1 FreeBSD 11.0-RELEASE-p1 ----------------------------------------------- the doc says ----------------------------------------------- pkg remove -a, --all Deletes all installed packages except for pkg(8) from the system and cleans the database of information related to removed packages. ----------------------------------------------- when I try ----------------------------------------------- root@test-server-1:~ # pkg remove -a Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 7 packages (of 0 packages in the universe): Installed packages to be REMOVED: pkg-1.10.1 png-1.6.29 renderproto-0.11.1 scrnsaverproto-1.2.2 tcl86-8.6.6_2 xextproto-7.3.0 xproto-7.0.31 Number of packages to be removed: 7 The operation will free 20 MiB. Proceed with deinstalling packages? [y/N]: y pkg: Cannot delete pkg itself without force flag ----------------------------------------------- my understanding ----------------------------------------------- it seems that pkg goes into the list of packages in alphabetic order to delete. When it reaches pkg itself, without the "-f" flag, it doesn't uninstall it and stops there in stead of carrying on in the list. best regards dasti -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220028-8>
