Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2017 01:37:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220666] "pkg delete -a" stops halfway
Message-ID:  <bug-220666-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220666

            Bug ID: 220666
           Summary: "pkg delete -a" stops halfway
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: vas@mpeks.tomsk.su

"pkg delete -a" is supposed to delete all packages except itself. Instead, =
pkg
1.10.1 stops halfway, informs that it won't delete itself (which is correct)
and leaves a bunch of packages still installed (which is IMHO incorrect).

How to reproduce. You'd need many packages installed.

pkg install x11/gnome3 x11/xorg
pkg delete -a

Workaround:

pkg delete -af ; pkg install -y pkg

--=20
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-220666-8>