Bug 15183 - "apt update" command not worked in device of kernel version 5.15.78 of YOCTO 4.0.9
Summary: "apt update" command not worked in device of kernel version 5.15.78 of YOCTO ...
Status: RESOLVED NOTABUG
Alias: None
Product: Package Management Issues
Classification: Runtime
Component: Debian Packaging - DEB (show other bugs)
Version: unspecified
Hardware: Other arm64
: Medium major
Target Milestone: 4.3
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2023-08-08 06:11 UTC by Kems_Tailore
Modified: 2023-08-10 14:39 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
This attachment is described the overall log of device. (6.36 KB, text/plain)
2023-08-08 06:11 UTC, Kems_Tailore
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.