All of lore.kernel.org
 help / color / mirror / Atom feed
* Not able to install chrony on zeus
@ 2021-11-29 12:08 mohammed aqdam
  2021-11-29 17:16 ` [OE-core] " Khem Raj
  0 siblings, 1 reply; 8+ messages in thread
From: mohammed aqdam @ 2021-11-29 12:08 UTC (permalink / raw)
  To: openembedded-core, openembedded-core+help

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

Hi There,

I am trying to add chrony/chronyd to my final image
using IMAGE_INSTALL_append += " chrony ntp pps-tools "

When I run bitbake(bitbake -k imx-image-full), Seeing "packages have unmet
dependencies" errors, please check the logs for more information.

Initialising tasks: 100%
> |###########################################################################################################################|
> Time: 0:00:05
> Sstate summary: Wanted 9 Found 7 Missed 2 Current 3666 (77% match, 99%
> complete)
> NOTE: Executing Tasks
> NOTE: Setscene tasks completed
> ERROR: imx-image-full-1.0-r0 do_rootfs: Unable to install packages.
> Command
> '/data/home/maqdam/imx-yocto-bsp_latest/build/tmp/work/imx8mpevk-poky-linux/imx-image-full/1.0-r0/recipe-sysroot-native/usr/bin/apt-get
>  install --force-yes --allow-unauthenticated --no-remove android-tools apt
> autotalks chrony libddsc0 devmem2 dfu-util dhcp-client dhcp-server dpkg
> gpsd imx-test ink-app-nets-files-obu ink-service iperf3 jailhouse
> libwebsockets15 luxservice net-snmp net-snmp-client net-snmp-dev
> net-snmp-libs net-snmp-server net-snmp-server-snmpd
> net-snmp-server-snmptrapd net-tools ntp opencv-apps opencv-samples openvpn
> packagegroup-base-extended packagegroup-core-boot
> packagegroup-core-full-cmdline packagegroup-core-nfs-server
> packagegroup-core-ssh-dropbear packagegroup-core-tools-debug
> packagegroup-core-tools-profile packagegroup-core-tools-testapps
> packagegroup-fsl-gstreamer1.0 packagegroup-fsl-gstreamer1.0-full
> packagegroup-fsl-optee-imx packagegroup-fsl-tools-audio
> packagegroup-fsl-tools-benchmark packagegroup-fsl-tools-gpu
> packagegroup-fsl-tools-gpu-external packagegroup-fsl-tools-testapps
> packagegroup-imx-isp packagegroup-imx-ml packagegroup-qt5-imx
> packagegroup-tools-bluetooth paho-mqtt paho-mqtt-sn perl
> perl-module-data-dumper perl-module-file-copy perl-module-file-spec
> perl-module-getopt-std perl-module-io-file perl-module-term-readline
> pps-tools psplash python3-opencv rapidjson rtklib run-postinsts strongswan
> tcpdump tinydtls usbutils versions weston-init weston-xwayland xterm'
> returned 100:
> Reading package lists...
> Building dependency tree...
> Reading state information...
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:


>
>
> *The following packages have unmet dependencies: chrony : Conflicts: ntp
> but 4.2.8p15-r0 is to be installedE: Unable to correct problems, you have
> held broken packages*.
>

I see *ntp_4.2.8p15, *in my source code not *4.2.8p15-r0, *so I tried to
rename the bb file to ntp_*4.2.8p15-r0.bb <http://4.2.8p15-r0.bb>.*
Got errors while accessing the Index of /~ntp/ntp_spool/ntp4/ntp-4.2
(udel.edu) <https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/> due to
missing  ntp_*4.2.8p15-r0.bb <http://4.2.8p15-r0.bb> * in list.

Kindly let me know if i am missing anything for adding chrony.

Thanks,
Aqdam

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

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

* Re: [OE-core] Not able to install chrony on zeus
  2021-11-29 12:08 Not able to install chrony on zeus mohammed aqdam
@ 2021-11-29 17:16 ` Khem Raj
  2021-11-29 17:25   ` mohammed aqdam
  0 siblings, 1 reply; 8+ messages in thread
From: Khem Raj @ 2021-11-29 17:16 UTC (permalink / raw)
  To: mohammed aqdam, openembedded-core, openembedded-core+help



On 11/29/21 4:08 AM, mohammed aqdam wrote:
> Hi There,
> 
> I am trying to add chrony/chronyd to my final image 
> using IMAGE_INSTALL_append += " chrony ntp pps-tools "
> 
> When I run bitbake(bitbake -k imx-image-full), Seeing "packages have 
> unmet dependencies" errors, please check the logs for more information.
> 
>     Initialising tasks: 100%
>     |###########################################################################################################################|
>     Time: 0:00:05
>     Sstate summary: Wanted 9 Found 7 Missed 2 Current 3666 (77% match,
>     99% complete)
>     NOTE: Executing Tasks
>     NOTE: Setscene tasks completed
>     ERROR: imx-image-full-1.0-r0 do_rootfs: Unable to install packages.
>     Command
>     '/data/home/maqdam/imx-yocto-bsp_latest/build/tmp/work/imx8mpevk-poky-linux/imx-image-full/1.0-r0/recipe-sysroot-native/usr/bin/apt-get
>       install --force-yes --allow-unauthenticated --no-remove
>     android-tools apt autotalks chrony libddsc0 devmem2 dfu-util
>     dhcp-client dhcp-server dpkg gpsd imx-test ink-app-nets-files-obu
>     ink-service iperf3 jailhouse libwebsockets15 luxservice net-snmp
>     net-snmp-client net-snmp-dev net-snmp-libs net-snmp-server
>     net-snmp-server-snmpd net-snmp-server-snmptrapd net-tools ntp
>     opencv-apps opencv-samples openvpn packagegroup-base-extended
>     packagegroup-core-boot packagegroup-core-full-cmdline
>     packagegroup-core-nfs-server packagegroup-core-ssh-dropbear
>     packagegroup-core-tools-debug packagegroup-core-tools-profile
>     packagegroup-core-tools-testapps packagegroup-fsl-gstreamer1.0
>     packagegroup-fsl-gstreamer1.0-full packagegroup-fsl-optee-imx
>     packagegroup-fsl-tools-audio packagegroup-fsl-tools-benchmark
>     packagegroup-fsl-tools-gpu packagegroup-fsl-tools-gpu-external
>     packagegroup-fsl-tools-testapps packagegroup-imx-isp
>     packagegroup-imx-ml packagegroup-qt5-imx
>     packagegroup-tools-bluetooth paho-mqtt paho-mqtt-sn perl
>     perl-module-data-dumper perl-module-file-copy perl-module-file-spec
>     perl-module-getopt-std perl-module-io-file perl-module-term-readline
>     pps-tools psplash python3-opencv rapidjson rtklib run-postinsts
>     strongswan tcpdump tinydtls usbutils versions weston-init
>     weston-xwayland xterm' returned 100:
>     Reading package lists...
>     Building dependency tree...
>     Reading state information...
>     Some packages could not be installed. This may mean that you have
>     requested an impossible situation or if you are using the unstable
>     distribution that some required packages have not yet been created
>     or been moved out of Incoming.
>     The following information may help to resolve the situation:
> 
> 
>     *The following packages have unmet dependencies:
>       chrony : Conflicts: ntp but 4.2.8p15-r0 is to be installed
>     E: Unable to correct problems, you have held broken packages*.
> 

chrony and ntp packages are in conflict, which means both of them are 
trying to install something that other also installs. So you have to 
decide which one of these two you need.

> 
> I see *ntp_4.2.8p15, *in my source code not *4.2.8p15-r0, *so I tried to 
> rename the bb file to ntp_*4.2.8p15-r0.bb <http://4.2.8p15-r0.bb>.*
> Got errors while accessing the Index of /~ntp/ntp_spool/ntp4/ntp-4.2 
> (udel.edu) <https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/> due 
> to missing  ntp_*4.2.8p15-r0.bb <http://4.2.8p15-r0.bb> * in list.
> 
> Kindly let me know if i am missing anything for adding chrony.
> 
> Thanks,
> Aqdam
> 
> 
> 
> 
> 

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

* Re: [OE-core] Not able to install chrony on zeus
  2021-11-29 17:16 ` [OE-core] " Khem Raj
@ 2021-11-29 17:25   ` mohammed aqdam
  2021-11-29 19:02     ` Khem Raj
  0 siblings, 1 reply; 8+ messages in thread
From: mohammed aqdam @ 2021-11-29 17:25 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core, openembedded-core+help

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

Thanks Khem Raj,

Is it possible to install both?

On Mon, 29 Nov, 2021, 10:46 pm Khem Raj, <raj.khem@gmail.com> wrote:

>
>
> On 11/29/21 4:08 AM, mohammed aqdam wrote:
> > Hi There,
> >
> > I am trying to add chrony/chronyd to my final image
> > using IMAGE_INSTALL_append += " chrony ntp pps-tools "
> >
> > When I run bitbake(bitbake -k imx-image-full), Seeing "packages have
> > unmet dependencies" errors, please check the logs for more information.
> >
> >     Initialising tasks: 100%
> >
>  |###########################################################################################################################|
> >     Time: 0:00:05
> >     Sstate summary: Wanted 9 Found 7 Missed 2 Current 3666 (77% match,
> >     99% complete)
> >     NOTE: Executing Tasks
> >     NOTE: Setscene tasks completed
> >     ERROR: imx-image-full-1.0-r0 do_rootfs: Unable to install packages.
> >     Command
> >
>  '/data/home/maqdam/imx-yocto-bsp_latest/build/tmp/work/imx8mpevk-poky-linux/imx-image-full/1.0-r0/recipe-sysroot-native/usr/bin/apt-get
> >       install --force-yes --allow-unauthenticated --no-remove
> >     android-tools apt autotalks chrony libddsc0 devmem2 dfu-util
> >     dhcp-client dhcp-server dpkg gpsd imx-test ink-app-nets-files-obu
> >     ink-service iperf3 jailhouse libwebsockets15 luxservice net-snmp
> >     net-snmp-client net-snmp-dev net-snmp-libs net-snmp-server
> >     net-snmp-server-snmpd net-snmp-server-snmptrapd net-tools ntp
> >     opencv-apps opencv-samples openvpn packagegroup-base-extended
> >     packagegroup-core-boot packagegroup-core-full-cmdline
> >     packagegroup-core-nfs-server packagegroup-core-ssh-dropbear
> >     packagegroup-core-tools-debug packagegroup-core-tools-profile
> >     packagegroup-core-tools-testapps packagegroup-fsl-gstreamer1.0
> >     packagegroup-fsl-gstreamer1.0-full packagegroup-fsl-optee-imx
> >     packagegroup-fsl-tools-audio packagegroup-fsl-tools-benchmark
> >     packagegroup-fsl-tools-gpu packagegroup-fsl-tools-gpu-external
> >     packagegroup-fsl-tools-testapps packagegroup-imx-isp
> >     packagegroup-imx-ml packagegroup-qt5-imx
> >     packagegroup-tools-bluetooth paho-mqtt paho-mqtt-sn perl
> >     perl-module-data-dumper perl-module-file-copy perl-module-file-spec
> >     perl-module-getopt-std perl-module-io-file perl-module-term-readline
> >     pps-tools psplash python3-opencv rapidjson rtklib run-postinsts
> >     strongswan tcpdump tinydtls usbutils versions weston-init
> >     weston-xwayland xterm' returned 100:
> >     Reading package lists...
> >     Building dependency tree...
> >     Reading state information...
> >     Some packages could not be installed. This may mean that you have
> >     requested an impossible situation or if you are using the unstable
> >     distribution that some required packages have not yet been created
> >     or been moved out of Incoming.
> >     The following information may help to resolve the situation:
> >
> >
> >     *The following packages have unmet dependencies:
> >       chrony : Conflicts: ntp but 4.2.8p15-r0 is to be installed
> >     E: Unable to correct problems, you have held broken packages*.
> >
>
> chrony and ntp packages are in conflict, which means both of them are
> trying to install something that other also installs. So you have to
> decide which one of these two you need.
>
> >
> > I see *ntp_4.2.8p15, *in my source code not *4.2.8p15-r0, *so I tried to
> > rename the bb file to ntp_*4.2.8p15-r0.bb <http://4.2.8p15-r0.bb>.*
> > Got errors while accessing the Index of /~ntp/ntp_spool/ntp4/ntp-4.2
> > (udel.edu) <https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/> due
>
> > to missing  ntp_*4.2.8p15-r0.bb <http://4.2.8p15-r0.bb> * in list.
> >
> > Kindly let me know if i am missing anything for adding chrony.
> >
> > Thanks,
> > Aqdam
> >
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#158938):
> https://lists.openembedded.org/g/openembedded-core/message/158938
> > Mute This Topic: https://lists.openembedded.org/mt/87375915/1997914
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>

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

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

* Re: [OE-core] Not able to install chrony on zeus
  2021-11-29 17:25   ` mohammed aqdam
@ 2021-11-29 19:02     ` Khem Raj
  2021-11-30 14:31       ` mohammed aqdam
  0 siblings, 1 reply; 8+ messages in thread
From: Khem Raj @ 2021-11-29 19:02 UTC (permalink / raw)
  To: mohammed aqdam
  Cc: Patches and discussions about the oe-core layer, openembedded-core+help

On Mon, Nov 29, 2021 at 9:25 AM mohammed aqdam <mohammedaqdam@gmail.com> wrote:
>
> Thanks Khem Raj,
>
> Is it possible to install both?
>

maybe if they can be make to coexist perhaps by using update-alternatives etc.

> On Mon, 29 Nov, 2021, 10:46 pm Khem Raj, <raj.khem@gmail.com> wrote:
>>
>>
>>
>> On 11/29/21 4:08 AM, mohammed aqdam wrote:
>> > Hi There,
>> >
>> > I am trying to add chrony/chronyd to my final image
>> > using IMAGE_INSTALL_append += " chrony ntp pps-tools "
>> >
>> > When I run bitbake(bitbake -k imx-image-full), Seeing "packages have
>> > unmet dependencies" errors, please check the logs for more information.
>> >
>> >     Initialising tasks: 100%
>> >     |###########################################################################################################################|
>> >     Time: 0:00:05
>> >     Sstate summary: Wanted 9 Found 7 Missed 2 Current 3666 (77% match,
>> >     99% complete)
>> >     NOTE: Executing Tasks
>> >     NOTE: Setscene tasks completed
>> >     ERROR: imx-image-full-1.0-r0 do_rootfs: Unable to install packages.
>> >     Command
>> >     '/data/home/maqdam/imx-yocto-bsp_latest/build/tmp/work/imx8mpevk-poky-linux/imx-image-full/1.0-r0/recipe-sysroot-native/usr/bin/apt-get
>> >       install --force-yes --allow-unauthenticated --no-remove
>> >     android-tools apt autotalks chrony libddsc0 devmem2 dfu-util
>> >     dhcp-client dhcp-server dpkg gpsd imx-test ink-app-nets-files-obu
>> >     ink-service iperf3 jailhouse libwebsockets15 luxservice net-snmp
>> >     net-snmp-client net-snmp-dev net-snmp-libs net-snmp-server
>> >     net-snmp-server-snmpd net-snmp-server-snmptrapd net-tools ntp
>> >     opencv-apps opencv-samples openvpn packagegroup-base-extended
>> >     packagegroup-core-boot packagegroup-core-full-cmdline
>> >     packagegroup-core-nfs-server packagegroup-core-ssh-dropbear
>> >     packagegroup-core-tools-debug packagegroup-core-tools-profile
>> >     packagegroup-core-tools-testapps packagegroup-fsl-gstreamer1.0
>> >     packagegroup-fsl-gstreamer1.0-full packagegroup-fsl-optee-imx
>> >     packagegroup-fsl-tools-audio packagegroup-fsl-tools-benchmark
>> >     packagegroup-fsl-tools-gpu packagegroup-fsl-tools-gpu-external
>> >     packagegroup-fsl-tools-testapps packagegroup-imx-isp
>> >     packagegroup-imx-ml packagegroup-qt5-imx
>> >     packagegroup-tools-bluetooth paho-mqtt paho-mqtt-sn perl
>> >     perl-module-data-dumper perl-module-file-copy perl-module-file-spec
>> >     perl-module-getopt-std perl-module-io-file perl-module-term-readline
>> >     pps-tools psplash python3-opencv rapidjson rtklib run-postinsts
>> >     strongswan tcpdump tinydtls usbutils versions weston-init
>> >     weston-xwayland xterm' returned 100:
>> >     Reading package lists...
>> >     Building dependency tree...
>> >     Reading state information...
>> >     Some packages could not be installed. This may mean that you have
>> >     requested an impossible situation or if you are using the unstable
>> >     distribution that some required packages have not yet been created
>> >     or been moved out of Incoming.
>> >     The following information may help to resolve the situation:
>> >
>> >
>> >     *The following packages have unmet dependencies:
>> >       chrony : Conflicts: ntp but 4.2.8p15-r0 is to be installed
>> >     E: Unable to correct problems, you have held broken packages*.
>> >
>>
>> chrony and ntp packages are in conflict, which means both of them are
>> trying to install something that other also installs. So you have to
>> decide which one of these two you need.
>>
>> >
>> > I see *ntp_4.2.8p15, *in my source code not *4.2.8p15-r0, *so I tried to
>> > rename the bb file to ntp_*4.2.8p15-r0.bb <http://4.2.8p15-r0.bb>.*
>> > Got errors while accessing the Index of /~ntp/ntp_spool/ntp4/ntp-4.2
>> > (udel.edu) <https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/> due
>> > to missing  ntp_*4.2.8p15-r0.bb <http://4.2.8p15-r0.bb> * in list.
>> >
>> > Kindly let me know if i am missing anything for adding chrony.
>> >
>> > Thanks,
>> > Aqdam
>> >
>> >
>> >
>> > -=-=-=-=-=-=-=-=-=-=-=-
>> > Links: You receive all messages sent to this group.
>> > View/Reply Online (#158938): https://lists.openembedded.org/g/openembedded-core/message/158938
>> > Mute This Topic: https://lists.openembedded.org/mt/87375915/1997914
>> > Group Owner: openembedded-core+owner@lists.openembedded.org
>> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
>> > -=-=-=-=-=-=-=-=-=-=-=-
>> >


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

* Re: Not able to install chrony on zeus
  2021-11-29 19:02     ` Khem Raj
@ 2021-11-30 14:31       ` mohammed aqdam
  2021-12-04  9:15         ` mohammed aqdam
  0 siblings, 1 reply; 8+ messages in thread
From: mohammed aqdam @ 2021-11-30 14:31 UTC (permalink / raw)
  To: openembedded-core

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

Thanks Khem Raj, Found jamvm class with update-alternative option.
jamvm.inc\jamvm\recipes-core - meta-java - Layer containing recipes for OpenJDK and other open source Java- (yoctoproject.org) ( https://git.yoctoproject.org/meta-java/tree/recipes-core/jamvm/jamvm.inc?h=master )

I see chrony is trying to fetch ntp_4.2.8p13-r0 but r0 is not present in ( Index of /~ntp/ntp_spool/ntp4/ntp-4.2 (udel.edu) ( https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ ) ).
Also in chrony folder(meta-openembedded/meta-networking/recipes-support/chrony/),I could not find where we are assigning this version of ntp.

Please let me know how we can resolve this dependency or how can we add chrony in some other way.

Thanks,
Aqdam

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

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

* Re: Not able to install chrony on zeus
  2021-11-30 14:31       ` mohammed aqdam
@ 2021-12-04  9:15         ` mohammed aqdam
  2021-12-04  9:28           ` [OE-core] " Alex Kiernan
  0 siblings, 1 reply; 8+ messages in thread
From: mohammed aqdam @ 2021-12-04  9:15 UTC (permalink / raw)
  To: openembedded-core

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

Any help on getting ntp_4.2.8p13-r0 or resolving this dependency would be very appreciated.
Thanks in advance.

Thanks,
Aqdam

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

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

* Re: [OE-core] Not able to install chrony on zeus
  2021-12-04  9:15         ` mohammed aqdam
@ 2021-12-04  9:28           ` Alex Kiernan
  2021-12-04  9:49             ` mohammed aqdam
  0 siblings, 1 reply; 8+ messages in thread
From: Alex Kiernan @ 2021-12-04  9:28 UTC (permalink / raw)
  To: mohammed aqdam; +Cc: Patches and discussions about the oe-core layer

On Sat, Dec 4, 2021 at 9:15 AM mohammed aqdam <mohammedaqdam@gmail.com> wrote:
>
> Any help on getting ntp_4.2.8p13-r0 or resolving this dependency would be very appreciated.
> Thanks in advance.
>

Removing the RCONFLICTS from chrony might be sufficient.

-- 
Alex Kiernan


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

* Re: Not able to install chrony on zeus
  2021-12-04  9:28           ` [OE-core] " Alex Kiernan
@ 2021-12-04  9:49             ` mohammed aqdam
  0 siblings, 0 replies; 8+ messages in thread
From: mohammed aqdam @ 2021-12-04  9:49 UTC (permalink / raw)
  To: openembedded-core

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

On Sat, Dec 4, 2021 at 02:59 PM, Alex Kiernan wrote:

> 
> RCONFLICTS

Thanks Alex, This resolves the issue.

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

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

end of thread, other threads:[~2021-12-04  9:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 12:08 Not able to install chrony on zeus mohammed aqdam
2021-11-29 17:16 ` [OE-core] " Khem Raj
2021-11-29 17:25   ` mohammed aqdam
2021-11-29 19:02     ` Khem Raj
2021-11-30 14:31       ` mohammed aqdam
2021-12-04  9:15         ` mohammed aqdam
2021-12-04  9:28           ` [OE-core] " Alex Kiernan
2021-12-04  9:49             ` mohammed aqdam

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.