cancel
Showing results for 
Search instead for 
Did you mean: 

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

Nathan_Xi
Associate III

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Nathan_Xi
Associate III

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

After correcting it, the execution succeeded.

My bad.

View solution in original post

3 REPLIES 3
Nathan_Xi
Associate III

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

After correcting it, the execution succeeded.

My bad.

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.

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 ;).