Bug 100244 - Extra spaces at the end of the value of baseurl in rpm repo file cause pkcon to fail
Summary: Extra spaces at the end of the value of baseurl in rpm repo file cause pkcon ...
Status: RESOLVED NOTABUG
Alias: None
Product: PackageKit
Classification: Unclassified
Component: backend-yum (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-17 02:29 UTC by gd.yi
Modified: 2018-08-21 15:52 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description gd.yi 2017-03-17 02:29:18 UTC
Adding an extra space at the end of the value of baseurl in rpm repo file causes PackageKit to fail with the symptoms that pkcon, GNOME software and any other softwares that depend on it fail to resolve and install packages. 

example rpm repo that causes the bug,/etc/yum.repos.d/fedora.repo
[fedora-os]
name=fedora-os
baseurl=http://192.168.1.9/repo/os <- extra space
gpgcheck=0
enabled=1

repo that works
[fedora-os]
name=fedora-os
baseurl=http://192.168.1.9/repo/os<- no extra space
gpgcheck=0
enabled=1

yum/dnf is able to handle this so I think it is a bug of PackageKit that forgot to trim the whitespacse at the end of the value of baseurl, possibly other fields too.
Comment 1 Richard Hughes 2018-08-21 15:52:52 UTC
We moved the upstream bugtracker to GitHub a long time ago. If this issue still affects you please re-create the issue here: https://github.com/hughsie/PackageKit/issues
 
Sorry for the impersonal message, and fingers crossed your issue no longer happens. Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.