X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by lists.alpinelinux.org (Postfix) with ESMTP id 22F5F1EC7E8 for ; Wed, 6 Apr 2011 19:32:33 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id 262B3AE4002; Wed, 6 Apr 2011 19:32:32 +0000 (UTC) X-Virus-Scanned: Yes Received: from mail.wtbts.no ([127.0.0.1]) by localhost (bsna.nor.wtbts.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ruP0w-5qbv7E; Wed, 6 Apr 2011 19:32:29 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id 78D10AE4001; Wed, 6 Apr 2011 19:32:29 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id 4B04E621C1D0A; Wed, 6 Apr 2011 19:32:29 +0000 (UTC) Received: from localhost (unknown [10.65.96.20]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@ytre.org) by mail.ytre.org (Postfix) with ESMTPSA id 01DA0621C1D09; Wed, 6 Apr 2011 19:32:28 +0000 (UTC) Date: Wed, 6 Apr 2011 21:32:20 +0200 From: Natanael Copa To: Timo =?ISO-8859-1?Q?Ter=E4s?= Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] x86_64 users: ATTENTION Message-ID: <20110406213220.415ad07d@alpinelinux.org> In-Reply-To: <4D9C8C02.9040004@iki.fi> References: <20110406163451.5375a3d0@alpinelinux.org> <4D9C8C02.9040004@iki.fi> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.0; i686-pc-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP On Wed, 06 Apr 2011 18:51:30 +0300 Timo Ter=E4s wrote: > On 04/06/2011 05:34 PM, Natanael Copa wrote: > > If you currently apk upgrade your x86_64 edge box it will break dut > > to x86 libs will overwrite the x86_64 libs. > >=20 > > We are investigating a proper solution. (as soon as i get my box > > back up again) > >=20 > > Sorry. >=20 > This happens because even the old x86_64 apk-tools try to get the > index from same place as x86 one. I removed the APKINDEX.tar.gz -> x86/APKINDEX.tar.gz symlink so people running x86_64 edge does not get broken system just by 'apk upgrade -U'. This means that even x86 edge users will currently need to do the manual wget upgrade. Once we have the v2.2 branch we can add the compat symlink back. > But this should not be a major problem as we don't have any release > for x86_64, except the edge snapshots. It is a major problem for all current x86_64 users since they have no other option than edge. My box at work broke and it was tricky to fix. > x86_64 should currently then: > wget > http://nl.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-2.1.0_rc1-r0.= apk > apk add apk-tools-2.1.0_rc1-r0.apk > apk update FYI. At this point the /var/lib/apk/world should have moved to /etc/apk/world and the rest of /var/lib/apk/* moved to /lib/apk/db This means that from now on, you can no longer use any apk-tools-2.0 without first manually move those files back to where apk-tools expects them. > apk upgrade Currently also x86 needs to do it (but using proper apk-tools) I would also recommend start with: =20 apk add -U busybox-static apk-tools-static Then you can always run /bin/busybox.static in case you end up bad. That said, the symlink that caused the chaos has been removed so you should never end up with broken system now. >=20 > Sorry about the breakage. It happens. It's the price we pay for progress. > - Timo -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---