Re: apt-listchanges error

2017-05-26 Thread Gary Roach

On 05/25/2017 04:38 PM, Gary Roach wrote:

Hi all;

A while ago, while updating my Debian testing system, I got the
following error:


Do you want to continue? [Y/n] Setting up apt-listchanges (3.10) ...

Traceback (most recent call last):

  File "/tmp/tmp.kqhvU8IqOr.aptlc/debconf-helper.py", line 6, in 

import debconf

ImportError: No module named 'debconf'

dpkg: error processing package apt-listchanges (--configure):

 subprocess installed post-installation script returned error exit status 1

Errors were encountered while processing:

 apt-listchanges



This error has persisted ever since. I am starting to have several
strange things happen to my system - unable to move windows with mounse
and unable to cut an paste from the monitor - that may or may not be
caused by this error. I am not sure what the effect of the error would
be nor do I know how to fix it. I found a bug report that  was similar
but none of the suggested fixes fixed this one.

Note: There is no  tmp.kqhvU8IqOr.aptlc/debconf-helper.py file on my
system. Debconf is definitely installed.

Any help will be sincerely appreciated.

Gary R.


Thanks for the help. Turns out that my system was defaulting to the 
Anaconda python installation when I used bash. I removed the path to 
anaconda and it fixed the problem. It will be interesting to see what 
happens the next time I use Anaconda.


Gary R.



Re: apt-listchanges error

2017-05-26 Thread Greg Wooledge
On Fri, May 26, 2017 at 12:55:26PM -0700, Gary Roach wrote:
> I seem to have an Anaconda problem.
> python --version gave Python 3.5.2 :: Anaconda custom (64-bit)

Well, that's definitely a problem.  The default "python" on a Debian
system is 2.x, not 3.x, and changing /usr/bin/python to point to
python3.x is likely to break things.

wooledg:~$ python --version
Python 2.7.13
wooledg:~$ python3 --version
Python 3.5.3

> python -m debconf gave /root/anaconda3/bin/python: No module named debconf
> dpkg -V debconf gave nothing
> 
> /usr/lib/python3/sidt-packages/debconf.py does exist.
> 
> I've been doing a lot of work with anaconda python lately. Not sure how 
> to shut this off.

The rest, I can't help with.



Re: apt-listchanges error

2017-05-26 Thread Gary Roach

On 05/25/2017 04:38 PM, Gary Roach wrote:

Hi all;

A while ago, while updating my Debian testing system, I got the
following error:


Do you want to continue? [Y/n] Setting up apt-listchanges (3.10) ...

Traceback (most recent call last):

  File "/tmp/tmp.kqhvU8IqOr.aptlc/debconf-helper.py", line 6, in 

import debconf

ImportError: No module named 'debconf'

dpkg: error processing package apt-listchanges (--configure):

 subprocess installed post-installation script returned error exit status 1

Errors were encountered while processing:

 apt-listchanges



This error has persisted ever since. I am starting to have several
strange things happen to my system - unable to move windows with mounse
and unable to cut an paste from the monitor - that may or may not be
caused by this error. I am not sure what the effect of the error would
be nor do I know how to fix it. I found a bug report that  was similar
but none of the suggested fixes fixed this one.

Note: There is no  tmp.kqhvU8IqOr.aptlc/debconf-helper.py file on my
system. Debconf is definitely installed.

Any help will be sincerely appreciated.

Gary R.

Thanks for the replys.


I seem to have an Anaconda problem.
python --version gave Python 3.5.2 :: Anaconda custom (64-bit)
python -m debconf gave /root/anaconda3/bin/python: No module named debconf
dpkg -V debconf gave nothing

/usr/lib/python3/sidt-packages/debconf.py does exist.

I've been doing a lot of work with anaconda python lately. Not sure how 
to shut this off.


Gary R.



Re: apt-listchanges error

2017-05-26 Thread Sven Joachim
On 2017-05-25 16:38 -0700, Gary Roach wrote:

> A while ago, while updating my Debian testing system, I got the
> following error:
>
>
> Do you want to continue? [Y/n] Setting up apt-listchanges (3.10) ...
>
> Traceback (most recent call last):
>
>   File "/tmp/tmp.kqhvU8IqOr.aptlc/debconf-helper.py", line 6, in 
>
> import debconf
>
> ImportError: No module named 'debconf'

This module is shipped in the debconf package.  Does
/usr/lib/python3/dist-packages/debconf.py exist on your system?

Cheers,
   Sven



Re: apt-listchanges error

2017-05-26 Thread Liam O'Toole
On 2017-05-25, Gary Roach  wrote:
> Hi all;
>
> A while ago, while updating my Debian testing system, I got the 
> following error:
>
>
> Do you want to continue? [Y/n] Setting up apt-listchanges (3.10) ...
>
> Traceback (most recent call last):
>
>File "/tmp/tmp.kqhvU8IqOr.aptlc/debconf-helper.py", line 6, in 
>
>  import debconf
>
> ImportError: No module named 'debconf'
>
> dpkg: error processing package apt-listchanges (--configure):
>
>   subprocess installed post-installation script returned error exit status 1
>
> Errors were encountered while processing:
>
>   apt-listchanges
>
>
>
> This error has persisted ever since. I am starting to have several 
> strange things happen to my system - unable to move windows with mounse 
> and unable to cut an paste from the monitor - that may or may not be 
> caused by this error. I am not sure what the effect of the error would 
> be nor do I know how to fix it. I found a bug report that  was similar 
> but none of the suggested fixes fixed this one.
>
> Note: There is no  tmp.kqhvU8IqOr.aptlc/debconf-helper.py file on my 
> system. Debconf is definitely installed.
>
> Any help will be sincerely appreciated.
>
> Gary R.

It looks like there is a problem with your debconf or python
installations, or possibly both. Please post the output of the following
commands:

python --version
python -m debconf
dpkg -V debconf

-- 

Liam



apt-listchanges error

2017-05-25 Thread Gary Roach

Hi all;

A while ago, while updating my Debian testing system, I got the 
following error:



Do you want to continue? [Y/n] Setting up apt-listchanges (3.10) ...

Traceback (most recent call last):

  File "/tmp/tmp.kqhvU8IqOr.aptlc/debconf-helper.py", line 6, in 

import debconf

ImportError: No module named 'debconf'

dpkg: error processing package apt-listchanges (--configure):

 subprocess installed post-installation script returned error exit status 1

Errors were encountered while processing:

 apt-listchanges



This error has persisted ever since. I am starting to have several 
strange things happen to my system - unable to move windows with mounse 
and unable to cut an paste from the monitor - that may or may not be 
caused by this error. I am not sure what the effect of the error would 
be nor do I know how to fix it. I found a bug report that  was similar 
but none of the suggested fixes fixed this one.


Note: There is no  tmp.kqhvU8IqOr.aptlc/debconf-helper.py file on my 
system. Debconf is definitely installed.


Any help will be sincerely appreciated.

Gary R.