~alpine/devel

1

[alpine-devel] Help with apk error

Details
Message ID
<CACJ51z0BRGbzWbbLhYRM1q=Ce+vRrk9u0BfYDpw_VszKRdUFJA@mail.gmail.com>
Sender timestamp
1549394428
DKIM signature
missing
Download raw message
Hi,

I modified an APKBUILD file for a package.  Now I'm trying to install the
package locally, but I get an error that I don't understand:

$ .s apk add ./gdal-dev-2.4.0-r1.apk
ERROR: unsatisfiable constraints:
  gdal-2.2.3-r1:
    breaks: gdal-dev-2.4.0-r1[gdal=2.4.0-r1]
    satisfies: world[gdal] gdal-dev-2.4.0-r1[gdal]
  gdal-dev-2.4.0-r1:
    masked in: cache
    satisfies: world[gdal-dev><Q1IPps2qjzvYdKJIJI63UPjt8MC4w=]
$ .s apk add ./gdal-2.4.0-r1.apk
ERROR: unsatisfiable constraints:
  gdal-2.4.0-r1:
    masked in: cache
    breaks: gdal-dev-2.2.3-r1[gdal=2.2.3-r1]
    satisfies: world[gdal><Q1G2NpkqhDl2qHuRK7K/sYGLVBR3s=]
               gdal-dev-2.2.3-r1[gdal]

Can someone explain what I'm seeing and how to resolve it?

Thanks,

-- 
Andrew Bell
andrew.bell.ia@gmail.com
Details
Message ID
<54981FE2-DCF3-4C4B-BEA3-F281ABA70199@adelielinux.org>
In-Reply-To
<CACJ51z0BRGbzWbbLhYRM1q=Ce+vRrk9u0BfYDpw_VszKRdUFJA@mail.gmail.com> (view parent)
Sender timestamp
1549441255
DKIM signature
missing
Download raw message
On Feb 5, 2019, at 1:20 PM, Andrew Bell <andrew.bell.ia@gmail.com> wrote:
> 
> Hi,
> 
> I modified an APKBUILD file for a package.  Now I'm trying to install the package locally, but I get an error that I don't understand:
> 
> $ .s apk add ./gdal-dev-2.4.0-r1.apk
> ERROR: unsatisfiable constraints:
>   gdal-2.2.3-r1:
>     breaks: gdal-dev-2.4.0-r1[gdal=2.4.0-r1]
>     satisfies: world[gdal] gdal-dev-2.4.0-r1[gdal]
>   gdal-dev-2.4.0-r1:
>     masked in: cache
>     satisfies: world[gdal-dev><Q1IPps2qjzvYdKJIJI63UPjt8MC4w=]
> $ .s apk add ./gdal-2.4.0-r1.apk
> ERROR: unsatisfiable constraints:
>   gdal-2.4.0-r1:
>     masked in: cache
>     breaks: gdal-dev-2.2.3-r1[gdal=2.2.3-r1]
>     satisfies: world[gdal><Q1G2NpkqhDl2qHuRK7K/sYGLVBR3s=]
>                gdal-dev-2.2.3-r1[gdal]
> 
> Can someone explain what I'm seeing and how to resolve it?
> 
> Thanks,
> 
> -- 
> Andrew Bell
> andrew.bell.ia@gmail.com

The package and its -dev sub package require their versions to match.  APK’s error messages are woefully confusing in this case.

What you need to do is either uninstall both packages then add the apks manually, or try to add both apks at the same time for upgrade.

—arw

--
A. Wilcox (Sent from my iPhone - not signed)
Project Lead, Adélie Linux
https://adelielinux.org
Reply to thread Export thread (mbox)