Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: software-properties (Ubuntu)
       Status: New => Confirmed

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

Title:
  software-properties-gtk crashes if APT::Periodic::Upgrade-Package-
  Lists="3"

Status in software-properties package in Ubuntu:
  Confirmed

Bug description:
  Changing `APT::Periodic::Update-Package-Lists` to a value not in the
  data model `model_updates_interval` in `/usr/share/software-
  properties/gtkbuilder/main.ui` calls an invalid method, crashing the
  program.

  ```
  $ cat /etc/apt/apt.conf.d/10periodic
  APT::Periodic::Update-Package-Lists "3";
  APT::Periodic::Download-Upgradeable-Packages "1";
  APT::Periodic::AutocleanInterval "0";
  APT::Periodic::Unattended-Upgrade "0";
  $ software-properties-gtk
  Traceback (most recent call last):
    File "/usr/bin/software-properties-gtk", line 100, in <module>
      app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, 
file=file)
    File 
"/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py",
 line 231, in __init__
      self.init_auto_update()
    File 
"/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py",
 line 310, in init_auto_update
      self.combobox_update_interval.append_text(_("Every %s days")
  AttributeError: 'ComboBox' object has no attribute 'append_text'
  ```

  Occurs in:
  ```
  $ lsb_release -rd
  Description:  Ubuntu 21.04
  Release:      21.04
  $ apt-cache policy software-properties-gtk
  software-properties-gtk:
    Installed: 0.99.10.2
    Candidate: 0.99.10.2
    Version table:
   *** 0.99.10.2 500
          500 http://us.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 
Packages
          500 http://us.archive.ubuntu.com/ubuntu hirsute-updates/main i386 
Packages
          100 /var/lib/dpkg/status
       0.99.10 500
          500 http://us.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
          500 http://us.archive.ubuntu.com/ubuntu hirsute/main i386 Packages

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to