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
c89bd7e6
Verified
Commit
c89bd7e6
authored
1 month ago
by
lelutin
Browse files
Options
Downloads
Patches
Plain Diff
new playbook for obsolete packages.
parent
53bef205
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#244242
passed with warnings
1 month ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/upgrades.md
+28
-0
28 additions, 0 deletions
howto/upgrades.md
with
28 additions
and
0 deletions
howto/upgrades.md
+
28
−
0
View file @
c89bd7e6
...
...
@@ -109,6 +109,34 @@ the timer `prometheus-node-exporter-apt.timer` triggers. It currently runs every
15 minutes, so it's probably not necessary to trigger it by hand to speed things
up.
## Blocked upgrades
<!-- note that this section is cross-referenced from the -->
<!-- OutdatedPackages alert in prometheus-alerts.git change the -->
<!-- link target there if you change the heading here. -->
Outdated packages are packages that don't currently relate to one of the
configured package archives. Some causes for the presence of outdated packages
might be:
*
leftovers from an OS upgrade
*
apt source got removed but not packages installed from it
*
patched package was installed locally
If you want to know which packages are marked as obsolete, you can use the
following two commands:
apt list "?obsolete"
# The following will mainly print the same list as above, but there might be
# some more in its list.
DEBUG=1 /usr/share/prometheus-node-exporter-collectors/apt_info.py
Check the state of each package with
`apt policy $package`
to determine what
needs to be done with it. If most cases, the packages can just be purged, but
maybe not if they are obsolete because an apt source was lost. In that latter
case, you may want to check out why the source was removed and make sure to
bring it back.
## Out of date package lists
The
`AptUpdateLagging`
looks like this:
...
...
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