Skip to main content
Nathan_Xi
Associate III
May 1, 2024
Solved

Problems occurred during apt-get update for X-LINUX-AI installation.

  • May 1, 2024
  • 1 reply
  • 1996 views

Hello.

I'm currently trying to download the X-LINUX-AI package for MPU ecosystem v5.0.0.

I tried on MP135F-DK & MP157F-DK2, but neither showed a valid installation and both were stuck when executing "apt-get update".

For both boards, I used high-quality ethernet cables and checked the connections were okey by executing "ping www.baidu.com", which is the most well-known search engine in China. Both checks were okey, and I did not use a proxy.

The following command line piece shows what was going wrong:

stm32mp1:/var/cache/apt/archives# dpkg -i apt-openstlinux-ai_1.0_armhf.deb
tar: ./control: time stamp 2023-07-07 06:18:19 is 10864980.266958629 s in the future
tar: .: time stamp 2023-07-07 06:18:19 is 10864980.264826295 s in the future
(Reading database ... 15654 files and directories currently installed.)
Preparing to unpack apt-openstlinux-ai_1.0_armhf.deb ...
Unpacking apt-openstlinux-ai (1.0) over (1.0) ...
Setting up apt-openstlinux-ai (1.0) ...
stm32mp1:/var/cache/apt/archives# apt-get update

The software package is provided AS IS, and by downloading it, you agree to be
bound to the terms of the software license agreement (SLA).
The detailed content licenses can be found at
https://wiki.st.com/stm32mpu/wiki/OpenSTLinux_licenses.

https://wiki.st.com/stm32mpu/X-LINUX-AI_licenses

Get:1 http://packages.openstlinux.st.com/5.0 mickledore InRelease [3461 B]
Get:2 http://extra.packages.openstlinux.st.com/AI/5.0 mickledore InRelease [2644 B]
Reading package lists... Done
E: Release file for http://packages.openstlinux.st.com/5.0/dists/mickledore/InRelease is not valid yet (invalid for another 111d 6h 27min 33s). Updates for this repository will not be applied.
E: Release file for http://extra.packages.openstlinux.st.com/AI/5.0/dists/mickledore/InRelease is not valid yet (invalid for another 125d 18h 2min 48s). Updates for this repository will not be applied.

Now, it is clear that there's a problem with the execution of "apt-get update".

I tried several times during March and April, but it kept failing. I have no idea about it.

Another developer in China without using a proxy, however, succeeded.

So why can't I retrieve this package? Anyone can help?

This topic has been closed for replies.
Best answer by Nathan_Xi

Well, it seems that the board's system time was incorrect.

After correcting it, the execution succeeded.

My bad.

1 reply

Nathan_Xi
Nathan_XiAuthorBest answer
Associate III
May 1, 2024

Well, it seems that the board's system time was incorrect.

After correcting it, the execution succeeded.

My bad.

Olivier GALLIEN
Technical Moderator
May 2, 2024

Hi @Nathan_Xi ,

Thanks for your post and solution... quite a common pitfall welcome to be shared here ! ;)

 

Olivier 

 

Olivier GALLIEN In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Nathan_Xi
Nathan_XiAuthor
Associate III
May 3, 2024

Hi @Olivier GALLIEN 

Sorry I'm new to STM32MP1 series, compared to my experience in developing STM32 MCUs.

Perhaps I should pay attention to details like this in future developments.

And, thank you for your understanding ;).