[Bug 1801439] Re: Unable to add PPA's via the software-properties

Chris Guiver guiverc+ubuntu at gmail.com
Sat Nov 3 03:41:43 UTC 2018


I followed TEST instructions in description

I got exactly the same output

guiverc at dx6120lu:~$ sudo software-properties-qt 
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'                                                   
Traceback (most recent call last):                                                                                           
  File "/usr/lib/python3/dist-pack ...
[redacted ]
 ... has no attribute 'keyserver'

(I saved my output & copy/pasted output from description then `diff -Zb`
them & only difference was prompt & XDG_RUNTIME_DIR lines..)

guiverc at dx6120lu:~$   apt-cache policy software-properties-qt 
software-properties-qt:
  Installed: 0.96.27
  Candidate: 0.96.27
  Version table:
 *** 0.96.27 500
        500 http://ftp.iinet.net.au/pub/ubuntu cosmic/universe i386 Packages
        100 /var/lib/dpkg/status


// note: my arch is x86 i686

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

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

Status in software-properties package in Ubuntu:
  Confirmed

Bug description:
  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)

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



More information about the foundations-bugs mailing list