3 2

[alpine-devel]

Fredrik Paulsson
Details
Message ID
<CA+FWxOP5G8+RZe4DOk_YgohE_egQ4k4E=C8y3jQ=XErHf56OGg@mail.gmail.com>
Sender timestamp
1388928179
DKIM signature
missing
Download raw message
Hi,

Trying to develop/build two new APK packages libftdi and telldus-core (home
automation) by using the guides on the wiki and Alpine Linux 2.7.2.

I have a chroot-environment and managed to build the packages in
$HOME/aports. Copied the packages together with APKINDEX from
$HOME/packages to a usb-stick.

Installed the packages on another alpine linux system (2.7.2) and also made
'lbu commit', still they don't appear after reboot!?

My guess is that /etc/apk/world is blocking them:

libftdi-compat><Q14q0JoVME9CJeH9I0Fk/Hh2pMUQQ=
telldus-core><Q1xI9XaVaXUEkNZm7YPxZfdpVjwCA=

Why is '<>' added during installation?

Thanks for any help,
frepa - new on alpine linux
Ted Trask
Details
Message ID
<A11F1879-18E6-4E7C-9141-853CD707908E@yahoo.com>
In-Reply-To
<CA+FWxOP5G8+RZe4DOk_YgohE_egQ4k4E=C8y3jQ=XErHf56OGg@mail.gmail.com> (view parent)
Sender timestamp
1389016707
DKIM signature
missing
Download raw message
The >< indicates that the package is locked to a particular version. That happens any time you install a package from an apk file rather from a repository. You can remove that info from the end of the line if you would like to upgrade the package to match the latest in the repo. This will not solve your problem, however. The package is not installed on a reboot because apk cannot find the package. Try creating a local cache: http://wiki.alpinelinux.org/wiki/Local_APK_cache

Ted

On Jan 5, 2014, at 8:22 AM, Fredrik Paulsson <paulsson.engelholm@gmail.com> wrote:

> Hi,
> 
> Trying to develop/build two new APK packages libftdi and telldus-core (home automation) by using the guides on the wiki and Alpine Linux 2.7.2.
> 
> I have a chroot-environment and managed to build the packages in $HOME/aports. Copied the packages together with APKINDEX from $HOME/packages to a usb-stick.
> 
> Installed the packages on another alpine linux system (2.7.2) and also made 'lbu commit', still they don't appear after reboot!?
> 
> My guess is that /etc/apk/world is blocking them:
> 
> libftdi-compat><Q14q0JoVME9CJeH9I0Fk/Hh2pMUQQ=
> telldus-core><Q1xI9XaVaXUEkNZm7YPxZfdpVjwCA=
> 
> Why is '<>' added during installation?
> 
> Thanks for any help,
> frepa - new on alpine linux
> 
> 
> --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---

Re: [alpine-devel]

Fredrik Paulsson
Details
Message ID
<CA+FWxOP=p7cy+fhJRLSzhOLVEXJOGXrdYtcFhydLR0AFTWGunw@mail.gmail.com>
In-Reply-To
<A11F1879-18E6-4E7C-9141-853CD707908E@yahoo.com> (view parent)
Sender timestamp
1389017704
DKIM signature
missing
Download raw message
Thanks for the explanation of '><'!

I have already ran the setup_alpine script and I have a cache. If I make
'ls' of /etc/apk/cache I get the following:

APKINDEX.9bca125c.tar.gz
APKINDEX.f9100962.tar.gz
installed
libusb-compat-0.1.5-r2.a416bcbd.apk
libcrypto1.0-1.0.1e-r5.f1011226.apk
telldus-core-2.1.1-r1.c48f5769.apk
libftdi-compat-0.20-r1.e2ad09a1.apk

Clearly my own apk:s telldus-core and libftdi are there.

What I find strange is that they are not referenced inside any APKINDEX
file of the cache?

Cheers,
Frepa

2014/1/6 Ted Trask <ttrask01@yahoo.com>

> The >< indicates that the package is locked to a particular version. That
> happens any time you install a package from an apk file rather from a
> repository. You can remove that info from the end of the line if you would
> like to upgrade the package to match the latest in the repo. This will not
> solve your problem, however. The package is not installed on a reboot
> because apk cannot find the package. Try creating a local cache:
> http://wiki.alpinelinux.org/wiki/Local_APK_cache
>
> Ted
>
> On Jan 5, 2014, at 8:22 AM, Fredrik Paulsson <paulsson.engelholm@gmail.com>
> wrote:
>
> Hi,
>
> Trying to develop/build two new APK packages libftdi and telldus-core
> (home automation) by using the guides on the wiki and Alpine Linux 2.7.2.
>
> I have a chroot-environment and managed to build the packages in
> $HOME/aports. Copied the packages together with APKINDEX from
> $HOME/packages to a usb-stick.
>
> Installed the packages on another alpine linux system (2.7.2) and also
> made 'lbu commit', still they don't appear after reboot!?
>
> My guess is that /etc/apk/world is blocking them:
>
> libftdi-compat><Q14q0JoVME9CJeH9I0Fk/Hh2pMUQQ=
> telldus-core><Q1xI9XaVaXUEkNZm7YPxZfdpVjwCA=
>
> Why is '<>' added during installation?
>
> Thanks for any help,
> frepa - new on alpine linux
>
>
> --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help:
> alpine-devel+help@lists.alpinelinux.org ---
>
>

Re: [alpine-devel]

Fredrik Paulsson
Details
Message ID
<CA+FWxON11zk71y57RYOzF4+QhL8qj+vb5sYTj9RnMoyekN04vw@mail.gmail.com>
In-Reply-To
<CA+FWxOP=p7cy+fhJRLSzhOLVEXJOGXrdYtcFhydLR0AFTWGunw@mail.gmail.com> (view parent)
Sender timestamp
1389301072
DKIM signature
missing
Download raw message
Changed my /etc/apk/world from

libftdi-compat><Q14q0JoVME9CJeH9I0Fk/Hh2pMUQQ=
telldus-core><Q1xI9XaVaXUEkNZm7YPxZfdpVjwCA=

to

libftdi-compat
telldus-core

Still the apk-packages are *not* installed in RAM although my cache looks
like:

APKINDEX.0f59c441.tar.gz
APKINDEX.9bca125c.tar.gz
installed
libusb-compat-0.1.5-r2.a416bcbd.apk
libftdi-compat-0.20-r1.e2ad09a1.apk
telldus-core-2.1.1-r1.c48f5769.apk

Tried to install python using apk but receives the following response:

> apk add python
ERROR: unsatisfiable constraints:
  libftdi-compat (missing):
    required by: world[libftdi-compat]
  telldus-core (missing):
    required by: world[telldus-core]

How do I install my built packages from $HOME/aports on another system in a
correct way?

I thought it was just to run the following:

>setup-alpine
>cp my_public_key /etc/apk/keys/.
>apk add <path>/<mybuiltpackage.apk>

Cheers,
Frepa






2014/1/6 Fredrik Paulsson <paulsson.engelholm@gmail.com>

> Thanks for the explanation of '><'!
>
> I have already ran the setup_alpine script and I have a cache. If I make
> 'ls' of /etc/apk/cache I get the following:
>
> APKINDEX.9bca125c.tar.gz
> APKINDEX.f9100962.tar.gz
> installed
> libusb-compat-0.1.5-r2.a416bcbd.apk
> libcrypto1.0-1.0.1e-r5.f1011226.apk
> telldus-core-2.1.1-r1.c48f5769.apk
> libftdi-compat-0.20-r1.e2ad09a1.apk
>
> Clearly my own apk:s telldus-core and libftdi are there.
>
> What I find strange is that they are not referenced inside any APKINDEX
> file of the cache?
>
> Cheers,
> Frepa
>
> 2014/1/6 Ted Trask <ttrask01@yahoo.com>
>
>> The >< indicates that the package is locked to a particular version. That
>> happens any time you install a package from an apk file rather from a
>> repository. You can remove that info from the end of the line if you would
>> like to upgrade the package to match the latest in the repo. This will not
>> solve your problem, however. The package is not installed on a reboot
>> because apk cannot find the package. Try creating a local cache:
>> http://wiki.alpinelinux.org/wiki/Local_APK_cache
>>
>> Ted
>>
>> On Jan 5, 2014, at 8:22 AM, Fredrik Paulsson <
>> paulsson.engelholm@gmail.com> wrote:
>>
>> Hi,
>>
>> Trying to develop/build two new APK packages libftdi and telldus-core
>> (home automation) by using the guides on the wiki and Alpine Linux 2.7.2.
>>
>> I have a chroot-environment and managed to build the packages in
>> $HOME/aports. Copied the packages together with APKINDEX from
>> $HOME/packages to a usb-stick.
>>
>> Installed the packages on another alpine linux system (2.7.2) and also
>> made 'lbu commit', still they don't appear after reboot!?
>>
>> My guess is that /etc/apk/world is blocking them:
>>
>> libftdi-compat><Q14q0JoVME9CJeH9I0Fk/Hh2pMUQQ=
>> telldus-core><Q1xI9XaVaXUEkNZm7YPxZfdpVjwCA=
>>
>> Why is '<>' added during installation?
>>
>> Thanks for any help,
>> frepa - new on alpine linux
>>
>>
>> --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help:
>> alpine-devel+help@lists.alpinelinux.org ---
>>
>>
>