Re: [DNG] Bug in synaptic package manager?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Wed, 2022-01-26 at 03:30 +0200, Boian Bonev wrote: > > > Hi, > > a stupid question, could the templates be added to the base-files package > > that is already forked? > > It is not stupid at all - technically that is possible because there would be > no filename conflict. But I do not think it is the proper way because that > may > create confusion and would be hard to track for anyone not knowing what was > done. BTW I have no idea about the level of pureness desired, so I can't say. It was decided to add a Devuan specific package - python-apt-common-devuan, that is already in ceres but nothing depends on it. Soon the parts in tasksel that recommend synaptic will also recommend python-apt-common-devuan, so it would get installed automatically... Please test that - it does not depend on anything, so it should be easy to install the ceres package anywhere. Updates to the stable releases are pending after more thorough testing. HTH With best regards, b. -BEGIN PGP SIGNATURE- iQIzBAEBCgAdFiEEumC8IPN+WURNbSUAE2VyCRPS8i0FAmH6FNYACgkQE2VyCRPS 8i2zqBAAk1v4FBjdHzZOhw6vN7ygva3zuZaYf+iRbPHPcriZkVJi03TIEmZfRsrP EDGQHQKfeJHlbH27Kl8ZtwrxuIRaGbj+fTNwRG8zVQKZA2L17TWLSXJpJw5qESis /N+PzqGa0y4exMvNNqUZNQOvsqHSrAwtHqEg7fJ2Xi5fLQqC6pUWqQ/ciI+DHNcv 1pxAIN8ID66gdLieFLrZCQGzz9gUHUYLoSYTpJQ9ySbU5wBwFdoHz6ymsRTg+o/q Pf/ALKJm/FTI6xMMnLiIayyL30ZpWqJQYDrJj61NsD6yT3o5CXT3QMuVpM+tZP3P ylRr3b0LUX6LBWDp2k3iz1VyNdHLM1j+QS0wotqTIvHHjJ67p6N7nVDKvu947Yvm rCqxyeufE3lcO1NODisqEkYCWuyBvbxkzyY1Hxe+V8QRTG+3n8RLK63WB1FcE28M 1Cde0OGIz6X+QUEazGrqRMzSYff/B/2iQ0tBG09BetHuCcyj9E7FmLojNZeuIL0z NHOsflcc+kQgd9yC4kjfiFM0B0DoVlgnZ9LuZ9Haqmt0OAWamEHupkbTZ2oxIOgy rZhVkAn3+hJqmE8wIiUvsEZhdfje0R7R5Htr1GK5bGBpX38omKuITC7rJzi67EmA L4OJPChdTFFAGB53T541mcqnBb8BW6Y4HnKRaUm+fiyrhwBt0Rc= =H0PX -END PGP SIGNATURE- ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Bug in synaptic package manager?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 > ... > > There are two options: > > > > 1) Submit a PR to the packager/team in Debian > > 2) Fork the package for Devuan and maintain the appropriate information in > > it > > > > My opinion is that 1) is not a good option, because the mirror list is > > volatile > > information and that would require stable updates on a regular basis (and > > that > > won't easily happen in Debian) > > Hi, > a stupid question, could the templates be added to the base-files package > that is already forked? It is not stupid at all - technically that is possible because there would be no filename conflict. But I do not think it is the proper way because that may create confusion and would be hard to track for anyone not knowing what was done. BTW I have no idea about the level of pureness desired, so I can't say. With best regards, b. -BEGIN PGP SIGNATURE- iQIzBAEBCgAdFiEEumC8IPN+WURNbSUAE2VyCRPS8i0FAmHwpDcACgkQE2VyCRPS 8i2FTQ//UadDX/oN3Hzk1x3ubS4PX87Y4gzMkKAJLu/YEMV99Zb2QJZd3vvCryMw CyJTKfIxo9LipMSQrWvHmmO8lmcgzCD8zx+I/JvlJSf57ckmGOXkM/LPhmNwwWip aDnvDuatVNcI35f6mhd45jxzuXooz8+zG3R9c8TsnTJZC1pNe9DS9ZPA2UTxNgEq V3xLVrAh/7s+HY3/cI1ui0JurPTfD8COtqbV+BPGBpanqvAu4zBV8meWunzlOti4 xT9u8H0l+9myBAnJXwTwyF2Mw50DiDk5Y6kzyIGgxO5XCkbZYFr0cgY9IJ4xhJ04 ww1KTgoYQGDn1yHTh05MJsobSNqa1uy41+LcKLNFf9ewLkMb1rIff8916mTyswUW 4sID4QDTuCpdxjV2uRwaO4eWggB5TiI7rzQ798VhxSxAN+vwZu0IOPpqhEs8LwOw 3s/RZAm6o1uFJ6n/VIHTiTLbYVjYRCF/Qu0oHtJoYAl+g0mQfGZnU/AXm0pcpSox fTf2NE+bA0qo8bY/D5CIgh9TqtqoXFY3w/0uDXsWG5dGGLDWODvYO3+3GhHYx4Fv +eHAkWRCo24XBIbupqeVtpgOz/ABX9xoiV72XgQA6f9Gba+WeVPhrHBwqWNleO/T bX0lK2EUFu4q9DGNNxAK/clT7oD9JOzckx0BTTm6Go2JTggZHxk= =F05w -END PGP SIGNATURE- ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Bug in synaptic package manager?
Hi, tito via Dng writes: > On Wed, 26 Jan 2022 00:02:45 +0200 > Boian Bonev wrote: > >> ... >> > > > apt works for me it is just the dialog to modify, add or delete >> > > > repositories in synaptic >> > > > that doesn't work as some template is missing: >> > > > >> > > > aptsources.distro.NoDistroTemplateException: Error: could not find a >> > > > distribution template for Devuan/chimaera >> > > > >> > > > I was wondering If we couldn't add this template to synaptic itself >> > > > or to software-properties-gtk package. >> > > > >> > > > Ciao, >> > > > Tito >> > > > >> > > > >> > > Tito, >> > > It appears that there are no devuan-specific template files for >> > > synaptic. Attached is my first attempt (copied from Debian template, >> > > and modified, but I probably got some things wrong). These two files go >> > > in /usr/share/python-apt/templates >> > > Hope this helps somewhat. >> > > >> > > Temp >> > >> > Hi, >> > >> > thanks for your effort, I was not able to find where this templates were >> > hidden. >> > Seems to work here, software-properties-gtk dialog window opens without >> > exception. Could this somehow be added to debian or devuan? >> >> The templates live in python-apt-common (this package is not forked in >> Devuan). >> >> There are two options: >> >> 1) Submit a PR to the packager/team in Debian >> 2) Fork the package for Devuan and maintain the appropriate information in it >> >> My opinion is that 1) is not a good option, because the mirror list is >> volatile >> information and that would require stable updates on a regular basis (and >> that >> won't easily happen in Debian) > > Hi, > a stupid question, could the templates be added to the base-files package > that is already forked? Forking yet another package will add to the load but I don't think that adding the templates to base-files is a good idea. It hides their origin and quite likely leads to not noticing upstream changes. Hope this helps, -- Olaf MeeuwissenFSF Associate Member since 2004-01-27 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 Support Free Softwarehttps://my.fsf.org/donate Join the Free Software Foundation https://my.fsf.org/join ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Bug in synaptic package manager?
Hi, tito via Dng writes: > On Tue, 25 Jan 2022 10:27:52 +0100 > Didier Kryn wrote: > >> Le 25/01/2022 à 09:49, Olaf Meeuwissen via Dng a écrit : >> > Hi Tito, >> > >> > tito via Dng writes: >> > >> >> Hi, >> >> [... snip synaptic error message due to missing distribution >> >> template for Devuan/chimaera ...] >> > >> > BTW, I don't use synaptic myself. Too much bloat. The command-line >> > suits my needs just fine. >> > >> I'd have loved using aptitude but could never understand how to do >> the simplest thing with it, although I watched several experts using it >> and was impressed. As a menu-driven package manager, I very often use >> Synaptic, leaving apt-get for quick simple things or when dist-upgrading. > > Hi, > > for me synaptic is useful to find software I don't now about, > with simple queries I'm served a list of matches with summaries to choose > from. I use `apt search` or `apt-cache search` for that. Hope this helps, -- Olaf MeeuwissenFSF Associate Member since 2004-01-27 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 Support Free Softwarehttps://my.fsf.org/donate Join the Free Software Foundation https://my.fsf.org/join ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Bug in synaptic package manager?
On Wed, 26 Jan 2022 00:02:45 +0200 Boian Bonev wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > ... > > > > apt works for me it is just the dialog to modify, add or delete > > > > repositories in synaptic > > > > that doesn't work as some template is missing: > > > > > > > > aptsources.distro.NoDistroTemplateException: Error: could not find a > > > > distribution template for Devuan/chimaera > > > > > > > > I was wondering If we couldn't add this template to synaptic itself > > > > or to software-properties-gtk package. > > > > > > > > Ciao, > > > > Tito > > > > > > > > > > > Tito, > > > It appears that there are no devuan-specific template files for > > > synaptic. Attached is my first attempt (copied from Debian template, > > > and modified, but I probably got some things wrong). These two files go > > > in /usr/share/python-apt/templates > > > Hope this helps somewhat. > > > > > > Temp > > > > Hi, > > > > thanks for your effort, I was not able to find where this templates were > > hidden. > > Seems to work here, software-properties-gtk dialog window opens without > > exception. Could this somehow be added to debian or devuan? > > The templates live in python-apt-common (this package is not forked in > Devuan). > > There are two options: > > 1) Submit a PR to the packager/team in Debian > 2) Fork the package for Devuan and maintain the appropriate information in it > > My opinion is that 1) is not a good option, because the mirror list is > volatile > information and that would require stable updates on a regular basis (and that > won't easily happen in Debian) Hi, a stupid question, could the templates be added to the base-files package that is already forked? > Also I have noticed that this is not existing: http://security.devuan.org/ and > MatchURI: is not proper in most cases (contents of Devuan.info) Yes this needs to be fixed. > I can help with packaging the forked python-apt-common but I can not help with > testing because I do not use aptitude. I can test it with synaptic if needed. Ciao, Tito > With best regards, > b. > > > > -BEGIN PGP SIGNATURE- > > iQIzBAEBCgAdFiEEumC8IPN+WURNbSUAE2VyCRPS8i0FAmHwc4UACgkQE2VyCRPS > 8i1OXBAAsy7yMsxzXrdHJ0BKFffzKhErDpZq5A5TqKNNwhTxWg/RqBgRAWzrNQ97 > XzJbsYuztcAMeSOyt0Sv0y2StzMqopjzwa9whkEEbOTS2sr0Lz76gTM84ExL7RBH > 5njGNSKT8I3bLdlXFdkVbbQj0WbSB0JRY6Y4gb2Xu80jhXuN/f5TweRghyd3izPX > fhVC3SETIUBp0dZ+UKGvSIIp1QXqNWCySyzF9nhHJMhuC4A5H9qf7vfHSLEvonqo > 6Je452rBE/A4teGT8Q+m28d2qbziKyKE2cdFxu0xrL/94Rdu/cSDF0LLtYpEIXmk > KunoIjDBMnCyhN5Xm1z5ErlXHeJOiY4CQ+57CuSEA0V9fK+rp8mw1nvicGahbzvv > f8s4pPCYi4KQOTh5/hphY+b/nCl6YLLZcdpkkt0nm1EQcGMemqJmPud6b9b5uB8M > SXc0Bem2O+sQIdaMeMbckrfGkU1aq1R4/CHU5H58lxB+UDP4Y8sxOe55ggGFx37t > 5rhPUf3B2nGna3YzV3/+w+qc4z1bvtEz9Kds6NNTk8tckhy2y80lemRZ994LZInE > UO6WkhYeP1UmeeIBKyUjuDGEZSXqF9rAgX5OuGpzOv2H3breV1uCiT/Ek2f1F3gj > m0MvqOwXH0mKvgCEmS3hQmDpWNS+wnEY5f9pq6DGMesP8O3Z/pA= > =Vxpy > -END PGP SIGNATURE- > > ___ > Dng mailing list > Dng@lists.dyne.org > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Bug in synaptic package manager?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 ... > > > apt works for me it is just the dialog to modify, add or delete > > > repositories in synaptic > > > that doesn't work as some template is missing: > > > > > > aptsources.distro.NoDistroTemplateException: Error: could not find a > > > distribution template for Devuan/chimaera > > > > > > I was wondering If we couldn't add this template to synaptic itself > > > or to software-properties-gtk package. > > > > > > Ciao, > > > Tito > > > > > > > > Tito, > > It appears that there are no devuan-specific template files for > > synaptic. Attached is my first attempt (copied from Debian template, > > and modified, but I probably got some things wrong). These two files go > > in /usr/share/python-apt/templates > > Hope this helps somewhat. > > > > Temp > > Hi, > > thanks for your effort, I was not able to find where this templates were > hidden. > Seems to work here, software-properties-gtk dialog window opens without > exception. Could this somehow be added to debian or devuan? The templates live in python-apt-common (this package is not forked in Devuan). There are two options: 1) Submit a PR to the packager/team in Debian 2) Fork the package for Devuan and maintain the appropriate information in it My opinion is that 1) is not a good option, because the mirror list is volatile information and that would require stable updates on a regular basis (and that won't easily happen in Debian) Also I have noticed that this is not existing: http://security.devuan.org/ and MatchURI: is not proper in most cases (contents of Devuan.info) I can help with packaging the forked python-apt-common but I can not help with testing because I do not use aptitude. With best regards, b. -BEGIN PGP SIGNATURE- iQIzBAEBCgAdFiEEumC8IPN+WURNbSUAE2VyCRPS8i0FAmHwc4UACgkQE2VyCRPS 8i1OXBAAsy7yMsxzXrdHJ0BKFffzKhErDpZq5A5TqKNNwhTxWg/RqBgRAWzrNQ97 XzJbsYuztcAMeSOyt0Sv0y2StzMqopjzwa9whkEEbOTS2sr0Lz76gTM84ExL7RBH 5njGNSKT8I3bLdlXFdkVbbQj0WbSB0JRY6Y4gb2Xu80jhXuN/f5TweRghyd3izPX fhVC3SETIUBp0dZ+UKGvSIIp1QXqNWCySyzF9nhHJMhuC4A5H9qf7vfHSLEvonqo 6Je452rBE/A4teGT8Q+m28d2qbziKyKE2cdFxu0xrL/94Rdu/cSDF0LLtYpEIXmk KunoIjDBMnCyhN5Xm1z5ErlXHeJOiY4CQ+57CuSEA0V9fK+rp8mw1nvicGahbzvv f8s4pPCYi4KQOTh5/hphY+b/nCl6YLLZcdpkkt0nm1EQcGMemqJmPud6b9b5uB8M SXc0Bem2O+sQIdaMeMbckrfGkU1aq1R4/CHU5H58lxB+UDP4Y8sxOe55ggGFx37t 5rhPUf3B2nGna3YzV3/+w+qc4z1bvtEz9Kds6NNTk8tckhy2y80lemRZ994LZInE UO6WkhYeP1UmeeIBKyUjuDGEZSXqF9rAgX5OuGpzOv2H3breV1uCiT/Ek2f1F3gj m0MvqOwXH0mKvgCEmS3hQmDpWNS+wnEY5f9pq6DGMesP8O3Z/pA= =Vxpy -END PGP SIGNATURE- ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Bug in synaptic package manager?
On Tue, 25 Jan 2022 10:20:18 -0500 tempforever wrote: > tito via Dng wrote: > > On Tue, 25 Jan 2022 17:49:49 +0900 > > Olaf Meeuwissen via Dng wrote: > > > >> Hi Tito, > >> > >> tito via Dng writes: > >> > >>> Hi, > >>> while trying to open the Settings>Repositories menu in Synaptic package > >>> manager i get: > >>> > >>> synaptic-pkexec > >>> ERROR:root:Cannot import UbuntuDrivers: No module named 'UbuntuDrivers' > >>> Traceback (most recent call last): > >>> File "/usr/bin/software-properties-gtk", line 101, in > >>> 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 91, in > >>> get_sources > >>> raise NoDistroTemplateException( > >>> aptsources.distro.NoDistroTemplateException: Error: could not find a > >>> distribution template for Devuan/chimaera > >>> > >>> > >>> Could this be a bug ot did I just manage to break my setup once again? > >> Here's wondering why youu'd need UbuntuDrivers on a Devuan system but > >> ... I'd try an `apt update` with root privileges on the command line > >> to check that your APT sources are okay. Probably > >> > >> sudo apt update > > Hi, > > apt works for me it is just the dialog to modify, add or delete > > repositories in synaptic > > that doesn't work as some template is missing: > > > > aptsources.distro.NoDistroTemplateException: Error: could not find a > > distribution template for Devuan/chimaera > > > > I was wondering If we couldn't add this template to synaptic itself > > or to software-properties-gtk package. > > > > Ciao, > > Tito > > > > > Tito, > It appears that there are no devuan-specific template files for > synaptic. Attached is my first attempt (copied from Debian template, > and modified, but I probably got some things wrong). These two files go > in /usr/share/python-apt/templates > Hope this helps somewhat. > > Temp Hi, thanks for your effort, I was not able to find where this templates were hidden. Seems to work here, software-properties-gtk dialog window opens without exception. Could this somehow be added to debian or devuan? Ciao, Tito ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Bug in synaptic package manager?
On Tue, 25 Jan 2022 11:06:22 +0100 Michael Neuffer via Dng wrote: > > > On 1/25/22 10:27, Didier Kryn wrote: > > Le 25/01/2022 à 09:49, Olaf Meeuwissen via Dng a écrit : > >> Hi Tito, > >> > >> tito via Dng writes: > [...] > >> BTW, I don't use synaptic myself. Too much bloat. The command-line > >> suits my needs just fine. > >> > >> > > I'd have loved using aptitude but could never understand how to do > > the simplest thing with it, although I watched several experts using it > > and was impressed. As a menu-driven package manager, I very often use > > Synaptic, leaving apt-get for quick simple things or when dist-upgrading. > > > > I don't use synaptic with pkexec to get the permission. I think I > > haven't pkexec installed. I have a button on my pannel programmed with > > sh -c "SUDO_ASKPASS=/usr/bin/ssh-askpass sudo -A synaptic". > > > > For this to work, I must have ssh-askpass installed, /etc/sudoers > > configured to allow me to invoque synaptic, plus the following line in > > /etc/sudoers: > > > > Defaults env_keep = "EDITOR LOGNAME XAUTHORITY DISPLAY" > > > > Only XAUTHORITY and DISPLAY are needed in this case, the other > > variables serve other purposes. > > Why don't you use the trusty old dselect? > > Cheers >Mike But I want to use synaptic... :-( > ___ > Dng mailing list > Dng@lists.dyne.org > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Bug in synaptic package manager?
tito via Dng wrote: > On Tue, 25 Jan 2022 17:49:49 +0900 > Olaf Meeuwissen via Dng wrote: > >> Hi Tito, >> >> tito via Dng writes: >> >>> Hi, >>> while trying to open the Settings>Repositories menu in Synaptic package >>> manager i get: >>> >>> synaptic-pkexec >>> ERROR:root:Cannot import UbuntuDrivers: No module named 'UbuntuDrivers' >>> Traceback (most recent call last): >>> File "/usr/bin/software-properties-gtk", line 101, in >>> 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 91, in >>> get_sources >>> raise NoDistroTemplateException( >>> aptsources.distro.NoDistroTemplateException: Error: could not find a >>> distribution template for Devuan/chimaera >>> >>> >>> Could this be a bug ot did I just manage to break my setup once again? >> Here's wondering why youu'd need UbuntuDrivers on a Devuan system but >> ... I'd try an `apt update` with root privileges on the command line >> to check that your APT sources are okay. Probably >> >> sudo apt update > Hi, > apt works for me it is just the dialog to modify, add or delete repositories > in synaptic > that doesn't work as some template is missing: > > aptsources.distro.NoDistroTemplateException: Error: could not find a > distribution template for Devuan/chimaera > > I was wondering If we couldn't add this template to synaptic itself > or to software-properties-gtk package. > > Ciao, > Tito > > Tito, It appears that there are no devuan-specific template files for synaptic. Attached is my first attempt (copied from Debian template, and modified, but I probably got some things wrong). These two files go in /usr/share/python-apt/templates Hope this helps somewhat. Temp Devuan.info Description: application/info http://deb.devuan.org/devuan/ #LOC:AM #LOC:AR #LOC:AT #LOC:AU #LOC:BE #LOC:BG #LOC:BR #LOC:BY #LOC:CA #LOC:CH #LOC:CL #LOC:CN #LOC:CR #LOC:CZ #LOC:DE #LOC:DK #LOC:EE #LOC:ES #LOC:FI #LOC:FR #LOC:GB #LOC:GE #LOC:GR #LOC:HK #LOC:HR #LOC:HU #LOC:ID #LOC:IL #LOC:IN #LOC:IR #LOC:IT #LOC:JP #LOC:KE #LOC:KG #LOC:KH #LOC:KR #LOC:KZ #LOC:LT #LOC:LU #LOC:LV #LOC:MD #LOC:MK #LOC:NC #LOC:NL #LOC:NO #LOC:NZ #LOC:PH #LOC:PL #LOC:PT #LOC:RE #LOC:RO #LOC:RS #LOC:RU #LOC:SE #LOC:SG #LOC:SI #LOC:SK #LOC:SV #LOC:TH #LOC:TR #LOC:TW #LOC:UA #LOC:US #LOC:UY #LOC:VN #LOC:ZA ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Bug in synaptic package manager?
On 1/25/22 10:27, Didier Kryn wrote: Le 25/01/2022 à 09:49, Olaf Meeuwissen via Dng a écrit : Hi Tito, tito via Dng writes: [...] BTW, I don't use synaptic myself. Too much bloat. The command-line suits my needs just fine. I'd have loved using aptitude but could never understand how to do the simplest thing with it, although I watched several experts using it and was impressed. As a menu-driven package manager, I very often use Synaptic, leaving apt-get for quick simple things or when dist-upgrading. I don't use synaptic with pkexec to get the permission. I think I haven't pkexec installed. I have a button on my pannel programmed with sh -c "SUDO_ASKPASS=/usr/bin/ssh-askpass sudo -A synaptic". For this to work, I must have ssh-askpass installed, /etc/sudoers configured to allow me to invoque synaptic, plus the following line in /etc/sudoers: Defaults env_keep = "EDITOR LOGNAME XAUTHORITY DISPLAY" Only XAUTHORITY and DISPLAY are needed in this case, the other variables serve other purposes. Why don't you use the trusty old dselect? Cheers Mike ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Bug in synaptic package manager?
On Tue, 25 Jan 2022 10:27:52 +0100 Didier Kryn wrote: > Le 25/01/2022 à 09:49, Olaf Meeuwissen via Dng a écrit : > > Hi Tito, > > > > tito via Dng writes: > > > >> Hi, > >> while trying to open the Settings>Repositories menu in Synaptic package > >> manager i get: > >> > >> synaptic-pkexec > >> ERROR:root:Cannot import UbuntuDrivers: No module named 'UbuntuDrivers' > >> Traceback (most recent call last): > >>File "/usr/bin/software-properties-gtk", line 101, in > >> 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 91, in > >> get_sources > >> raise NoDistroTemplateException( > >> aptsources.distro.NoDistroTemplateException: Error: could not find a > >> distribution template for Devuan/chimaera > >> > >> > >> Could this be a bug ot did I just manage to break my setup once again? > > Here's wondering why youu'd need UbuntuDrivers on a Devuan system but > > ... I'd try an `apt update` with root privileges on the command line > > to check that your APT sources are okay. Probably > > > >sudo apt update > > > > will do that trick. If that goes alright (ignoring network issues), you > > didn't obviously break your APT setup. > > > > You might also want to post the output of > > > >sed 's/#.*//; /^[ \t]*$/d' /etc/apt/sources.list{,.d/*} > > > > so we can see what sources you're using. > > > > BTW, I don't use synaptic myself. Too much bloat. The command-line > > suits my needs just fine. > > > > > I'd have loved using aptitude but could never understand how to do > the simplest thing with it, although I watched several experts using it > and was impressed. As a menu-driven package manager, I very often use > Synaptic, leaving apt-get for quick simple things or when dist-upgrading. Hi, for me synaptic is useful to find software I don't now about, with simple queries I'm served a list of matches with summaries to choose from. Ciao, Tito > I don't use synaptic with pkexec to get the permission. I think I > haven't pkexec installed. I have a button on my pannel programmed with > sh -c "SUDO_ASKPASS=/usr/bin/ssh-askpass sudo -A synaptic". > > For this to work, I must have ssh-askpass installed, /etc/sudoers > configured to allow me to invoque synaptic, plus the following line in > /etc/sudoers: > > Defaults env_keep = "EDITOR LOGNAME XAUTHORITY DISPLAY" > > Only XAUTHORITY and DISPLAY are needed in this case, the other > variables serve other purposes. > > Hth. > > -- Didier > > ___ > Dng mailing list > Dng@lists.dyne.org > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Bug in synaptic package manager?
On Tue, 25 Jan 2022 17:49:49 +0900 Olaf Meeuwissen via Dng wrote: > Hi Tito, > > tito via Dng writes: > > > Hi, > > while trying to open the Settings>Repositories menu in Synaptic package > > manager i get: > > > > synaptic-pkexec > > ERROR:root:Cannot import UbuntuDrivers: No module named 'UbuntuDrivers' > > Traceback (most recent call last): > > File "/usr/bin/software-properties-gtk", line 101, in > > 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 91, in > > get_sources > > raise NoDistroTemplateException( > > aptsources.distro.NoDistroTemplateException: Error: could not find a > > distribution template for Devuan/chimaera > > > > > > Could this be a bug ot did I just manage to break my setup once again? > > Here's wondering why youu'd need UbuntuDrivers on a Devuan system but > ... I'd try an `apt update` with root privileges on the command line > to check that your APT sources are okay. Probably > > sudo apt update Hi, apt works for me it is just the dialog to modify, add or delete repositories in synaptic that doesn't work as some template is missing: aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Devuan/chimaera I was wondering If we couldn't add this template to synaptic itself or to software-properties-gtk package. Ciao, Tito > > will do that trick. If that goes alright (ignoring network issues), you > didn't obviously break your APT setup. > > You might also want to post the output of > > sed 's/#.*//; /^[ \t]*$/d' /etc/apt/sources.list{,.d/*} > > so we can see what sources you're using. > > BTW, I don't use synaptic myself. Too much bloat. The command-line > suits my needs just fine. > > Hope this helps, > -- > Olaf MeeuwissenFSF Associate Member since 2004-01-27 > GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 > Support Free Softwarehttps://my.fsf.org/donate > Join the Free Software Foundation https://my.fsf.org/join > ___ > Dng mailing list > Dng@lists.dyne.org > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Bug in synaptic package manager?
Le 25/01/2022 à 09:49, Olaf Meeuwissen via Dng a écrit : Hi Tito, tito via Dng writes: Hi, while trying to open the Settings>Repositories menu in Synaptic package manager i get: synaptic-pkexec ERROR:root:Cannot import UbuntuDrivers: No module named 'UbuntuDrivers' Traceback (most recent call last): File "/usr/bin/software-properties-gtk", line 101, in 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 91, in get_sources raise NoDistroTemplateException( aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Devuan/chimaera Could this be a bug ot did I just manage to break my setup once again? Here's wondering why youu'd need UbuntuDrivers on a Devuan system but ... I'd try an `apt update` with root privileges on the command line to check that your APT sources are okay. Probably sudo apt update will do that trick. If that goes alright (ignoring network issues), you didn't obviously break your APT setup. You might also want to post the output of sed 's/#.*//; /^[ \t]*$/d' /etc/apt/sources.list{,.d/*} so we can see what sources you're using. BTW, I don't use synaptic myself. Too much bloat. The command-line suits my needs just fine. I'd have loved using aptitude but could never understand how to do the simplest thing with it, although I watched several experts using it and was impressed. As a menu-driven package manager, I very often use Synaptic, leaving apt-get for quick simple things or when dist-upgrading. I don't use synaptic with pkexec to get the permission. I think I haven't pkexec installed. I have a button on my pannel programmed with sh -c "SUDO_ASKPASS=/usr/bin/ssh-askpass sudo -A synaptic". For this to work, I must have ssh-askpass installed, /etc/sudoers configured to allow me to invoque synaptic, plus the following line in /etc/sudoers: Defaults env_keep = "EDITOR LOGNAME XAUTHORITY DISPLAY" Only XAUTHORITY and DISPLAY are needed in this case, the other variables serve other purposes. Hth. -- Didier ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Bug in synaptic package manager?
Hi Tito, tito via Dng writes: > Hi, > while trying to open the Settings>Repositories menu in Synaptic package > manager i get: > > synaptic-pkexec > ERROR:root:Cannot import UbuntuDrivers: No module named 'UbuntuDrivers' > Traceback (most recent call last): > File "/usr/bin/software-properties-gtk", line 101, in > 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 91, in > get_sources > raise NoDistroTemplateException( > aptsources.distro.NoDistroTemplateException: Error: could not find a > distribution template for Devuan/chimaera > > > Could this be a bug ot did I just manage to break my setup once again? Here's wondering why youu'd need UbuntuDrivers on a Devuan system but ... I'd try an `apt update` with root privileges on the command line to check that your APT sources are okay. Probably sudo apt update will do that trick. If that goes alright (ignoring network issues), you didn't obviously break your APT setup. You might also want to post the output of sed 's/#.*//; /^[ \t]*$/d' /etc/apt/sources.list{,.d/*} so we can see what sources you're using. BTW, I don't use synaptic myself. Too much bloat. The command-line suits my needs just fine. Hope this helps, -- Olaf MeeuwissenFSF Associate Member since 2004-01-27 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 Support Free Softwarehttps://my.fsf.org/donate Join the Free Software Foundation https://my.fsf.org/join ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
[DNG] Bug in synaptic package manager?
Hi, while trying to open the Settings>Repositories menu in Synaptic package manager i get: synaptic-pkexec ERROR:root:Cannot import UbuntuDrivers: No module named 'UbuntuDrivers' Traceback (most recent call last): File "/usr/bin/software-properties-gtk", line 101, in 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 91, in get_sources raise NoDistroTemplateException( aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Devuan/chimaera Could this be a bug ot did I just manage to break my setup once again? Ciao, Tito ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng