Public bug reported:

Test
1. Start Software-properties. E.g. sudo software-properties-qt 
2. Navigate to Other Software (Tab), Add -> Add, to add a PPA
3. Insert the PPA string. E.g. "deb 
http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu cosmic main "
4. Click Okay.

The software sources list does not contain the new field. Executing in
terminal results in the following error message.

Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py", 
line 627, in on_add_clicked
    self.add_source_from_line(line)
  File 
"/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 
752, in add_source_from_line
    enable_source_code=enable_source_code)
  File 
"/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 
769, in add_source_from_shortcut
    worker = self.check_and_add_key_for_whitelisted_shortcut(shortcut)
  File 
"/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 
709, in check_and_add_key_for_whitelisted_shortcut
    self.options.keyserver)})
AttributeError: type object 'OptionParsed' has no attribute 'keyserver'

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: software-properties-qt 0.96.27
ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
Uname: Linux 4.18.0-10-generic x86_64
ApportVersion: 2.20.10-0ubuntu13
Architecture: amd64
CurrentDesktop: LXQt
Date: Sat Nov  3 09:59:52 2018
InstallationDate: Installed on 2018-10-19 (14 days ago)
InstallationMedia: Lubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 
(20181017.2)
PackageArchitecture: all
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug cosmic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1801439

Title:
  Unable to add PPA's via the software-properties

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1801439/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to