Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id AE1C4781A49 for <~alpine/users@lists.alpinelinux.org>; Thu, 4 Jun 2020 17:34:38 +0000 (UTC) Received: by mail-pl1-f182.google.com with SMTP id n2so2451047pld.13 for <~alpine/users@lists.alpinelinux.org>; Thu, 04 Jun 2020 10:34:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=ZGWiLiacOVg0SMZsGBGNUUnxBZ+G9xmoqRskCAr9+hE=; b=F2LUhOEevvmzF1u+FOx9SsKSDj8baOE3tpEDBXt/opb0O7Wq/JaZpgrvmRq3RmfkGU YorSMD+wskQWSeAZ7oBhNx/Mp6dMFK3Io1NGpuathaX8rFcIWbUAfiDVH2IIzd+qu8A2 bQDzipG0JZC/vZ2N1PCwyUTmFjEror8ICyUNRgtCAh5Qx/zdYv0r5f2HtkrA5bhGfCdW APgVkD89/NMu/9XZc3yE4H1KQfJsK6BMWG6J4BjGxugWUtouJb8c2GE6fvzwVgbz1ddd WAEamPb2Es4I+cDX4u7NOHp3SEf67BLmHNNWjC/PHvN3kJm/H53lRP1XAFquhd82jFRY dvsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZGWiLiacOVg0SMZsGBGNUUnxBZ+G9xmoqRskCAr9+hE=; b=khnPJ2uOdB8UA3+JnJJoTG1jhvhXn4vZ2//8mBiS5PQDhAzXJD7dxSV9OFqQAzYtSp 5F9bR52tJwGsvbkbjLurG++HMscQoQNYfgXJWsa62hGnrD+BQOrYctdXaJgrWTSt+oMU 3AtfaTmGe7hhBqIPJGAopOSPSRea1qYVvsrCrq2Vnd3xXEDQ0luzkB0vo7zFfXRxG78Q 5VoDjlYzioyUUrvmVjOb+HDzbbg2UAf9SiUnTmovI+KmifWx57yaJLHGj9bWQYzK9sIs jXD4gGjKkOrqBqRI9DoDS1AKrcsYsTuaUBk3x+eL7MZ6skEOu8XQ+AG1vLlRlxvRfucp msXw== X-Gm-Message-State: AOAM532gk071+YB+/M0ffquBBOaEYboS2DX8FFfasgGtXT/e/37PN6sH Q3UeRznAcWmqp3AZRofCdhNkgAqi X-Google-Smtp-Source: ABdhPJxvQg+ssrFMx/OxaWADSxN46aIZ6RyiR1mg7bHyarimdDuyetEMsPIsN/61rDp7Qy4hNRIpwg== X-Received: by 2002:a17:90b:4d06:: with SMTP id mw6mr7724913pjb.190.1591292075363; Thu, 04 Jun 2020 10:34:35 -0700 (PDT) Received: from alpine.home.sercomm (189.223.238.114.dsl.dyn.telnor.net. [189.223.238.114]) by smtp.gmail.com with ESMTPSA id 205sm5195708pfc.206.2020.06.04.10.34.33 for <~alpine/users@lists.alpinelinux.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jun 2020 10:34:34 -0700 (PDT) Date: Thu, 4 Jun 2020 10:34:30 -0700 From: amc252 To: ~alpine/users@lists.alpinelinux.org Subject: Re: regenerate APKINDEX Message-Id: <20200604103430.b63fc5b5f669bdc9fd3c8e6b@gmail.com> In-Reply-To: <20200604112451.40751b1f@ncopa-desktop.copa.dup.pw> References: <20200603232511.e6adbec0c945702f85b06add@gmail.com> <20200604112451.40751b1f@ncopa-desktop.copa.dup.pw> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-alpine-linux-musl) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Thanks a lot for the prompt answer. On Thu, 4 Jun 2020 11:24:51 +0200 Natanael Copa wrote: > On Wed, 3 Jun 2020 23:25:11 -0700 > amc252 wrote: > > > By mistake I erased the latest /ver/cache/apk/APKINDEX file and now when I lst the installed packages, the list is imcomplete. Is there a way to regenerate a new APKINDEX? > > > > apk update > > if you mean the installed packages database, (/lib/apk/db/installed) > and you still have your /etc/apk/world intact, then you can do: `apk > fix` to reinstall the packages. > > > -nc -- amc252