Bug 15183

Summary: "apt update" command not worked in device of kernel version 5.15.78 of YOCTO 4.0.9
Product: [Runtime] Package Management Issues Reporter: Kems_Tailore <darjikamesh89>
Component: Debian Packaging - DEBAssignee: Ross Burton <ross.burton>
Status: RESOLVED NOTABUG QA Contact:
Severity: major    
Priority: Medium CC: randy.macleod
Version: unspecified   
Target Milestone: 4.3   
Hardware: Other   
OS: arm64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
This attachment is described the overall log of device. none

Description Kems_Tailore 2023-08-08 06:11:18 UTC
Created attachment 4967 [details]
This attachment is described the overall log of device.

Hi All,

We are enabling apt & dpkg packages in the YOCTO build of  QCS8550 LE. But it's not worked when we use apt in devices like applying the "apt update 0r apt-get update" command. 

After debugging the issue we found like the source.list was not present.  You can see all debug things in the below-attached txt file.

 

Can you help us for solving this apt lib issue?
Comment 1 Ross Burton 2023-08-10 14:39:59 UTC
The testing log is very confusing because it's just a series of commands with no explanation of what the intention is.  Are you attempting to use the Debian archives with a Yocto system? That won't work by design.

If you want to update a Yocto system using apt, then you need to run your own package feed.  The documentation covers how to do this: https://docs.yoctoproject.org/dev-manual/packages.html#using-runtime-package-management.