Skip to contentSkip to conversation

Issue with SmartPM install from file

DISCUSSION JC 2 participants 3 messages Sep 9, 2013 – Sep 10, 2013

lore
Share & tools
lore

JC

author
#0 lore raw

Hi,

I'm trying to get a better hand on how smart work. I've been successful to create a repo, update and install from it. Now I want to go further. Let's assume:
- I have a working repo and a working device
- I build a new recipe (here, git) and update my repo
- I "smart update" on my device
Now instead of installing, I choose to "download" the package :

# smart download git

It's successful. Now I want to install it :

# smart install ./git-1.8.1.4-r0.armv6_vfp.rpm
Loading cache...
error: Unable to create channel for file: ./git-1.8.1.4-r0.armv6_vfp.rpm

Whatever I do I end up with this error.

Does it ring a bell to anyone? Is this the right place to ask?

Thanks a lot for your help
Regards
Jay

#1 lore raw
Quoted 8 lines · JC

Hi,

I'm trying to get a better hand on how smart work. I've been successful to create a repo, update and install from it. Now I want to go further. Let's assume:
- I have a working repo and a working device
- I build a new recipe (here, git) and update my repo
- I "smart update" on my device
Now instead of installing, I choose to "download" the package :

Quoted 7 lines
# smart download git

It's successful. Now I want to install it :

# smart install ./git-1.8.1.4-r0.armv6_vfp.rpm
Loading cache...
error: Unable to create channel for file: ./git-1.8.1.4-r0.armv6_vfp.rpm

That because there is no rpm-sys channel in your target. You could run "smart channel --show" to check it.

# smart channel --show
[rpmsys]
type = rpm-sys

The rpm-sys channel is a default channel. It should be created when build the rootfs.

Quoted 15 lines

Whatever I do I end up with this error.

Does it ring a bell to anyone? Is this the right place to ask?

Thanks a lot for your help
Regards
Jay

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

author
#2 lore raw
Quoted 18 lines · Yi Zhao
Quoted 8 lines · JC

Hi,

I'm trying to get a better hand on how smart work. I've been successful to create a repo, update and install from it. Now I want to go further. Let's assume:
- I have a working repo and a working device
- I build a new recipe (here, git) and update my repo
- I "smart update" on my device
Now instead of installing, I choose to "download" the package :

Quoted 7 lines
# smart download git

It's successful. Now I want to install it :

# smart install ./git-1.8.1.4-r0.armv6_vfp.rpm
Loading cache...
error: Unable to create channel for file: ./git-1.8.1.4-r0.armv6_vfp.rpm
Quoted 8 lines

That because there is no rpm-sys channel in your target. You could run "smart channel --show" to check it.

# smart channel --show
[rpmsys]
type = rpm-sys

The rpm-sys channel is a default channel. It should be created when build the rootfs.

It is present :(

Jay