X-Loop: [email protected] Subject: bug#549: software-properties-gtk crashes due to missing distribution template for Devuan [fix] Reply-To: Richard Missenden <[email protected]>, [email protected] Resent-From: Richard Missenden <[email protected]> Resent-To: [email protected] Resent-CC: [email protected] X-Loop: [email protected] Resent-Date: Wed, 17 Feb 2021 15:03:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: report 549 X-Devuan-PR-Package: python-apt-common X-Devuan-PR-Keywords: Received: via spool by [email protected] id=B.161357340517082 (code B); Wed, 17 Feb 2021 15:03:01 +0000 Received: (at submit) by bugs.devuan.org; 17 Feb 2021 14:50:05 +0000 Delivered-To: [email protected] Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for <debbugs@localhost> (single-drop); Wed, 17 Feb 2021 14:50:05 +0000 (UTC) Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 201DCF60AD8 for <[email protected]>; Wed, 17 Feb 2021 15:45:17 +0100 (CET) Authentication-Results: vm6.ganeti.dyne.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="kVoJrac3"; dkim-atps=neutral Received: by mail-ed1-f41.google.com with SMTP id q10so16767873edt.7 for <[email protected]>; Wed, 17 Feb 2021 06:45:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=cSuYq7gAU2bSGQQCrKI4dga4nn729v7wykUQEoyzOWA=; b=kVoJrac3ctt/kZLJ6sJVfPuxcXsJByHXkedb/JTJLqcLuh3ciELr0V75uXb1JyY7Ie Nkl1wjX0ZtRdipj4DUHXXIduJT7q2Zl7Hhs7NLhsC0/ucgEVVviVRzdhrLZ+vuzhcOJz K94qEHeILW6fiq3xseKyx4XBKOxxsQqVwc9IEzz8Du6WxpU2rII99Fkvw3eItmT14j8j 5Dr7AjMsbAL1QYuhrES/ma8SqZy5jtb3r9YVKLBs7wiXkbAm5Maxvh7+WetThCI79cUh Z1DN7xqcHk8TKSwSo4GyV2GcoAIdXQeJ9C3viRnLYk7aMVh9FF2RfNCGeUaDnwrYsaPw 9Ywg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=cSuYq7gAU2bSGQQCrKI4dga4nn729v7wykUQEoyzOWA=; b=KLX5CSVgNEGGKpZGezCuifrQQrpd6QAPAG3B8S1kVavKcOSE4CJODUK4nPzOVveJ6E 1PfqkO/ShR9S+MC7mQtHw3LxzgDPQXf6ZAuo840CCu8THKrDNbKxBEUqnW8lY9d6B95e AwTvYGmWelgHZ3EhlYiQFnUNVJj0enRWjNWI+Tk6j+5v1PRTvnadtcAFRSRrl6C93Vf1 If8PFeHWPbEQHwp579L4cj9mpEEw9xBw1da9ZN2mqQ44I2K4+ZtZemEfctttMOm4hclq EEsnZDrFNjr8cRVreQ1YrPcm5Tgh9ZPSqK3s+wWfH+Y1wk8urV13Z605XM0vTh4y3Zd0 PE2Q== X-Gm-Message-State: AOAM531O+iIgVdy8IAPX7AMAer73b5R1nZzMaF+sIIvPJSg+4Dp43koT 5StQUHT1ejALTNqeY5XJ1qmhlJ1ylOE= X-Google-Smtp-Source: ABdhPJyuMuDUKRuqzknBIkS9L0rimi9x+VQq9s8jfAQhvj4yFOwxZYaGrxxldy9Dfy/5GMbATU5LsQ== X-Received: by 2002:a05:6402:5112:: with SMTP id m18mr26986446edd.129.1613573117498; Wed, 17 Feb 2021 06:45:17 -0800 (PST) Received: from [10.43.180.126] ([156.146.60.103]) by smtp.gmail.com with ESMTPSA id d5sm1235992edu.12.2021.02.17.06.45.16 for <[email protected]> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Feb 2021 06:45:17 -0800 (PST) From: Richard Missenden <[email protected]> To: [email protected] Message-ID: <[email protected]> Date: Wed, 17 Feb 2021 14:45:15 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Package: python-apt-common Version: 1.8.4.3 When launching software-properties-gtk via the command line, via "Xfce Menu > Settings > Software & Updates" or via "synaptic > Settings > Repositories", it crashes because it can't find a template for Devuan: ERROR:root:Cannot import UbuntuDrivers: No module named 'UbuntuDrivers' Traceback (most recent call last): File "/usr/bin/software-properties-gtk", line 101, in <module> app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file) File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 109, in __init__ SoftwareProperties.__init__(self, options=options, datadir=datadir) File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__ self.reload_sourceslist() File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist self.distro.get_sources(self.sourceslist) File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 94, in get_sources (self.id, self.codename)) aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Devuan/beowulf Fix: I created the files /usr/share/python-apt/templates/Devuan.info: ChangelogURI: http://packages.debian.org/changelogs/pool/%s/%s/%s/%s_%s/changelog Suite: beowulf RepositoryType: deb BaseURI: http://deb.devuan.org/merged/ MatchURI: ((http|ftp)[0-9]*\.([a-z]*\.){0,1}|deb\.|httpredir\.)devuan\.org MirrorsFile: Devuan.mirrors Description: Devuan 3 'Beowulf' Component: main CompDescription: Officially supported Component: contrib CompDescription: DFSG-compatible Software with Non-Free Dependencies Component: non-free CompDescription: Non-DFSG-compatible Software Suite: beowulf-security RepositoryType: deb ParentSuite: beowulf Description: Security updates Suite: beowulf-updates RepositoryType: deb ParentSuite: beowulf Description: Recommended updates and /usr/share/python-apt/templates/Devuan.mirrors: #LOC:GB http://gb.deb.devuan.org/merged/ ..and it works ok now. Seems like these files need to be added to python-apt. I couldn't find the proper ChangelogURI though, but otherwise it works. Using Devuan 3/Beowulf. Regards, Richard Missenden.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Richard Missenden <[email protected]> Subject: bug#549: Acknowledgement (software-properties-gtk crashes due to missing distribution template for Devuan [fix]) Message-ID: <[email protected]> References: <[email protected]> X-Devuan-PR-Message: ack 549 X-Devuan-PR-Package: python-apt-common Reply-To: [email protected] Date: Wed, 17 Feb 2021 15:03:04 +0000 Thank you for filing a new bug report with Devuan. You can follow progress on this bug here: 549: https://bugs.devuan.org/cgi/= bugreport.cgi?bug=3D549. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): [email protected] If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 549: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D549 Devuan Bug Tracking System Contact [email protected] with problems
Received: (at control) by bugs.devuan.org; 20 Jan 2023 07:40:34 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Fri, 20 Jan 2023 07:40:34 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id djftG2JFymMIUAAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Fri, 20 Jan 2023 07:40:18 +0000 Received: by email.devuan.org (Postfix, from userid 109) id 62D5990; Fri, 20 Jan 2023 07:40:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 6D0FE23 for <[email protected]>; Fri, 20 Jan 2023 07:40:13 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1pIm0R-0005lT-Lx for [email protected]; Fri, 20 Jan 2023 07:40:11 +0000 Received: (nullmailer pid 31794 invoked by uid 1000); Fri, 20 Jan 2023 07:40:11 -0000 Date: Fri, 20 Jan 2023 07:40:11 +0000 From: Mark Hindley <[email protected]> To: [email protected] Subject: reassign 549 to python-apt-common-devuan and merge into 662 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: devscripts bts/2.22.2 X-Debbugs-No-Ack: No Thanks reassign 549 python-apt-common-devuan merge 662 549 thanks
Received: (at control) by bugs.devuan.org; 20 Jan 2023 07:40:34 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Fri, 20 Jan 2023 07:40:34 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id djftG2JFymMIUAAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Fri, 20 Jan 2023 07:40:18 +0000 Received: by email.devuan.org (Postfix, from userid 109) id 62D5990; Fri, 20 Jan 2023 07:40:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 6D0FE23 for <[email protected]>; Fri, 20 Jan 2023 07:40:13 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1pIm0R-0005lT-Lx for [email protected]; Fri, 20 Jan 2023 07:40:11 +0000 Received: (nullmailer pid 31794 invoked by uid 1000); Fri, 20 Jan 2023 07:40:11 -0000 Date: Fri, 20 Jan 2023 07:40:11 +0000 From: Mark Hindley <[email protected]> To: [email protected] Subject: reassign 549 to python-apt-common-devuan and merge into 662 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: devscripts bts/2.22.2 X-Debbugs-No-Ack: No Thanks reassign 549 python-apt-common-devuan merge 662 549 thanks
Received: (at control) by bugs.devuan.org; 20 Jan 2023 07:40:34 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Fri, 20 Jan 2023 07:40:34 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id djftG2JFymMIUAAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Fri, 20 Jan 2023 07:40:18 +0000 Received: by email.devuan.org (Postfix, from userid 109) id 62D5990; Fri, 20 Jan 2023 07:40:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 6D0FE23 for <[email protected]>; Fri, 20 Jan 2023 07:40:13 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1pIm0R-0005lT-Lx for [email protected]; Fri, 20 Jan 2023 07:40:11 +0000 Received: (nullmailer pid 31794 invoked by uid 1000); Fri, 20 Jan 2023 07:40:11 -0000 Date: Fri, 20 Jan 2023 07:40:11 +0000 From: Mark Hindley <[email protected]> To: [email protected] Subject: reassign 549 to python-apt-common-devuan and merge into 662 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: devscripts bts/2.22.2 X-Debbugs-No-Ack: No Thanks reassign 549 python-apt-common-devuan merge 662 549 thanks
Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.
Devuan Bugs Owner <[email protected]>.
Last modified:
Sun, 1 Dec 2024 02:39:01 UTC