Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
dfbee20a
Verified
Commit
dfbee20a
authored
1 year ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
try to batch step 8 so it can be all copy-paste at once
parent
30e880a3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/upgrades/bookworm.md
+14
-13
14 additions, 13 deletions
howto/upgrades/bookworm.md
with
14 additions
and
13 deletions
howto/upgrades/bookworm.md
+
14
−
13
View file @
dfbee20a
...
...
@@ -156,19 +156,20 @@ See the "conflicts resolution" section below for how to handle
export LC_ALL=C.UTF-8 &&
sudo ttyrec -a -e screen /var/log/upgrade-bookworm.ttyrec
apt-mark manual bind9-dnsutils puppet-agent
apt purge $(dpkg -l | awk '/^rc/ { print $2 }') # purge removed packages
apt autopurge -y
apt purge $(deborphan --guess-dummy)
while deborphan -n | grep -q . ; do apt purge $(deborphan -n); done
apt autopurge -y
apt clean
# review and purge older kernel if the new one boots properly
dpkg -l 'linux-image*'
# review obsolete and odd packages
apt purge '?obsolete'
apt list "?narrow(?installed, ?not(?codename($(lsb_release -c -s | tail -1))))"
printf "End of Step 8\a\n"
apt-mark manual bind9-dnsutils puppet-agent &&
: purge removed packages &&
apt purge $(dpkg -l | awk '/^rc/ { print $2 }') &&
apt autopurge &&
apt purge $(deborphan --guess-dummy) &&
while deborphan -n | grep -q . ; do apt purge $(deborphan -n); done ^^
apt autopurge &&
apt clean &&
; review and purge older kernel if the new one boots properly &&
dpkg -l 'linux-image*' | less &&
; review obsolete and odd packages &&
apt purge '?obsolete' && apt autopurge &&
apt list "?narrow(?installed, ?not(?codename($(lsb_release -c -s | tail -1))))" &&
printf "End of Step 8\a\n" &&
shutdown -r +1 "bookworm upgrade step 8: testing reboots one final time"
[
this guide to free up space
]:
http://www.debian.org/releases/buster/amd64/release-notes/ch-upgrading.en.html#sufficient-space
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment