https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-advantage-tools (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
We recently encountered an issue with our deployment pipeline when installing Ubuntu 18.04.
"ubuntu-minimal" now depends on ubuntu-
ModuleNotFoundE
I added OS packages 'python-opcua' and 'python3-opcua' and the error changed to:
No module named 'uaclient.
I'm wondering why the dependencies can't be resolved at install time through APT per usual. The setup consistently exits with a '1', which fails our build pipeline. Hopefully that's not the default behavior. More info in the comment below
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Joseph O'Connor (geopython1916) wrote : | #1 |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Joseph O'Connor (geopython1916) wrote : | #2 |
Been trying to install Ubuntu-
Joseph O
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Paride Legovini (paride) wrote : | #3 |
Hello and thanks for this bug report. I tried to reproduce the problem from a clean Bionic system, but ubuntu-
root@paride-b:~# apt install ubuntu-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
distro-info
Suggested packages:
shunit2
The following NEW packages will be installed:
distro-info ubuntu-
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 706 kB of archives.
After this operation, 2941 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://
Get:2 http://
Fetched 706 kB in 0s (2295 kB/s)
Preconfiguring packages ...
Selecting previously unselected package distro-info.
(Reading database ... 28863 files and directories currently installed.)
Preparing to unpack .../distro-
Unpacking distro-info (0.18ubuntu0.
Selecting previously unselected package ubuntu-
Preparing to unpack .../ubuntu-
Unpacking ubuntu-
Setting up distro-info (0.18ubuntu0.
Setting up ubuntu-
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
root@paride-b:~#
Could you please share more details on how your deployment pipeline works? What's the image you are starting with? Please share any detail that can help up set up a reproducer. Thanks!
Changed in ubuntu-advantage-tools (Ubuntu): | |
status: | New → Incomplete |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Grant Orndorff (orndorffgrant) wrote : | #4 |
Hello Joseph and Paride,
This looks like it might be a variation on bug 1930121
Do you have a non-standard python installation? (not installed via apt)
If so, then the quick fix is hopefully to just set PYTHONPATH=
PYTHONPATH=
and then try to `import uaclient` in the python shell.
'python-opcua' and 'python3-opcua' are unrelated. There is an unfortunate module naming collision between those packages and ubuntu-
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Joseph O'Connor (geopython1916) wrote : Re: [Bug 1946034] Re: https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools | #5 |
Grant
The answer for myself is very likely yes... I will try your solution and
fill you in on the results.
Joseph O
On Tue, Oct 5, 2021 at 7:55 AM Grant Orndorff <email address hidden>
wrote:
> Hello Joseph and Paride,
>
> This looks like it might be a variation on bug 1930121
>
> Do you have a non-standard python installation? (not installed via apt)
>
> If so, then the quick fix is hopefully to just set
> PYTHONPATH=
> PYTHONPATH=
> and then try to `import uaclient` in the python shell.
>
> 'python-opcua' and 'python3-opcua' are unrelated. There is an
> unfortunate module naming collision between those packages and ubuntu-
> advantage-tools :(
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> https:/
>
> Status in ubuntu-
> Incomplete
>
> Bug description:
> We recently encountered an issue with our deployment pipeline when
> installing Ubuntu 18.04.
>
> "ubuntu-minimal" now depends on ubuntu-
> fails install with:
> ModuleNotFoundE
>
> I added OS packages 'python-opcua' and 'python3-opcua' and the error
> changed to:
> No module named 'uaclient.
>
> I'm wondering why the dependencies can't be resolved at install time
> through APT per usual. The setup consistently exits with a '1', which
> fails our build pipeline. Hopefully that's not the default behavior.
> More info in the comment below
>
> To manage notifications about this bug go to:
>
> https:/
>
>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Joseph O'Connor (geopython1916) wrote : | #6 |
Grant:
Your fix seems to work.... I'll do a bit more testing and let you know
ALLS WELL!!
Joseph O
On Tue, Oct 5, 2021 at 7:55 AM Grant Orndorff <email address hidden>
wrote:
> Hello Joseph and Paride,
>
> This looks like it might be a variation on bug 1930121
>
> Do you have a non-standard python installation? (not installed via apt)
>
> If so, then the quick fix is hopefully to just set
> PYTHONPATH=
> PYTHONPATH=
> and then try to `import uaclient` in the python shell.
>
> 'python-opcua' and 'python3-opcua' are unrelated. There is an
> unfortunate module naming collision between those packages and ubuntu-
> advantage-tools :(
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> https:/
>
> Status in ubuntu-
> Incomplete
>
> Bug description:
> We recently encountered an issue with our deployment pipeline when
> installing Ubuntu 18.04.
>
> "ubuntu-minimal" now depends on ubuntu-
> fails install with:
> ModuleNotFoundE
>
> I added OS packages 'python-opcua' and 'python3-opcua' and the error
> changed to:
> No module named 'uaclient.
>
> I'm wondering why the dependencies can't be resolved at install time
> through APT per usual. The setup consistently exits with a '1', which
> fails our build pipeline. Hopefully that's not the default behavior.
> More info in the comment below
>
> To manage notifications about this bug go to:
>
> https:/
>
>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Joseph O'Connor (geopython1916) wrote : | #7 |
Grant:
Your solution installed ubuntu-advantage, the original issue was executing
*clipgrab* for ubuntu 18.04. On Ubuntu 20.04 then worked pretty well for
clipgrab. On 18.04 seem to generate a Root Certs error with an equifax.
I'll work on that. And also send you the feedback I got frum Ubuntu 18.04.
Adding Equifax CA certificate
> [21278:
> Certs, loaded==false: NSS error code: -8018
> js: Refused to display '
> https:/
> in a frame because it set 'X-Frame-Options' to 'DENY'.
> "'Sans Serif', sans-serif"
> Segmentation fault (core dumped)
> joecoc1916@
>
If the "Segmentation fault (core dumped)" could help you. I'll forward
that to you. Let me know.
I'll try to address the Equifax root certificate issue on my own.
Joseph O
On Wed, Oct 6, 2021 at 2:30 PM Josepj O'Connor <email address hidden>
wrote:
> Grant:
>
> Your fix seems to work.... I'll do a bit more testing and let you know
> ALLS WELL!!
>
> Joseph O
>
> On Tue, Oct 5, 2021 at 7:55 AM Grant Orndorff <email address hidden>
> wrote:
>
>> Hello Joseph and Paride,
>>
>> This looks like it might be a variation on bug 1930121
>>
>> Do you have a non-standard python installation? (not installed via apt)
>>
>> If so, then the quick fix is hopefully to just set
>> PYTHONPATH=
>> PYTHONPATH=
>> and then try to `import uaclient` in the python shell.
>>
>> 'python-opcua' and 'python3-opcua' are unrelated. There is an
>> unfortunate module naming collision between those packages and ubuntu-
>> advantage-tools :(
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https:/
>>
>> Title:
>> https:/
>>
>> Status in ubuntu-
>> Incomplete
>>
>> Bug description:
>> We recently encountered an issue with our deployment pipeline when
>> installing Ubuntu 18.04.
>>
>> "ubuntu-minimal" now depends on ubuntu-
>> package fails install with:
>> ModuleNotFoundE
>>
>> I added OS packages 'python-opcua' and 'python3-opcua' and the error
>> changed to:
>> No module named 'uaclient.
>>
>> I'm wondering why the dependencies can't be resolved at install time
>> through APT per usual. The setup consistently exits with a '1', which
>> fails our build pipeline. Hopefully that's not the default behavior.
>> More info in the comment below
>>
>> To manage notifications about this bug go to:
>>
>> https:/
>>
>>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Joseph O'Connor (geopython1916) wrote : | #8 |
Most of what I'm reading is pointing to the fact I have bad credit. Oh
well. That's true. :) I always felt if someone gives me credit, they
deserve to be BURNED !! Was never very tolerant to BULL SIT offerings
:-)) I pay back my friends now. Not much more than that.
You're a friend. Thank you for working with me...
Joseph O
On Wed, Oct 6, 2021 at 3:04 PM Josepj O'Connor <email address hidden>
wrote:
> Grant:
>
> Your solution installed ubuntu-advantage, the original issue was executing
> *clipgrab* for ubuntu 18.04. On Ubuntu 20.04 then worked pretty well for
> clipgrab. On 18.04 seem to generate a Root Certs error with an equifax.
> I'll work on that. And also send you the feedback I got frum Ubuntu 18.04.
>
>
> Adding Equifax CA certificate
>> [21278:
>> Root Certs, loaded==false: NSS error code: -8018
>> js: Refused to display '
>> https:/
>> in a frame because it set 'X-Frame-Options' to 'DENY'.
>> "'Sans Serif', sans-serif"
>> Segmentation fault (core dumped)
>> joecoc1916@
>>
>
>
> If the "Segmentation fault (core dumped)" could help you. I'll forward
> that to you. Let me know.
>
> I'll try to address the Equifax root certificate issue on my own.
>
> Joseph O
>
> On Wed, Oct 6, 2021 at 2:30 PM Josepj O'Connor <email address hidden>
> wrote:
>
>> Grant:
>>
>> Your fix seems to work.... I'll do a bit more testing and let you know
>> ALLS WELL!!
>>
>> Joseph O
>>
>> On Tue, Oct 5, 2021 at 7:55 AM Grant Orndorff <email address hidden>
>> wrote:
>>
>>> Hello Joseph and Paride,
>>>
>>> This looks like it might be a variation on bug 1930121
>>>
>>> Do you have a non-standard python installation? (not installed via apt)
>>>
>>> If so, then the quick fix is hopefully to just set
>>> PYTHONPATH=
>>> PYTHONPATH=
>>> and then try to `import uaclient` in the python shell.
>>>
>>> 'python-opcua' and 'python3-opcua' are unrelated. There is an
>>> unfortunate module naming collision between those packages and ubuntu-
>>> advantage-tools :(
>>>
>>> --
>>> You received this bug notification because you are subscribed to the bug
>>> report.
>>> https:/
>>>
>>> Title:
>>> https:/
>>>
>>> Status in ubuntu-
>>> Incomplete
>>>
>>> Bug description:
>>> We recently encountered an issue with our deployment pipeline when
>>> installing Ubuntu 18.04.
>>>
>>> "ubuntu-minimal" now depends on ubuntu-
>>> package fails install with:
>>> ModuleNotFoundE
>>>
>>> I added OS packages 'python-opcua' and 'python3-opcua' and the error
>>> changed to:
>>> No module named 'uaclient.
>>>
>>> I'm wondering why the dependencies can't be resolved at ...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Joseph O'Connor (geopython1916) wrote : Fwd: [Bug 1946034] Re: https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools | #9 |
From: Josepj O'Connor <email address hidden>
Date: Wed, Oct 6, 2021 at 4:23 PM
Subject: Re: [Bug 1946034] Re:
https:/
To: Bug 1946034 <email address hidden>
Most of what I'm reading is pointing to the fact I have bad credit. Oh
well. That's true. :) I always felt if someone gives me credit, they
deserve to be BURNED !! Was never very tolerant to BULL SIT offerings
:-)) I pay back my friends now. Not much more than that.
You're a friend. Thank you for working with me...
Joseph O
On Wed, Oct 6, 2021 at 3:04 PM Josepj O'Connor <email address hidden>
wrote:
> Grant:
>
> Your solution installed ubuntu-advantage, the original issue was executing
> *clipgrab* for ubuntu 18.04. On Ubuntu 20.04 then worked pretty well for
> clipgrab. On 18.04 seem to generate a Root Certs error with an equifax.
> I'll work on that. And also send you the feedback I got frum Ubuntu 18.04.
>
>
> Adding Equifax CA certificate
>> [21278:
>> Root Certs, loaded==false: NSS error code: -8018
>> js: Refused to display '
>> https:/
>> in a frame because it set 'X-Frame-Options' to 'DENY'.
>> "'Sans Serif', sans-serif"
>> Segmentation fault (core dumped)
>> joecoc1916@
>>
>
>
> If the "Segmentation fault (core dumped)" could help you. I'll forward
> that to you. Let me know.
>
> I'll try to address the Equifax root certificate issue on my own.
>
> Joseph O
>
> On Wed, Oct 6, 2021 at 2:30 PM Josepj O'Connor <email address hidden>
> wrote:
>
>> Grant:
>>
>> Your fix seems to work.... I'll do a bit more testing and let you know
>> ALLS WELL!!
>>
>> Joseph O
>>
>> On Tue, Oct 5, 2021 at 7:55 AM Grant Orndorff <email address hidden>
>> wrote:
>>
>>> Hello Joseph and Paride,
>>>
>>> This looks like it might be a variation on bug 1930121
>>>
>>> Do you have a non-standard python installation? (not installed via apt)
>>>
>>> If so, then the quick fix is hopefully to just set
>>> PYTHONPATH=
>>> PYTHONPATH=
>>> and then try to `import uaclient` in the python shell.
>>>
>>> 'python-opcua' and 'python3-opcua' are unrelated. There is an
>>> unfortunate module naming collision between those packages and ubuntu-
>>> advantage-tools :(
>>>
>>> --
>>> You received this bug notification because you are subscribed to the bug
>>> report.
>>> https:/
>>>
>>> Title:
>>> https:/
>>>
>>> Status in ubuntu-
>>> Incomplete
>>>
>>> Bug description:
>>> We recently encountered an issue with our deployment pipeline when
>>> installing Ubuntu 18.04.
>>>
>>> "ubuntu-minimal" now depends on ubuntu-
>>> package fails install with:
>>> ModuleNotFoundE
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Joseph O'Connor (geopython1916) wrote : Re: [Bug 1946034] Re: https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools | #10 |
Thanks, I'll check it out.
On Fri, Oct 15, 2021, 4:25 PM Grant Orndorff <email address hidden>
wrote:
> *** This bug is a duplicate of bug 1930121 ***
> https:/
>
> ** This bug has been marked a duplicate of bug 1930121
> package ubuntu-
> module named 'uaclient'
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> https:/
>
> Status in ubuntu-
> Incomplete
>
> Bug description:
> We recently encountered an issue with our deployment pipeline when
> installing Ubuntu 18.04.
>
> "ubuntu-minimal" now depends on ubuntu-
> fails install with:
> ModuleNotFoundE
>
> I added OS packages 'python-opcua' and 'python3-opcua' and the error
> changed to:
> No module named 'uaclient.
>
> I'm wondering why the dependencies can't be resolved at install time
> through APT per usual. The setup consistently exits with a '1', which
> fails our build pipeline. Hopefully that's not the default behavior.
> More info in the comment below
>
> To manage notifications about this bug go to:
>
> https:/
>
>
Traceback (most recent call last): rror: No module named 'uaclient' advantage- tools (--configure): advantage- tools package post-installation script subprocess returned error exit status 1 advantage- tools joe-DellOptiPle x-9010: /usr/bin$ sudo apt remove emacs25 common- non-dfsg us.archive. ubuntu. com/ubuntu bionic/universe amd64 emacs25-lucid amd64 25.2+1-6 [3,476 kB]
File "<string>", line 2, in <module>
ModuleNotFoundE
dpkg: error processing package ubuntu-
installed ubuntu-
Errors were encountered while processing:
ubuntu-
E: Sub-process /usr/bin/dpkg returned an error code (1)
joecoc1916@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
emacs25-lucid
Suggested packages:
emacs25-
The following packages will be REMOVED:
emacs25
The following NEW packages will be installed:
emacs25-lucid
0 upgraded, 1 newly installed, 1 to remove and 34 not upgraded.
1 not fully installed or removed.
Need to get 3,476 kB of archives.
After this operation, 12.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://
Fetched 3,476 kB in 1s (2,834 kB/s)
dpkg: emacs25: dependency problems, but removing anyway as you requested:
emacs depends on emacs25 | emacs25-lucid | emacs25-nox; however:
Package emacs25 is to be removed.
Package emacs25-lucid is not installed.
Package emacs25-nox is not installed.
(Reading database ... 391577 files and directories currently installed.) dictionaries- common: Purging byte-compiled files for flavour emacs25 lucid_25. 2+1-6_amd64. deb ... advantage- tools (27.2.2~18.04.1) ... rror: No module named 'uaclient' advantage- tools (--configure): advantage- tools package post-installation script subprocess returned error exit status 1 alternatives: using /usr/bin/ emacs25- lucid to provide /usr/bin/emacs (emacs) in auto mode dictionaries- common: Byte-compiling for emacsen flavour emacs25 18.04.2) ...
Removing emacs25 (25.2+1-6) ...
Remove dictionaries-common for emacs25
remove/
Remove git for emacs25
remove/git: Handling removal of emacsen flavor emacs25
Remove emacsen-common for emacs25
emacsen-common: Handling removal of emacsen flavor emacs25
Remove cmake-data for emacs25
remove/cmake-data: Purging byte-compiled files for emacs25
Selecting previously unselected package emacs25-lucid.
(Reading database ... 391567 files and directories currently installed.)
Preparing to unpack .../emacs25-
Unpacking emacs25-lucid (25.2+1-6) ...
Setting up ubuntu-
Traceback (most recent call last):
File "<string>", line 2, in <module>
ModuleNotFoundE
dpkg: error processing package ubuntu-
installed ubuntu-
Setting up emacs25-lucid (25.2+1-6) ...
update-
Install emacsen-common for emacs25
emacsen-common: Handling install of emacsen flavor emacs25
Install git for emacs25
install/git: Handling install of emacsen flavor emacs25
install/git: Byte-compiling for emacs25
+ emacs25 -batch -q -no-site-file -f batch-byte-compile git.el git-blame.el
Install cmake-data for emacs25
install/cmake-data: Byte-compiling for emacs25
Install dictionaries-common for emacs25
install/
Processing triggers for desktop-file-utils (0.23-1ubuntu3.
Pr...