From owner-freebsd-questions@freebsd.org Mon Jun 8 08:06:13 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E4DC83472D1 for ; Mon, 8 Jun 2020 08:06:13 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04olkn0805.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::805]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49gQn102Fkz3bmb; Mon, 8 Jun 2020 08:06:12 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RMUUQ0xzJeHEtKQ6eY4Lww4s/B5qLWHyJ6WspKL4h9IwXl1In7mpgQwAKl8HDmaUI37C3aSk2WK+PA7sH7mngWfUpTxvty/PcqCoVKkCzlzcYpw0nohfO2RA4JOGWbVDGtazNtGex4+YRksHFEPO3gGt19nS5Vmzz8pfmx8e4xV0kPL9UZuomX4lxDUG7pdYa3OjNK1Jlw4kx9fujS4SbFvKb3a9RmXDNTWH/606K3iG/xX+SZFv4TS8v2nlE82PR4P5udxJp4QsEBx/p8TQ93ji5xXPmERR1J6DPIgkz9EF920T8v5w3H/fjeC0aqMyvVvuetcSP6Snm+MXTziqlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Aw0yYcSB4NOgXwzWl/MUMLb/ZReImFqBK0VmGJxA2kw=; b=EK5nw+rhrhZg7k2t+zh4uXq5/WB7T2X9jFnNA6eU5YrvrxxntkM1rdJE6sn3XzdSuCfXj0ixbLsfO01wJ8kwgrS8mjJ3BeyrJ+9pyppLFlY30yWkU6CPL756OUekw00XqzDuVG65n7r6TGt3L7tM0kxIbzr5hJ/XdnBw1Pst1XsLHJkXN3VKEcJmx+Um8o8sUlc2MZqK3OX3lFxa0CuVe5rxCumtW+BI7ZTB82nEL3C3jteGdATRHSDlftGMeQxnpedaBH0Rmm9FzcsliUL3oYGRUhbRCi8I+lxzFiakSGBxnv4lrRuihfs47Zeeh5c0VG+j2bWtlLqJnqELE0IE3A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Aw0yYcSB4NOgXwzWl/MUMLb/ZReImFqBK0VmGJxA2kw=; b=WNWei5ytEtYC+lOQRhx1soQfAPsHXeGs3FTbs5QV/+gjXlkBONrzEesAfWG7kk22D+mGmEmT+M1aa/LTNuMHGk5cn0zgDNApy34UfkCcYwbN2ZwYjGs1j3FiSGl4iCT5zxbKxAp0ckzdG+hFdUAWRzur+VnOvl5xAwqPeRI69iUzYqjbtJf3e6EOeqdW3CpW6g8c7pvyjq4Wy/3W3iBNo3gds4GrpUV3RmWJ3oS7+t5fRSm66HvxnWk1tjVpf0KQqFKZ2rT0+h+pk18Skxwi04jCf2M0ZDKpObV7LTOnoBFOUBv/R04wGDTTBlJPgTcwrPcL800sUrVEKHkTBwT6jQ== Received: from VI1EUR04FT014.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0e::4a) by VI1EUR04HT244.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0e::347) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18; Mon, 8 Jun 2020 08:06:10 +0000 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com (2a01:111:e400:7e0e::4f) by VI1EUR04FT014.mail.protection.outlook.com (2a01:111:e400:7e0e::172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18 via Frontend Transport; Mon, 8 Jun 2020 08:06:10 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:5A5249F283A7EBD2E87F1F6E7C5F8BA9746881206D6AE8E1AF4E275A59AABB15; UpperCasedChecksum:49000E250495B791F666B3BF393321163B25A3478F2BFBB1080C7119E621C2A6; SizeAsReceived:9037; Count:49 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::3cc9:9d58:c027:5919]) by DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::3cc9:9d58:c027:5919%6]) with mapi id 15.20.3066.023; Mon, 8 Jun 2020 08:06:10 +0000 Subject: Re: pkg update From: Manish Jain To: Matthew Seaman , freebsd-questions@freebsd.org References: <5d3cb5f2-94d0-b16f-763c-03ff4120ed2c@FreeBSD.org> Message-ID: Date: Mon, 8 Jun 2020 13:35:32 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-ClientProxiedBy: PN1PR0101CA0044.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::30) To DB8PR06MB6442.eurprd06.prod.outlook.com (2603:10a6:10:126::7) X-Microsoft-Original-Message-ID: <9c7d18bc-b679-b38f-33b4-690fb5f4c935@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.5] (45.127.45.102) by PN1PR0101CA0044.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18 via Frontend Transport; Mon, 8 Jun 2020 08:06:09 +0000 X-Microsoft-Original-Message-ID: <9c7d18bc-b679-b38f-33b4-690fb5f4c935@hotmail.com> X-TMN: [6g+vPslQ81LjdNHL5y64t1DSyxnoSjxz] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 49 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: ef623ec0-d2c1-4cb8-42bc-08d80b82ce02 X-MS-TrafficTypeDiagnostic: VI1EUR04HT244: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kQ6j8LNCQFb2VA8jd4IH0gu/81seMsDn7wU1vSnl7Xjp9C8gB7xQZ6Ea7EeOG/x/4RZhmfn+Hf5pS+gNBtba7rgNEHaVynfyEfXDwaSvEVuOlKk+mkA6LFWVDuGwUMIveTTTVSHDlpR0RCUL+P8H49u4R2YhfkRVd0N5gs4W9OpBSHBPL1Ogx4bYvDuAAPX9ye/QsTnLdQxSWgTJZTUwZw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR06MB6442.eurprd06.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; X-MS-Exchange-AntiSpam-MessageData: lNmPbrWmEHi9BFzAn2m3j+U0W24JYsppqvwp5djFPaV52w3V+2u0KAZtfvHEA64T4hmScibSwJw2YfeqEHAv+9FNYDFIZQRCxctnwNJYbVzQ12NrVDOnG87mJC+wVe6uZq4Pdlh5odgjCF5RUePLcg== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: ef623ec0-d2c1-4cb8-42bc-08d80b82ce02 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2020 08:06:10.5551 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1EUR04HT244 X-Rspamd-Queue-Id: 49gQn102Fkz3bmb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=WNWei5yt; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of bourne.identity@hotmail.com designates 2a01:111:f400:fe0e::805 as permitted sender) smtp.mailfrom=bourne.identity@hotmail.com X-Spamd-Result: default: False [-2.88 / 15.00]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_MEDIUM(-1.05)[-1.055]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48:c]; FREEMAIL_FROM(0.00)[hotmail.com]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.989]; RECEIVED_SPAMHAUS_PBL(0.00)[45.127.45.102:received]; DKIM_TRACE(0.00)[hotmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a01:111:f400:fe0e::805:from]; NEURAL_HAM_SHORT(-1.33)[-1.331]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2020 08:06:14 -0000 On 2020-06-08 13:33, Manish Jain wrote: > > > On 2020-06-08 11:57, Matthew Seaman wrote: >>> rm -rf/var/cache/pkg/* /var/db/pkg/repo-*.sqlite >>> pkg bootstrap -f >>> pkg update -f >>> >> Doing this will really spoil your day.  The first command removes all of >> the accumulated knowledge your system has about what packages are >> installed, meaning the third command will*only*  know about pkg(8) for >> the forced update.  Recovering from this situation is quite painful. > > > Hi Matthew, > > I would think that the system has about what packages are > installed is hived under /var/db/pkg/local.sqlite (which my command > pointedly spares out). > > > Regards, > Manish Jain Please excuse the typo : that was meant to read "I would think that the knowledge the system has" Sorry, Manish Jain