All of lore.kernel.org
 help / color / mirror / Atom feed
* Package Manager Conflicts
@ 2017-06-26 22:03 Andrew Sampson
  2017-07-01  2:09 ` Randy MacLeod
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Sampson @ 2017-06-26 22:03 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 776 bytes --]

I'm attempting to setup a package feed for a board which I don't have the
ability to flash nor do I have access to the original image that is on it.

The image on the board comes with Smart installed.

I build an image using the information in this guide:
https://www.openembedded.org/wiki/OE-Core_Standalone_Setup


and add my dependencies before doing: bitbake core-image-minimal and
bitbake package-feed

However when I attempt to install a package via smart I get this error

Committing transaction...
error: update-alternatives-opkg-0.3.4+git0+1a708fd73d-r0 conflicts with
update-alternatives-cworth

I can't find any information referencing this issue, is there a way I can
completely strip opkg from the oe-core layer or a solution to this problem?

[-- Attachment #2: Type: text/html, Size: 1499 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Package Manager Conflicts
  2017-06-26 22:03 Package Manager Conflicts Andrew Sampson
@ 2017-07-01  2:09 ` Randy MacLeod
  0 siblings, 0 replies; 2+ messages in thread
From: Randy MacLeod @ 2017-07-01  2:09 UTC (permalink / raw)
  To: Andrew Sampson, openembedded-core

On 2017-06-26 06:03 PM, Andrew Sampson wrote:
> I'm attempting to setup a package feed for a board which I don't have 
> the ability to flash nor do I have access to the original image that is 
> on it.

Do you know the image was built?
Do you have access to the build scripts that were used to build the 
image? Without such information, it could be hard to produce
identically configured/tuned builds...

> 
> The image on the board comes with Smart installed.
> 
> I build an image using the information in this guide: 
> https://www.openembedded.org/wiki/OE-Core_Standalone_Setup
> 
> 
> and add my dependencies before doing: bitbake core-image-minimal and 
> bitbake package-feed
> 
> However when I attempt to install a package via smart I get this error
> 
> Committing transaction...
> error: update-alternatives-opkg-0.3.4+git0+1a708fd73d-r0 conflicts with 
> update-alternatives-cworth
> 
> I can't find any information referencing this issue, is there a way I 
> can completely strip opkg from the oe-core layer or a solution to this 
> problem?
> 
> 

In your conf/local.conf file you should have lines like:
#
# Package Management configuration
#
# This variable lists which packaging formats to enable. Multiple 
package back-ends
# can be enabled at once and the first item listed in the variable will 
be used
# to generate the root filesystems.
# Options are:
#  - 'package_deb' for debian style deb files
#  - 'package_ipk' for ipk files are used by opkg (a debian style 
embedded package manager)
#  - 'package_rpm' for rpm style packages
# E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
# We default to ipk:
PACKAGE_CLASSES ?= "package_ipk"


Hopefully swapping "package_ipk" for "package_rpm" will work for you.
'deb' is not well supported in the OE world.

Is there an rpm binary on your target?



-- 
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, 
Canada, K2K 2W5


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-01  2:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-26 22:03 Package Manager Conflicts Andrew Sampson
2017-07-01  2:09 ` Randy MacLeod

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.