Date: Tue, 30 Oct 2018 12:17:15 +1030 From: Shane Ambler <FreeBSD@ShaneWare.Biz> To: freebsd-questions@freebsd.org Subject: Re: pkg will not upgrade Message-ID: <9f8736d5-d446-0592-e019-b95041e12c37@ShaneWare.Biz> In-Reply-To: <86e4e49f3364d7e16f07185a8e34354a.squirrel@webmail.harte-lyne.ca> References: <86e4e49f3364d7e16f07185a8e34354a.squirrel@webmail.harte-lyne.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On 30/10/18 5:45 am, James B. Byrne via freebsd-questions wrote: > In a Freebsd-11.1p15 jail I am trying to upgrade the packages. However > > pkg upgrade > . . . > Installed packages to be REINSTALLED: > tree-1.7.0 (option added: DOCS) > lzop-1.04 (option added: DOCS) > > Number of packages to be upgraded: 27 > Number of packages to be reinstalled: 2 > > The process will require 2 MiB more space. > 2 MiB to be downloaded. > > Proceed with this action? [y/N]: y > [mx31.harte-lyne.ca] [1/3] Fetching clamav-0.100.2.txz: 100% 1 MiB > 1.2MB/s 00:01 > pkg: cached package clamav-0.100.2: size mismatch, fetching from remote > [mx31.harte-lyne.ca] [2/3] Fetching clamav-0.100.2.txz: 3% 48 KiB > 49.2kB/s 00:[mx31.harte-lyne.ca] [2/3] Fetching clamav-0.100.2.txz: > 100% 1 MiB 1.2MB/s 00:01 > pkg: cached package clamav-0.100.2: size mismatch, cannot continue > > I have already cleared the cache. What is going on? If I try to mx31.harte-lyne.ca would be your local pkg repo build machine? The size mismatch would indicate that either its pkg database is incorrect or it is still in the process of building the packages and hasn't got to update its database yet. > update pkg itself then I get a warning that the kernel required for > the update is higher than the one running the jail; so don't do that. > Your jail is running 11.1 and your pkgs are built for -- 11.2? or is in the process of rebuilding for 11.2. -- FreeBSD - the place to B...Software Developing Shane Ambler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9f8736d5-d446-0592-e019-b95041e12c37>