Skip to content

Commit 7800619

Browse files
ahoneybunAaron Honeycuttthomas-zimmerman
authored
Update package manager (#1137)
* Update content * Add commands * Fix lint issue * Update wording to directly mention files that will be created * Pop!_Shop > Pop Shop Update to not mention Pop Shop but Ubuntu Store -- Software & Updates Update both for Apt > APT * Fix spelling and formatting --------- Co-authored-by: Aaron Honeycutt <[email protected]> Co-authored-by: Thomas Zimmerman <[email protected]> Co-authored-by: thomas-zimmerman <[email protected]>
1 parent 3a3644c commit 7800619

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-4
lines changed

content/package-manager-pop.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ section: software-troubleshooting
1818
tableOfContents: true
1919
---
2020

21-
## Apt/Dpkg (system-wide packages)
21+
## APT/Dpkg (system-wide packages)
2222

2323
If your system complains about a failed upgrade, package manager conflicts, broken upgrades, or other package-related issues, there are several common fixes to these problems. Some package manager issues can be resolved with the graphical update program, but many require the command line. Try running these commands to fix your package manager:
2424

@@ -112,11 +112,11 @@ apt-mark showhold
112112

113113
If the Terminal returns nothing, no packages are held.
114114

115-
If the Pop!_Shop indicates that some remote repositories can't be reached, open [Repoman](/articles/manage-repos-pop) and look in the **Extra Sources** page for the broken repository. Either disable or remove the repository, or search for the software vendor to determine what has happened to their software server. Sometimes the version of the repo (xenial, bionic, focal, groovy, etc) needs changed to match the current version of the operating system.
115+
If the <u>Pop!_Shop</u> indicates that some remote repositories can't be reached, open [Repoman](/articles/manage-repos-pop) and look in the **Extra Sources** page for the broken repository. Either disable or remove the repository, or search for the software vendor to determine what has happened to their software server. Sometimes the version of the repo (xenial, bionic, focal, groovy, etc) needs changed to match the current version of the operating system.
116116

117117
## Flatpak
118118

119-
If the Pop!_Shop is showing an update available, but there are no updates listed on the update page, there may be a Flatpak runtime (a backend program that another Flatpak depends on) with an update available. Run these commands to update all Flatpaks and remove any Flatpak runtimes that are no longer required by any installed programs:
119+
If the <u>Pop!_Shop</u> is showing an update available, but there are no updates listed on the update page, there may be a Flatpak runtime (a backend program that another Flatpak depends on) with an update available. Run these commands to update all Flatpaks and remove any Flatpak runtimes that are no longer required by any installed programs:
120120

121121
```bash
122122
flatpak update
@@ -131,3 +131,22 @@ The program <u>Synaptic Package Manager</u> is a very powerful GUI frontend for
131131
```bash
132132
sudo apt install synaptic
133133
```
134+
135+
## Sending information to support
136+
137+
The following commands will save the output to `upgrade.txt` and `sources.txt` so that they can be attached to support emails.
138+
139+
```bash
140+
sudo apt clean | tee -a ~/upgrade.txt
141+
sudo apt update -m | tee -a ~/upgrade.txt
142+
sudo dpkg --configure -a | tee -a ~/upgrade.txt
143+
sudo apt install -f | tee -a ~/upgrade.txt
144+
sudo apt full-upgrade | tee -a ~/upgrade.txt
145+
sudo apt autoremove --purge | tee -a ~/upgrade.txt
146+
147+
cat /etc/apt/sources.list | tee -a ~/sources.txt
148+
cat /etc/apt/sources.list.d/* | tee -a ~/sources.txt
149+
ls /etc/apt/sources.list.d/ | tee -a ~/sources.txt
150+
cat /etc/apt/sources.list.d/system.sources | tee -a ~/sources.txt
151+
cat /etc/apt/sources.list.d/pop-os-apps.sources | tee -a ~/sources.txt
152+
```

content/package-manager-ubuntu.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ section: software-troubleshooting
1818
tableOfContents: true
1919
---
2020

21+
## APT/Dpkg (system-wide packages)
22+
2123
If your system complains about a failed upgrade, package manager conflicts, broken upgrades, or other package-related issues, there are several common fixes to these problems. Some package manager issues can be resolved with the graphical update program, but many require the command line. If you get the red circle in the status bar, run these commands to fix your package manager:
2224

2325
```bash
@@ -112,7 +114,7 @@ apt-mark showhold
112114

113115
If the Terminal returns nothing, no packages are held.
114116

115-
If the Pop!_Shop indicates that some remote repositories can't be reached, open [Repoman](/articles/manage-repos-pop) and look in the **Extra Sources** page for the broken repository. Either disable or remove the repository, or search for the software vendor to determine what has happened to their software server. Sometimes the version of the repo (xenial, bionic, focal, groovy, etc) needs changed to match the current version of the operating system.
117+
If the Ubuntu Store indicates that some remote repositories can't be reached, open <u>Software & Updates</u> and look in the **Extra Sources** page for the broken repository. Either disable or remove the repository, or search for the software vendor to determine what has happened to their software server. Sometimes the version of the repo (xenial, bionic, focal, groovy, etc) needs changed to match the current version of the operating system.
116118

117119
## Snap Pacakges
118120

@@ -136,3 +138,22 @@ The program <u>Synaptic</u> is a very powerful GUI of the package manager. Pack
136138
```bash
137139
sudo apt install synaptic
138140
```
141+
142+
## Sending information to support
143+
144+
The following commands will save the output to `upgrade.txt` and `sources.txt` so that they can be attached to support emails.
145+
146+
```bash
147+
sudo apt clean | tee -a ~/upgrade.txt
148+
sudo apt update -m | tee -a ~/upgrade.txt
149+
sudo dpkg --configure -a | tee -a ~/upgrade.txt
150+
sudo apt install -f | tee -a ~/upgrade.txt
151+
sudo apt full-upgrade | tee -a ~/upgrade.txt
152+
sudo apt autoremove --purge | tee -a ~/upgrade.txt
153+
154+
cat /etc/apt/sources.list | tee -a ~/sources.txt
155+
cat /etc/apt/sources.list.d/* | tee -a ~/sources.txt
156+
ls /etc/apt/sources.list.d/ | tee -a ~/sources.txt
157+
cat /etc/apt/sources.list.d/system.sources | tee -a ~/sources.txt
158+
cat /etc/apt/sources.list.d/pop-os-apps.sources | tee -a ~/sources.txt
159+
```

0 commit comments

Comments
 (0)