Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2018 17:03:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 226143] Problem with portmaster/pkg autoremove
Message-ID:  <bug-226143-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 226143
           Summary: Problem with portmaster/pkg autoremove
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: kpect@protonmail.com

Hello.
I have following portmaster config file which I use to install packages:

$ cat /usr/local/etc/portmaster.rc
NO_BACKUP=3DBopt
MAKE_PACKAGE=3Dgopt
ALWAYS_SCRUB_DISTFILES=3Ddopt
PM_VERBOSE=3Dvopt
PM_PACKAGES=3Dfirst
PM_PACKAGES_LOCAL=3Dpmp_local
PM_DEL_BUILD_ONLY=3Dpm_dbo
PM_NO_CONFIRM=3Dpm_no_confirm
PM_NO_TERM_TITLE=3Dpm_no_term_title
LOCAL_PACKAGEDIR=3D/var/cache/pkg

Package files are being built and installed normally, but when I want to re=
move
all dependencies not all of them are removed with 'pkg autoremove':

$ doas pkg delete libuv
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packag=
es
in the universe):

Installed packages to be REMOVED:
        libuv-1.19.1

Number of packages to be removed: 1

Proceed with deinstalling packages? [y/N]: n

$ doas pkg autoremove -y
Checking integrity... done (0 conflicting)
Nothing to do.

If I set automatic flag for a package manually then it's get removed:

$ doas pkg set -A 1 libuv
Mark libuv-1.19.1 as automatically installed? [y/N]: y

$ doas pkg autoremove -y
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages:

Installed packages to be REMOVED:
        libuv-1.19.1

Number of packages to be removed: 1
[1/1] Deinstalling libuv-1.19.1...
[1/1] Deleting files for libuv-1.19.1: 100%

--=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-226143-13>