more problems after last upgrade(s) pkg

Alex Keda admin at lissyara.su
Fri Aug 1 13:27:11 UTC 2014


first:

srv7# pkg -v
1.3.3
srv7# uname -a
FreeBSD srv7.host-food.ru 9.2-RELEASE-p8 FreeBSD 9.2-RELEASE-p8 #0: Mon
Jun  9 20:12:11 MSK 2014
toor at srv7.host-food.ru:/usr/obj/usr/src/sys/HOST-FOOD  amd64
srv7#


srv7# pkg install -fy ap22-mod_geoip2
Updating repository catalogue
HostFood repository is up-to-date
All repositories are up-to-date
The following 1 packages will be affected (of 756 checked):

Installed packages to be REINSTALLED:
        ap22-mod_geoip2-1.2.9 (forced reinstall)

Fetching ap22-mod_geoip2-1.2.9.txz: 100% of 18
kB
                                                          pkg: cached
package ap22-mod_geoip2-1.2.9: size mismatch, fetching from
remote
Fetching ap22-mod_geoip2-1.2.9.txz: 100% of 18
kB
                                                          pkg: cached
package ap22-mod_geoip2-1.2.9: size mismatch, cannot continue
srv7#

whats size mismatch? it's my own repo, all ports rebuilded and all pkg
and repository recreated every day.

================
and second:


srv0# pkg upgrade
Updating repository catalogue
Fetching meta.txz: 100% of 292
B

Fetching digests.txz: 100% of 36
kB

Fetching packagesite.txz: 100% of 186
kB


Adding new entries: 100%
Incremental update completed, 759 packages processed:
11 packages updated, 0 removed and 0 added.
Checking for upgrades: 82%
ffmpeg0~multimedia/ffmpeg0 has no direct installation candidates, change
it to ffmpeg~multimedia/ffmpeg [Y/n]: y

ffmpeg0~multimedia/ffmpeg0 has no direct installation candidates, change
it to ffmpeg~multimedia/ffmpeg [Y/n]: y
Checking for upgrades: 100%
pkg: sqlite error while executing UPDATE packages SET
name=SPLIT_UID('name', ?1), origin=SPLIT_UID('origin', ?1) WHERE
name=SPLIT_UID('name', ?2) AND origin=SPLIT_UID('origin', ?2); in file
pkg_jobs.c:2267: UNIQUE constraint failed: packages.origin, packages.name
The following 12 packages will be affected (of 775 checked):

Installed packages to be REMOVED:
        ffmpeg-2.2.4_3,1
        ffmpeg0-0.7.16_2,1

Installed packages to be UPGRADED:
        unrar-iconv: 5.01,5 -> 5.10,5
        t1lib: 5.1.2_2,1 -> 5.1.2_3,1
        postgresql90-client: 9.0.17 -> 9.0.18
        portupgrade: 2.4.12_1,2 -> 2.4.12_2,2
        pecl-memcached: 2.2.0_1 -> 2.2.0_2
        p5-HTTP-Tiny: 0.046 -> 0.047
        p5-CPAN-Meta-Requirements: 2.125 -> 2.126
        libxslt: 1.1.28_3 -> 1.1.28_4
        libgcrypt: 1.5.3_3 -> 1.6.1_1
        libssh2: 1.4.3_2,2 -> 1.4.3_3,2

The operation will free 56 MB
3 MB to be downloaded

Proceed with this action [y/N]: y
Fetching unrar-iconv-5.10,5.txz: 100% of 107
kB

Fetching t1lib-5.1.2_3,1.txz: 100% of 707
kB

Fetching postgresql90-client-9.0.18.txz: 100% of 1
MB

Fetching portupgrade-2.4.12_2,2.txz: 100% of 93
kB

Fetching pecl-memcached-2.2.0_2.txz: 100% of 36
kB

Fetching p5-HTTP-Tiny-0.047.txz: 100% of 33
kB

Fetching p5-CPAN-Meta-Requirements-2.126.txz: 100% of 18
kB

Fetching libxslt-1.1.28_4.txz: 100% of 220
kB

Fetching libgcrypt-1.6.1_1.txz: 100% of 413
kB

Fetching libssh2-1.4.3_3,2.txz: 100% of 194
kB

Checking integrity... done (0 conflicting)
[1/12] Deleting ffmpeg-2.2.4_3,1: 100%
[2/12] Deleting ffmpeg0-0.7.16_2,1: 100%
[3/12] Upgrading libgcrypt from 1.5.3_3 to 1.6.1_1: 100%
[4/12] Upgrading unrar-iconv from 5.01,5 to 5.10,5: 100%
[5/12] Upgrading t1lib from 5.1.2_2,1 to 5.1.2_3,1: 100%
[6/12] Upgrading postgresql90-client from 9.0.17 to 9.0.18: 100%
[7/12] Upgrading portupgrade from 2.4.12_1,2 to 2.4.12_2,2: 100%
[8/12] Upgrading pecl-memcached from 2.2.0_1 to 2.2.0_2: 100%
[9/12] Upgrading p5-HTTP-Tiny from 0.046 to 0.047: 100%
[10/12] Upgrading p5-CPAN-Meta-Requirements from 2.125 to 2.126: 100%
[11/12] Upgrading libxslt from 1.1.28_3 to 1.1.28_4: 100%
[12/12] Upgrading libssh2 from 1.4.3_2,2 to 1.4.3_3,2: 100%

1.1 - sql query error
1.2 - whats reason for delete ffmpeg-2.2.4_3,1 ?


More information about the freebsd-ports mailing list