Firefox update issue
Jim
jf_byrnes at comcast.net
Tue Feb 7 22:00:14 UTC 2017
On 02/07/2017 03:08 PM, MR ZenWiz wrote:
> On Mon, Feb 6, 2017 at 11:39 PM, Colin Law <clanlaw at gmail.com> wrote:
>>
>> Have you been fiddling with python versions? Googling for
>> ImportError: No module named 'lsb_release'
>> suggests this may be a python issue.
>>
>
> Looks right - see below:
>
> admar at marbase:~/Downloads $ locate lsb_release
> /usr/bin/lsb_release
> /usr/lib/python2.7/dist-packages/lsb_release.py
> /usr/lib/python2.7/dist-packages/lsb_release.pyc
> /usr/share/man/man1/lsb_release.1.gz
> /usr/share/pyshared/lsb_release.py
FWIW on Mint18.1 I have it.
jfb at jims-mint18 ~ $ locate lsb_release.py
/usr/lib/python2.7/dist-packages/lsb_release.py
/usr/lib/python2.7/dist-packages/lsb_release.pyc
/usr/lib/python3/dist-packages/lsb_release.py
/usr/share/pyshared/lsb_release.py
jfb at jims-mint18 ~ $
Looking at the timestamps etc, they seem to be identical and it should
be comparable with Python3 as it has this line:
# Python3-compatible print() function
from __future__ import print_function
so maybe you could just copy the one from 2.7 to python 3.
Regards, Jim
> admar at marbase:~/Downloads $ lsb_release
> Traceback (most recent call last):
> File "/usr/bin/lsb_release", line 25, in <module>
> import lsb_release
> ImportError: No module named 'lsb_release'
>
> admar at marbase:~/Downloads $ file /usr/bin/lsb_release
> /usr/bin/lsb_release: Python script, ASCII text executable
>
> admar at marbase:~/Downloads $ python --version
> Python 2.7.12
> admar at marbase:~/Downloads $ python3 --version
> Python 3.5.2
>
> It appears that the python3 version of lsb_release.py is missing. I
> tried various combinations of apt-get and synaptic to fix this, but
> there doesn't seem to be one.
>
>
> There's also this, which I confess I don't completely follow:
>
> admar at marbase:~ $ sudo apt-cache show lsb-release
> Package: lsb-release
> Priority: important
> Section: misc
> Installed-Size: 63
> Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
> Original-Maintainer: Debian LSB Team <debian-lsb at lists.debian.org>
> Architecture: all
> Source: lsb
> Version: 9.20160110ubuntu0.2
> Depends: python3:any (>= 3.4~), distro-info-data
> Recommends: apt
> Suggests: lsb
> Filename: pool/main/l/lsb/lsb-release_9.20160110ubuntu0.2_all.deb
> Size: 11804
> MD5sum: 0059d388d2afe033f7ab50913d1e41c8
> SHA1: 9dc69606996ee748e2140eb97e4b4575cbc3155d
> SHA256: 717d2c8e24b5db16b7f7bab27a5583572e17aa752fbe2a7bdabefd707e385f70
> Description-en: Linux Standard Base version reporting utility
> The Linux Standard Base (http://www.linuxbase.org/) is a standard
> core system that third-party applications written for Linux can
> depend upon.
> .
> The lsb-release command is a simple tool to help identify the Linux
> distribution being used and its compliance with the Linux Standard Base.
> LSB conformance will not be reported unless the required metapackages are
> installed.
> .
> While it is intended for use by LSB packages, this command may also
> be useful for programmatically distinguishing between a pure Debian
> installation and derived distributions.
> Description-md5: 65ec3e346c054b77b914b6a1d4e5fb15
> Multi-Arch: foreign
> Homepage: http://www.linuxfoundation.org/collaborate/workgroups/lsb
> Bugs: https://bugs.launchpad.net/ubuntu/+filebug
> Origin: Ubuntu
> Supported: 5y
> Task: minimal, ubuntu-core, ubuntu-core, ubuntu-sdk
>
> Package: lsb-release
> Priority: important
> Section: misc
> Installed-Size: 62
> Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
> Original-Maintainer: Debian LSB Team <debian-lsb at lists.debian.org>
> Architecture: all
> Source: lsb
> Version: 9.20160110
> Depends: python3:any (>= 3.4~), distro-info-data
> Recommends: apt
> Suggests: lsb
> Filename: pool/main/l/lsb/lsb-release_9.20160110_all.deb
> Size: 11088
> MD5sum: b30ed3c4c212f33b20e10a2a3156a11f
> SHA1: 68f11e74345405f0fbbfa602442291bf8825daad
> SHA256: 5da2131814f0bfe12d2437de7ae96e1e3d86652ce56ea2f129944bb691e512e3
> Description-en: Linux Standard Base version reporting utility
> The Linux Standard Base (http://www.linuxbase.org/) is a standard
> core system that third-party applications written for Linux can
> depend upon.
> .
> The lsb-release command is a simple tool to help identify the Linux
> distribution being used and its compliance with the Linux Standard Base.
> LSB conformance will not be reported unless the required metapackages are
> installed.
> .
> While it is intended for use by LSB packages, this command may also
> be useful for programmatically distinguishing between a pure Debian
> installation and derived distributions.
> Description-md5: 65ec3e346c054b77b914b6a1d4e5fb15
> Multi-Arch: foreign
> Homepage: http://www.linuxfoundation.org/collaborate/workgroups/lsb
> Bugs: https://bugs.launchpad.net/ubuntu/+filebug
> Origin: Ubuntu
> Supported: 5y
> Task: minimal, ubuntu-core, ubuntu-core, ubuntu-sdk
>
> Seems like everything is there, but it doesn't work.
>
> MR
>
More information about the ubuntu-users
mailing list