Open lfuelling opened 4 years ago
autoclean
does not uninstall packages, it removes caches used by apt
. So, I think your package is probably being removed at a different stage.
Thanks for the heads up, so the log entry Del custom-backgrounds 1.1.0 [27.6 MB]
means that only the .deb
file is removed?
That makes it even more strange because then the package should actually be installed.
When I search for the package name, the only lines I find are where the package is downloaded, unpacked, set up and then the line starting with Del
I pasted above.
EDIT: What's even weirder is that it also seems to remove elementaryOS packages. This is what I get when I boot the built .iso
and select "Try elementaryOS":
Prerequisites
Describe the bug
I added a package I built myself to all the
package-list.*
files and it is installed successfully according to the build log. At the end of the build, the hooks are executed which (with the--debug
flag tolb build
) gives the following output:The
999-cleanup-apt-cache.chroot
script is the last thing run that I can see in the repo, I wonder what executes theapt-get autoclean
because that step removes my package again so the package is not included in the iso.Is there a way to wither turn this cleanup step off or to prevent the removal of my package? I already tried giving the
.deb
file thePriority: required
property but that doesn't seem to work. I also checked if my package has dependencies that are listed inseeds/blacklist
andplatform/blacklist
but couldn't find any.To Reproduce
Steps to reproduce the behavior:
package-list.*
filesapt-get autoclean
stepExpected behavior
The package should stay installed.
Screenshots or screen recordings
Not applicable, I can provide the full build log on request.
Logs
See above for relevant parts.
Platform Information
I'm using the latest released stable versionAdditional context
The package I'm trying to install contains some configuration files and references other packages I want to have installed by default. As stated above, I already checked if I depend on blacklisted packages but couldn't find any.