Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2018 13:29:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 227697] pkg update: Unable to update repository FreeBSD
Message-ID:  <bug-227697-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 227697
           Summary: pkg update: Unable to update repository FreeBSD
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: wosch@FreeBSD.org

I'm running FreeBSD-current on a small VM with 1GB RAM. I can build the wor=
ld,
but not the kernel anymore due out of memory (and slow swap).

I tried to upgrade the installed packages on the machine, and got a error
message that the running kernel is outdated:

# pkg update
Updating FreeBSD repository catalogue...
Fetching meta.txz: 100%    944 B   0.9kB/s    00:01=20=20=20=20
Fetching packagesite.txz: 100%    6 MiB 901.3kB/s    00:07=20=20=20=20
Processing entries:   0%
pkg: Newer FreeBSD version for package tdb:
- package: 1200062
- running kernel: 1200055
pkg: repository FreeBSD contains packages for wrong OS version:
FreeBSD:12:amd64
Processing entries: 100%
Unable to update repository FreeBSD
Error updating repositories!
# echo $?
70


If I run the command again, I get no error at all:

# pkg update
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
# echo $?
0


I expect that in case my kernel is outdated I always get an error from the =
pkg
tool until I update my kernel.

--=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-227697-227>