adopt: Remove APT sources of the old installation and report orphaned packages #64
No reviewers
Labels
No labels
Bug
Feature
Idee
agent-freigabe
regression
status
ausarbeiten
status
bereit
status
in-arbeit
status
review
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iac/iac-core!64
Loading…
Reference in a new issue
No description provided.
Delete branch "adopt-foreign-sources"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
NodeSource, PGDG and mise stayed active after adopt.sh, so the postgresql
module installed the PGDG version and iac-compliance reported apt.foreign
(#48). adopt.sh now names every file in /etc/apt/sources.list.d without
"managed by iac" before the question, backs the directory up and removes
the files before the target state is established. After the run it lists
the packages no source offers any more and which of them Debian has too.
It removes nothing: some still carry data.
Tested: iac_adopt_foreign_sources and iac_adopt_report_packages in a
debian:13 container (foreign .sources and .list files found, a managed
file and debian.sources left, a handmade package and one newer than
Debian's reported with the downgrade hint); shellcheck -S warning.
Not tested: a complete adopt.sh run.