Subject: [alpine-devel] Apk upgrade question

From: qnx4ever <[email-masked]>
Date: Thu, 2 Sep 2010 09:35:41 -0300

Hello there !
Please confirm if apk upgrade checks the upgraded package dependencies or if
it assumes dependencies didn't change. I had strange issue during 1.10 to
2.0 upgrade getting ncurses unusable, had to reinstall ncurses and I guess
it pulled ncurses-terminfo package which was not there. Possibly ncurses
package structure changed between releases.
Thanks.

---

From: Timo Teräs <[email-masked]>
Date: Thu, 02 Sep 2010 15:49:44 +0300

Hi,

On 09/02/2010 03:35 PM, qnx4ever wrote:
> Please confirm if apk upgrade checks the upgraded package dependencies
> or if it assumes dependencies didn't change. I had strange issue during
> 1.10 to 2.0 upgrade getting ncurses unusable, had to reinstall ncurses
> and I guess it pulled ncurses-terminfo package which was not there.
> Possibly ncurses package structure changed between releases.

Yes, apk should handle this correctly. The upgrade from 1.10 to 2.0
requires you to:
 - remove all old 1.10 repositories (you can't mix those two)
 - use "apk upgrade -a"

Otherwise you could have ended up with partial upgrade. The reason is
that some package versions were not bumped, but they got recompiled and
have different contents.

- Timo

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Natanael Copa <[email-masked]>
Date: Thu, 02 Sep 2010 15:14:06 +0200

>  - remove all old 1.10 repositories (you can't mix those two)

and remove gnu wget in case its installed, "apk del wget"

> that some package versions were not bumped, but they got recompiled and

Because there were some fixes in 1.10 tree that didnt make sense to do
in edge and 2.0 and vice versa.

-nc

---