Can't install apps via clicking on apt url
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| apturl (Ubuntu) |
High
|
Unassigned | ||
| Artful |
Undecided
|
Unassigned |
Bug Description
[ Description ]
Slashes are being appended to URLs passed to apturl, which it isn't prepared to handle.
[ QA ]
Test 1.
1. Open a terminal
2. Run `xdg-open apt://gnome-
You should see an error message if it is broken, and either a message about gnome-terminal being already installed or an installation prompt from apturl if it is not broken.
Test 2.
1. Click this link: apt://gnome-
As above (assuming your browser is configured to correctly pass apt URLs over to the system's mimetype handler).
[ Regression potential ]
If the fix works, apturl will start working. A potential regression is that apturl is broken in some way that causes damage to systems.
[ Original description ]
Running latest artful.
Visit http://
Click big orange "Available on the software center" button (which links to apt://vlc
Expected outcome:-
GNOME Software which would find vlc in the archive
Actual outcome:-
A dialog box appears
"Invalid URL: 'apt://vlc/
Invalid package name 'vlc/'"
See screenshot.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: apturl 0.5.2ubuntu12
ProcVersionSign
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Oct 23 10:30:09 2017
InstallationDate: Installed on 2017-08-02 (81 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170712)
SourcePackage: apturl
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Sebastien Bacher: Approve on 2017-10-23
-
Diff: 30 lines (+9/-2)2 files modifiedAptUrl/Parser.py (+2/-2)
debian/changelog (+7/-0)
Changed in apturl (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
Iain Lane (laney) wrote : | #3 |
description: | updated |
Hello Alan, or anyone else affected,
Accepted apturl into artful-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-
Further information regarding the verification process can be found at https:/
Changed in apturl (Ubuntu Artful): | |
status: | New → Fix Committed |
tags: | added: verification-needed verification-needed-artful |
Launchpad Janitor (janitor) wrote : | #5 |
This bug was fixed in the package apturl - 0.5.2ubuntu13
---------------
apturl (0.5.2ubuntu13) artful; urgency=medium
* AptUrl/parser.py: Strip trailing slashes that are added by xdg-open/gio
and which make package names invalid. (LP: #1726327)
-- Iain Lane <email address hidden> Mon, 23 Oct 2017 14:47:07 +0100
Changed in apturl (Ubuntu): | |
status: | Confirmed → Fix Released |
Paul (polalbert) wrote : | #6 |
I'm affected too... very annoying
thx, probs a simple fix as in the attached branch