ncp-dist-upgrade should also `sed` `/etc/apt/apt.conf.d/20ncp-upgrades`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 67/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- debian, shell
- Domain
- devops, operating-systems
Research direction
Start with the ncp-dist-upgrade entry point and inspect how it updates distribution-specific configuration. Check the generated /etc/apt/apt.conf.d/20ncp-upgrades content during a Bullseye-to-Bookworm upgrade. Done means the configuration no longer retains bullseye references after the upgrade; use the existing upgrade checks or logs to verify the result.
Written by the indexing model from the issue text.
Description
I today did my long postponed bookworm update and everything went well but I noticed a bullseye leftover:
root@nextcloud:~# cat /etc/apt/apt.conf.d/20ncp-upgrades
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
APT::Periodic::MaxAge "14";
APT::Periodic::AutocleanInterval "7";
Unattended-Upgrade::Automatic-Reboot "true";
Unattended-Upgrade::Automatic-Reboot-Time "04:00";
Unattended-Upgrade::Origins-Pattern {
o=Debian,n=bullseye-security;
o=deb.sury.org,n=bullseye-security;
o="Raspberry Pi Foundation",n=bullseye-security;
o="Raspbian",n=bullseye-security;
}
Dpkg::Options {
"--force-confdef";
"--force-confold";
};
// Enable the update/upgrade script, disabled by Armbian in 02-armbian-periodic
APT::Periodic::Enable "1";
root@nextcloud:~#
Merry 🎄
- Dominant language
- Shell
- Stars
- 2.9k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nextcloud/nextcloudpi
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/nextcloudpi#2129 ·
-
has-updates
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
nextcloud/nextcloudpi#2119 · 1 comment ·
-
has-updates
Difficulty 3/5 1-2 days Newbie friendliness 57/100
nextcloud/nextcloudpi#2142 · 3 comments ·
-
Nextcloud 34 Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
nextcloud/nextcloudpi#2141 · 2 reactions ·
-
Nextcloud 36 Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
nextcloud/nextcloudpi#2140 ·
All issues in nextcloud/nextcloudpi
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·