Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Sep 2016 11:26:49 +0200
From:      "Herbert J. Skuhra" <herbert@mailbox.org>
To:        freebsd-arm@freebsd.org
Subject:   Re: pkg issue on RPI2
Message-ID:  <86mvjp9vvq.wl-herbert@mailbox.org>
In-Reply-To: <20160902234822.1198183c93fcdd7c0edc0ce9@arroway.org>
References:  <20160902233702.ccca36483f49fd35e5ff60da@eternamente.info> <20160902234822.1198183c93fcdd7c0edc0ce9@arroway.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Nenhum de Nos skrev:
> 
> On Fri, 2 Sep 2016 23:37:02 -0300
> Nenhum_de_Nos <matheus@eternamente.info> wrote:
> 
>> hail,
>> 
>> I am trying to install vnstat package on new 11.0-RC2 image:
>> 
>> FreeBSD bee 11.0-RC2 FreeBSD 11.0-RC2 #0 r304923: Sun Aug 28 02:47:43 BRT 2016
>> 
>> But I get pkg issues:
>> 
>> # pkg install vnstat
>> Updating FreeBSD repository catalogue...
>> FreeBSD repository is up-to-date.
>> All repositories are up-to-date.
>> Checking integrity... done (1 conflicting)
>> Cannot solve problem using SAT solver, trying another plan
>> Checking integrity... done (0 conflicting)
>> The most recent version of packages are already installed
>> 
>> tried pkg check -Ba, but yet I get it.
>> 
>> # pkg upgrade
>> Updating FreeBSD repository catalogue...
>> FreeBSD repository is up-to-date.
>> All repositories are up-to-date.
>> Checking for upgrades (1 candidates): 100%
>> Processing candidates (1 candidates): 100%
>> Checking integrity... done (0 conflicting)
>> Your packages are up to date.
>> 
>> 
>> also won't help to upgrade it all.
>> 
>> anyone else uses pkg to install packages on RPI2 ?
>> 
>> thanks,
>> 
>> matheus
> 
> Just info, I removed all packages:
> 
> # pkg delete -a --force
> Checking integrity... done (0 conflicting)
> Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):
> 
> Installed packages to be REMOVED:
>         pkg-1.8.5_1
> 
> The operation will free 9 MiB.
> 
> Proceed with deinstalling packages? [y/N]: y
> [1/1] Deinstalling pkg-1.8.5_1...
> [1/1] Deleting files for pkg-1.8.5_1: 100%
> root@bee:/usr/local/etc/nginx # pkg
> The package management tool is not yet installed on your system.
> Do you want to fetch and install it now? [y/N]: y
> Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:11:armv6/quarterly, please wait...
> Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
> Installing pkg-1.8.5_1...
> Extracting pkg-1.8.5_1: 100%
> pkg: not enough arguments
> Usage: pkg [-v] [-d] [-l] [-N] [-j <jail name or id>|-c <chroot path>|-r <rootdir>] [-C <configuration file>] [-R <repo config dir>] [-o var=value] [-4|-6] <command> [<args>]
> 
> For more information on available commands and options see 'pkg help'.
> root@bee:/usr/local/etc/nginx # pkg install vnstat
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up-to-date.
> All repositories are up-to-date.
> Updating database digests format: 100%
> Checking integrity... done (1 conflicting)
> Cannot solve problem using SAT solver, trying another plan
> Checking integrity... done (0 conflicting)
> The most recent version of packages are already installed
> 
> Do I have to compile it?

It works for me:

# pkg install vnstat
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Updating database digests format: 100%
The following 8 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        vnstat: 1.14
        libgd: 2.1.0_7,1
        fontconfig: 2.11.1_2,1
        freetype2: 2.6.3
        png: 1.6.21
        tiff: 4.0.6_1
        jbigkit: 2.1_1
        jpeg-turbo: 1.4.2

Number of packages to be installed: 8

The process will require 9 MiB more space.
2 MiB to be downloaded.

Proceed with this action? [y/N]: y
Fetching vnstat-1.14.txz: 100%   91 KiB  93.5kB/s    00:01    
Fetching libgd-2.1.0_7,1.txz: 100%  165 KiB 168.8kB/s    00:01    
Fetching fontconfig-2.11.1_2,1.txz: 100%  322 KiB 330.1kB/s    00:01    
Fetching freetype2-2.6.3.txz: 100%  427 KiB 437.7kB/s    00:01    
Fetching png-1.6.21.txz: 100%  244 KiB 249.4kB/s    00:01    
Fetching tiff-4.0.6_1.txz: 100%  771 KiB 789.6kB/s    00:01    
Fetching jbigkit-2.1_1.txz: 100%   62 KiB  63.5kB/s    00:01    
Fetching jpeg-turbo-1.4.2.txz: 100%  241 KiB 246.6kB/s    00:01    
Checking integrity... done (0 conflicting)
[1/8] Installing freetype2-2.6.3...
[1/8] Extracting freetype2-2.6.3: 100%
[2/8] Installing jbigkit-2.1_1...
[2/8] Extracting jbigkit-2.1_1: 100%
[3/8] Installing jpeg-turbo-1.4.2...
[3/8] Extracting jpeg-turbo-1.4.2: 100%
[4/8] Installing fontconfig-2.11.1_2,1...
[4/8] Extracting fontconfig-2.11.1_2,1: 100%
Running fc-cache to build fontconfig cache...
/usr/local/share/fonts: skipping, no such directory
/usr/local/lib/X11/fonts: skipping, no such directory
/root/.local/share/fonts: skipping, no such directory
/root/.fonts: skipping, no such directory
/var/db/fontconfig: cleaning cache directory
/root/.cache/fontconfig: not cleaning non-existent cache directory
/root/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded
[5/8] Installing png-1.6.21...
[5/8] Extracting png-1.6.21: 100%
[6/8] Installing tiff-4.0.6_1...
[6/8] Extracting tiff-4.0.6_1: 100%
[7/8] Installing libgd-2.1.0_7,1...
[7/8] Extracting libgd-2.1.0_7,1: 100%
[8/8] Installing vnstat-1.14...
===> Creating groups.
Creating group 'vnstat' with gid '284'.
===> Creating users
Creating user 'vnstat' with uid '284'.
[8/8] Extracting vnstat-1.14: 100%
Message from vnstat-1.14:

I am running stable/11 (r304773) and pkg-1.8.7_1 on my RPI2s.
PKG URL is pkg+http://pkg.FreeBSD.org/${ABI}/latest.

The latest packages are outdated so I generally use ports!

fontconfig-2.11.1_2,1              <   needs updating (index has 2.12.1,1)
libgd-2.1.0_7,1                    <   needs updating (index has 2.2.3,1)
png-1.6.21                         <   needs updating (index has 1.6.23)
tiff-4.0.6_1                       <   needs updating (index has 4.0.6_2)
vnstat-1.14                        <   needs updating (index has 1.14_1)

--
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86mvjp9vvq.wl-herbert>