Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2015 09:21:40 -0400
From:      Michael Jung <mikej@mikej.com>
To:        freebsd-ports@freebsd.org
Subject:   pkg 1.5.1 wants to remove locked packages
Message-ID:  <2e3c80180e1fc608b29883e613b9bf49@mail.mikej.com>

next in thread | raw e-mail | index | archive | help
Maybe I'm missing something obvious, but pkg 1.5.1 wants to remove 
locked
packages. The packages are indeed really removed.

Thanks.

--mikej

"pkg lock is used to lock packages against reinstallation, modification 
or
      deletion."

FreeBSD charon.corp.pai.local 10.1-RC1-p2 FreeBSD

I do not have /usr/local/etc/pkg.conf file

root@charon /var/log]# pkg lock -l
Currently locked packages:
chromium-40.0.2214.115 <---------
firefox-esr-31.6.0,1
libreoffice-4.3.6      <---------

[root@charon /var/log]# pkg upgrade
Updating 0local repository catalogue...
0local repository is up-to-date.
All repositories are up-to-date.
Checking for upgrades (634 candidates): 100%
Processing candidates (634 candidates):   0%

chromium-40.0.2214.115 is locked and may not be modified
Processing candidates (634 candidates): 100%
The following 75 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
	libvisio01-0.1.1
	libmspub01-0.1.2
	libe-book-0.1.2
	libcdr01-0.1.1
	qt5-webkit-5.3.2_1
	libreoffice-4.3.6    <----------
	qt5-declarative-5.3.2
	stellarium-0.13.1
	chromium-40.0.2214.115 <--------
	qt5-designer-5.3.2
	qt5-assistant-5.3.2



[root@charon /usr/local/etc]# pkg -vv
Version                 : 1.5.1
PKG_DBDIR = "/var/db/pkg";
PKG_CACHEDIR = "/var/cache/pkg";
PORTSDIR = "/usr/ports";
INDEXDIR = "";
INDEXFILE = "INDEX-10";
HANDLE_RC_SCRIPTS = false;
DEFAULT_ALWAYS_YES = false;
ASSUME_ALWAYS_YES = false;
REPOS_DIR [
     "/etc/pkg/",
     "/usr/local/etc/pkg/repos/",
]
PLIST_KEYWORDS_DIR = "";
SYSLOG = true;
ABI = "FreeBSD:10:amd64";
ALTABI = "freebsd:10:x86:64";
DEVELOPER_MODE = false;
VULNXML_SITE = "http://vuxml.freebsd.org/freebsd/vuln.xml.bz2";
FETCH_RETRY = 3;
PKG_PLUGINS_DIR = "/usr/local/lib/pkg/";
PKG_ENABLE_PLUGINS = true;
PLUGINS [
]
DEBUG_SCRIPTS = false;
PLUGINS_CONF_DIR = "/usr/local/etc/pkg/";
PERMISSIVE = false;
REPO_AUTOUPDATE = true;
NAMESERVER = "";
EVENT_PIPE = "";
FETCH_TIMEOUT = 30;
UNSET_TIMESTAMP = false;
SSH_RESTRICT_DIR = "";
PKG_ENV {
}
PKG_SSH_ARGS = "";
DEBUG_LEVEL = 0;
ALIAS {
}
CUDF_SOLVER = "";
SAT_SOLVER = "";
RUN_SCRIPTS = true;
CASE_SENSITIVE_MATCH = false;
LOCK_WAIT = 1;
LOCK_RETRIES = 5;
SQLITE_PROFILE = false;
WORKERS_COUNT = 0;
READ_LOCK = false;
PLIST_ACCEPT_DIRECTORIES = false;
IP_VERSION = 0;
AUTOMERGE = true;
VERSION_SOURCE = "";
CONSERVATIVE_UPGRADE = true;
PKG_CREATE_VERBOSE = false;


Repositories:
   0local: {
     url             : "pkg+http://10.10.0.80/10stablepkg",
     enabled         : yes,
     priority        : 0,
     mirror_type     : "SRV"
   }
[root@charon /usr/local/etc]#







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2e3c80180e1fc608b29883e613b9bf49>