Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 May 2016 10:05:56 -0500
From:      Brandon J. Wandersee <brandon.wandersee@gmail.com>
To:        Arnab Bhowmick <arnabbhowmick08@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pkg method failed
Message-ID:  <861t5k8ppn.fsf@WorkBox.Home>
In-Reply-To: <CADNZooOTx3BYGqjRVgj0Qny2GZVWtUXwOE69S%2BdALdOYphBUZw@mail.gmail.com>
References:  <CADNZooOTx3BYGqjRVgj0Qny2GZVWtUXwOE69S%2BdALdOYphBUZw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Arnab Bhowmick writes:

> Today when i was downloading some package through pkg install method i git
> the following output
>
> root@arnab:/usr/home/ARNAB # pkg install opera
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up-to-date.
> All repositories are up-to-date.
> The following 7 package(s) will be affected (of 0 checked):
>
> New packages to be INSTALLED:
>         opera: 12.16_6
>         gstreamer-plugins-good: 0.10.31_2,3
>         gstreamer-plugins-ogg: 0.10.36_1,3
>         gstreamer-plugins-theora: 0.10.36_1,3
>         gstreamer-plugins-vp8: 0.10.23_3,3
>         gstreamer-plugins-bad: 0.10.23_2,3
>         gstreamer-plugins-vorbis: 0.10.36_1,3
>
> The process will require 53 MiB more space.
> 15 MiB to be downloaded.
>
> Proceed with this action? [y/N]: y
> Fetching opera-12.16_6.txz: 100%   13 MiB 109.3kB/s    02:04
> pkg: cached package opera-12.16_6: size mismatch, fetching from remote
> Fetching opera-12.16_6.txz: 100%   13 MiB 139.7kB/s    01:37
> pkg: cached package opera-12.16_6: size mismatch, cannot continue
> root@arnab:/usr/home/ARNAB #
>
> Can anyone say that why i got this massage?

The message claims that the size of the package as recorded in the
database doesn't match the size of the package that was downloaded. Try
deleting the package from the pkg cache or clearing the pkg cache
entirely, then forcibly updating the package database. If that doesn't
clear the error, there may indeed be something wrong with the package.

-- 

::  Brandon J. Wandersee
::  brandon.wandersee@gmail.com
::  --------------------------------------------------
::  'The best design is as little design as possible.'
::  --- Dieter Rams ----------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861t5k8ppn.fsf>