~alpine/devel

3 2

[alpine-devel] apk-tools-2.1 and abuild-2.9 in edge

Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20110406153619.50914a56@ncopa-desktop.nor.wtbts.net>
Sender timestamp
1302096979
DKIM signature
missing
Download raw message
Hi,

We have upgraded apk-tools-2.1 and abuild-2.9 in edge. In addidtion
so some exciting new features (as install_if and a nicer
progrerssbar) there are some changes that you should be aware of.

1) Pure multiarch support. If you previously had arch as last element
for your repo in /etc/apk/repositories, then you need to remove it.

2) The $HOME/.cache/apks temporary abuild repo (for its own built
dependencies) has moved to $HOME/.cache/abuild/$repo, where repo is
either 'main' or 'testing'. This means that if you dont have 'testing'
in your repositories, you will not be able to build packages in 'main'
which has dependencies in 'testing'. This is a feature. This also means
that in order to build things in 'testing' (or other repo) you need
have 'main' in you system apk repos.

3) you can no longer upgrade directly from alpine v1.x or v2.0 to edge.
You will need a newer apk-tools. Either upgrade to alpine v2.1 first and
from there to edge, or download apk-tools-static manually. This also
affect upgrading to the upcoming v2.2. I am thinking of making an
upgrade script that can be downloaded to perform the upgrade.

In short:
* remove x86 or x86_64 as last element from url
  in /etc/apk/repositories if its there.

* replace $HOME/.cache/apks with $HOME/.cache/abuild/main if you have
  it in your /etc/apk/repositories.

* watch out if you upgrade from earlier than v2.1

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Carlo Landmeter <clandmeter@gmail.com>
Details
Message ID
<BANLkTi=SiNoNywDVKoGe4yw9sJ_D=BNePQ@mail.gmail.com>
In-Reply-To
<20110406153619.50914a56@ncopa-desktop.nor.wtbts.net> (view parent)
Sender timestamp
1302100383
DKIM signature
missing
Download raw message
On Wed, Apr 6, 2011 at 3:36 PM, Natanael Copa <ncopa@alpinelinux.org> wrote:
> Hi,
>
> We have upgraded apk-tools-2.1 and abuild-2.9 in edge. In addidtion
> so some exciting new features (as install_if and a nicer
> progrerssbar) there are some changes that you should be aware of.
>
> 1) Pure multiarch support. If you previously had arch as last element
> for your repo in /etc/apk/repositories, then you need to remove it.
>
> 2) The $HOME/.cache/apks temporary abuild repo (for its own built
> dependencies) has moved to $HOME/.cache/abuild/$repo, where repo is
> either 'main' or 'testing'. This means that if you dont have 'testing'
> in your repositories, you will not be able to build packages in 'main'
> which has dependencies in 'testing'. This is a feature. This also means
> that in order to build things in 'testing' (or other repo) you need
> have 'main' in you system apk repos.
>
> 3) you can no longer upgrade directly from alpine v1.x or v2.0 to edge.
> You will need a newer apk-tools. Either upgrade to alpine v2.1 first and
> from there to edge, or download apk-tools-static manually. This also
> affect upgrading to the upcoming v2.2. I am thinking of making an
> upgrade script that can be downloaded to perform the upgrade.
>
> In short:
> * remove x86 or x86_64 as last element from url
>  in /etc/apk/repositories if its there.
>
> * replace $HOME/.cache/apks with $HOME/.cache/abuild/main if you have
>  it in your /etc/apk/repositories.
>
> * watch out if you upgrade from earlier than v2.1
>
> -nc

WARNING: Make sure you first try to update apk-tools instead of full system.
If this fails and you get apk: missing apk (wrong arch apk tools) you
can still download static apk and:
apk fix --reinstall apk-tools


-carlo


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Carlo Landmeter <clandmeter@gmail.com>
Details
Message ID
<BANLkTikJVnGPR-5QNjhhBjHj4GshPfgSjQ@mail.gmail.com>
In-Reply-To
<20110406153619.50914a56@ncopa-desktop.nor.wtbts.net> (view parent)
Sender timestamp
1302125192
DKIM signature
missing
Download raw message
On Wed, Apr 6, 2011 at 3:36 PM, Natanael Copa <ncopa@alpinelinux.org> wrote:
> Hi,
>
> We have upgraded apk-tools-2.1 and abuild-2.9 in edge. In addidtion
> so some exciting new features (as install_if and a nicer
> progrerssbar) there are some changes that you should be aware of.
>

Sorry for being blunt, but what does install_if do?

> 1) Pure multiarch support. If you previously had arch as last element
> for your repo in /etc/apk/repositories, then you need to remove it.
>
> 2) The $HOME/.cache/apks temporary abuild repo (for its own built
> dependencies) has moved to $HOME/.cache/abuild/$repo, where repo is
> either 'main' or 'testing'. This means that if you dont have 'testing'
> in your repositories, you will not be able to build packages in 'main'
> which has dependencies in 'testing'. This is a feature. This also means
> that in order to build things in 'testing' (or other repo) you need
> have 'main' in you system apk repos.
>
> 3) you can no longer upgrade directly from alpine v1.x or v2.0 to edge.
> You will need a newer apk-tools. Either upgrade to alpine v2.1 first and
> from there to edge, or download apk-tools-static manually. This also
> affect upgrading to the upcoming v2.2. I am thinking of making an
> upgrade script that can be downloaded to perform the upgrade.
>
> In short:
> * remove x86 or x86_64 as last element from url
>  in /etc/apk/repositories if its there.
>
> * replace $HOME/.cache/apks with $HOME/.cache/abuild/main if you have
>  it in your /etc/apk/repositories.
>
> * watch out if you upgrade from earlier than v2.1
>
> -nc
>
>
> ---
> Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
> Help:         alpine-devel+help@lists.alpinelinux.org
> ---
>
>


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Timo Teräs <timo.teras@iki.fi>
Details
Message ID
<4D9D3EC0.6060908@iki.fi>
In-Reply-To
<BANLkTikJVnGPR-5QNjhhBjHj4GshPfgSjQ@mail.gmail.com> (view parent)
Sender timestamp
1302150848
DKIM signature
missing
Download raw message
On 04/07/2011 12:26 AM, Carlo Landmeter wrote:
> On Wed, Apr 6, 2011 at 3:36 PM, Natanael Copa <ncopa@alpinelinux.org> wrote:
>> We have upgraded apk-tools-2.1 and abuild-2.9 in edge. In addidtion
>> so some exciting new features (as install_if and a nicer
>> progrerssbar) there are some changes that you should be aware of.
> 
> Sorry for being blunt, but what does install_if do?

http://redmine.alpinelinux.org/issues/443


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)