[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2021-09-10 Thread Pedro Miguel Baptista Machado
*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829 Just run: sudo python3 -m pip uninstall distro-info sudo apt reinstall python3-distro-info -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-11-03 Thread Jaroslaw Smorczewski
*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829 After upgrade my distro-info came to "normal" and it sports version and get_all methods indeed. They are slightly different that my mod but effect is the same. -- You received this bug notification

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-11-03 Thread Jaroslaw Smorczewski
*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829 I can confirm that the system upgrade went all good and I have Ubuntu 20.04 LTS now with new KDE GUI, everything works fine and I have no issues so far. For those having the same issue, my hack works. --

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-11-03 Thread Jaroslaw Smorczewski
*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829 All right, cosidering Brian feedback I found the way to override the issue. This is my modification to distro-info.py file sitting in: /usr/local/lib/python3.6/dist-packages/ I had to add 2 methods to

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-11-03 Thread Jaroslaw Smorczewski
*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829 updating these packages or update manager do nothing. I mean no changes in the system. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-11-03 Thread Jaroslaw Smorczewski
*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829 well, I can't say exactly, that's the thing. When I call Muon it shows me: python-distro-info to be 018ubuntu18.04.1, size 53kb when I call pip3 it shows me: distro-info to be 0.0.0 - this package cannot

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-11-02 Thread Brian Murray
*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829 I'd be really helpful to know the version of python3-distro-info you have installed. You can check with 'apt list python3-distro-info'. Everything is fine with the official version of the package

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-11-02 Thread Jaroslaw Smorczewski
*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829 instead of proving that everything is fine here (it is not), please paste you DistroInfo class code. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-11-02 Thread Jaroslaw Smorczewski
*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829 to be fair with Brian, here is my output and no version can provide that you have >>> import distro_info >>> di = distro_info.UbuntuDistroInfo() >>> [r.version for r in di.get_all("object")] Traceback

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-11-02 Thread Jaroslaw Smorczewski
*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829 Well, it doesn't for many others. As I said I compared all the disto-versions of ubuntu 18.04 and none f them has version or get_all() method. In your case it seems to be a left over from older systems

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-11-02 Thread Jaroslaw Smorczewski
*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829 it would be a greater help if someone could attach DistroInfo object code here. The of which works of course, the fix of this issue is quite obvious but it require help from those who have no issue. --

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-11-02 Thread Brian Murray
*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829 bdmurray@clean-bionic-amd64:~$ apt-cache policy python3-distro-info python3-distro-info: Installed: 0.23ubuntu1 Candidate: 0.23ubuntu1 Version table: *** 0.23ubuntu1 500 500

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-11-01 Thread Jaroslaw Smorczewski
*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829 in my case reinstalling distro-info doesn't help I compared the code of both packages and spoken class DistroInfo is exactly the same. I think that upgrade scripts are outdated, not distro-info package.

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-11-01 Thread Jaroslaw Smorczewski
*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829 This bug affects all ubuntu version since I think 18.04 The problem is that upgrader tries to use UbuntuDistroInfo object (child of DistroInfo) in unsupported way. I believe it is upgrader issue. At least

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-04-24 Thread Brian Murray
*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829 ** This bug has been marked a duplicate of bug 1848829 upgrade from 19.04 to 19.10 failed due pip install of distro-info -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-04-24 Thread Fork
*** This bug is a duplicate of bug 1848829 *** https://bugs.launchpad.net/bugs/1848829 This seems to typically stem from a pip-installed version of distro-info shadowing the apt version, like in the issue David S linked. I'm not sure this can be prevented by the updater. If you're here

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-04-24 Thread David S
This fixed the installer issue. ^^^ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874250 Title: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-04-24 Thread David S
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release- upgrader/+bug/1848829 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874250 Title: do-release-upgrade fails 19.10->20.04 AttributeError:

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-04-24 Thread David S
Ok, I've done some debugging, and it turns out the error is exactly right (surprise). There is no 'version' attribute on the UbuntuDistroInfo class. I made one. Now it wants a 'get_all' attribute, which is also not there. Is this file just out-of-date? Should I update it somehow? -- You received

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-04-23 Thread David S
Sorry about the extra timestamp in there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874250 Title: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-04-23 Thread David S
I ran your command: python3 -c "import distro_info; print(distro_info.UbuntuDistroInfo().version('eoan'))" 35.7s  Thu 23 Apr 2020 09:38:42 PM EDT Traceback (most recent call last): File "", line 1, in AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-04-23 Thread David S
update-manager -c -d 39.6s  Thu 23 Apr 2020 09:33:17 PM EDT WARNING:root:estimate_kernel_initrd_size_in_boot() returned '0' for kernel? WARNING:root:estimate_kernel_initrd_size_in_boot() returned '0' for

[Bug 1874250] Re: do-release-upgrade fails 19.10->20.04 AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'

2020-04-22 Thread Brian Murray
Can you try this in a terminal and let us know the output? python3 -c "import distro_info; print(distro_info.UbuntuDistroInfo().version('eoan'))" ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of