Ubuntu 22.04 server customization apt upgrade does not applied or work

Asked by bacanak

Hi everyone
First of all, i tried a lot of method for fixing my problem but they did not work.

I want to customize Ubuntu 22.04 live server iso. Actually, what I want to do is simple.
The packages and kernel versions on every computer I install should be the same.
For this reason, when Cubic chroot is opened, the work I do is as follows.
-apt update
-apt upgrade
after the upgrade, I run apt update again to make sure that all packages are up to date.
I'm installing some specific kernel versions and holding them with the apt hold command.
Then I export the iso I have customized. I write to the USB disk in a bootable way and install ubuntu.
The problem starts at this point.

The versions of the packages in the fresh installed Ubuntu are not the same as the versions in the cube. (the cubic versions are up to date)
When I connect my fresh installed computer to the internet and run the apt update command, cubic finds the new packages as if they had not been updated.

So in summary, the changes I made to Cubic are not applied on the computer I installed.

I couldn't figure out where I made a mistake. I'll be glad if you help.

Question information

Language:
English Edit question
Status:
Answered
For:
Cubic Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Cubic PPA (cubic-wizard) said (last edit ):
#1

This should work.

Please click on the "Cubic Website" item in the hamburger menu in the headerbar in Cubic, and you will be taken to the official web site. You can ask your question on the Issues tab there.

Can you help with this problem?

Provide an answer of your own, or ask bacanak for more information if necessary.

To post a message you must log in.