El 30/10/2014 00:09, Baptiste Daroussin escribió:
On Wed, Oct 29, 2014 at 09:57:55PM +0100, Juan Ramón Molina Menor wrote:
The problem I have now is that when trying to install new packages, pkg insists 
on being downgraded. Locking it has not helped.

# pkg install vim-lite
Updating FreeBSD repository catalogue...
pkg: Repository FreeBSD has a wrong packagesite, need to re-create database
Fetching meta.txz: 100%   944 B   0.9k/s    00:01
Fetching packagesite.txz: 100%    5 MB 296.7k/s    00:18
Processing entries: 100%
FreeBSD repository update completed. 23724 packages processed
Updating FreeBSD_new_xorg repository catalogue...
pkg: Repository FreeBSD_new_xorg has a wrong packagesite, need to re-create data
base
Fetching meta.txz: 100%   944 B   0.9k/s    00:01
Fetching packagesite.txz: 100%  192 KB 196.3k/s    00:01
Processing entries: 100%
FreeBSD_new_xorg repository update completed. 799 packages processed
New version of pkg detected; it needs to be installed first.
Checking integrity... done (0 conflicting)
The following 1 packages will be affected (of 0 checked):

Installed packages to be DOWNGRADED:
          pkg: 1.4.0.a3 -> 1.3.8_3 [FreeBSD]

The operation will free 8 MB.



There is also that "wrong packagesite message".

What am I doing wrong?

# cat /etc/make.conf
WITH_NEW_XORG="YES"
WITH_GALLIUM="YES"
WITH_PKGNG="YES"
WITH_PKG=devel

What version of freebsd are you on I would bet 9.1 where the bootstrap was dumb
and may have created for you a bad /usr/local/etc/pkg.conf

No, I’m on 10.0-RELEASE:

# uname -a
FreeBSD Marianne.Juan.home 10.0-RELEASE-p10 FreeBSD 10.0-RELEASE-p10 #0:
Mon Oct 20 12:38:37 UTC 2014
[email protected]:/usr/obj/usr/src/sys/GENERIC i386

for the fact that pkg wants to be downgraded I ll track the bug.

Do you have net-snmp installed?

No.

# pkg info net-snmp
pkg: No package(s) matching net-snmp



Can you host somewhere your /var/db/pkg/local.sqlite so that I can study it to
discover what is causing that?

Because I can't reproduce.

regards,
Bapt

Sure:
http://www.eurovertice.eu/tmp/local.sqlite

Hope it helps,
Juan

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to