From owner-freebsd-questions@freebsd.org Mon May 2 19:14:23 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50764B2AD5C for ; Mon, 2 May 2016 19:14:23 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-io0-f181.google.com (mail-io0-f181.google.com [209.85.223.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 29A4D1A32 for ; Mon, 2 May 2016 19:14:22 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-io0-f181.google.com with SMTP id 190so1460632iow.1 for ; Mon, 02 May 2016 12:14:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=icIR7DkxyoyVr59AdpfJ4n5+VA/CfjdIld8ep97IhBE=; b=VGxzOSXJi9kaSqMIp4sHd9TGgE3w/QltAdUCaqNPUeoUdYIWE+ZQ7yD//ZnryH/0KU POd2Pitwj4sJ3ZF9cFmmM1J5jWqHei1qvt2kbYZaAMfHlmFB/JW65q80GGBtPTd5mGmP 8YiL75puVkU+kcnEeM0omqpjBN9vsX60VoJppERftS7HDGqonoYxUDHoPOVo4Mg3+ZW/ avfTI9EbfBiExRAL3S9/BNiQ5TCanQOWCoUVapuuEdwgmYYhrecTsPJ/rK2aslHrkfV+ 5sz//xt3+d3jHUUBFZn43mYsYncSScOvnaNBBg/SDkrBNRhpZlFP2YjDZjGPmVpu5GSQ 5wpQ== X-Gm-Message-State: AOPr4FUgaRMbPaGLIdNbG935IL4boLBr/CkLVfCv7PuryeYZSy2fv5fJEAgIxI7CB1xt1w== X-Received: by 10.107.130.71 with SMTP id e68mr45560791iod.175.1462201532065; Mon, 02 May 2016 08:05:32 -0700 (PDT) Received: from WorkBox.Home.gmail.com (63-231-164-200.mpls.qwest.net. [63.231.164.200]) by smtp.gmail.com with ESMTPSA id c134sm18410506ioe.40.2016.05.02.08.05.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 May 2016 08:05:30 -0700 (PDT) References: User-agent: mu4e 0.9.16; emacs 24.5.1 From: Brandon J. Wandersee To: Arnab Bhowmick Cc: freebsd-questions@freebsd.org Subject: Re: pkg method failed In-reply-to: Date: Mon, 02 May 2016 10:05:56 -0500 Message-ID: <861t5k8ppn.fsf@WorkBox.Home> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2016 19:14:23 -0000 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 ----------------------------------