We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9637e89 commit 426c852Copy full SHA for 426c852
apt.go
@@ -83,8 +83,14 @@ func ListUpgradable() ([]*Package, error) {
83
if len(matches) == 0 {
84
continue
85
}
86
+
87
+ // Remove repository information in name
88
+ // example: "libgweather-common/zesty-updates,zesty-updates"
89
+ // -> "libgweather-common"
90
+ name := strings.Split(matches[0][1], "/")[0]
91
92
res = append(res, &Package{
- Name: matches[0][1],
93
+ Name: name,
94
Status: "upgradable",
95
Version: matches[0][2],
96
Architecture: matches[0][3],
0 commit comments