Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

apt error after updating python3-demjson

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
abu_bua
Posts: 22
Joined: 2022-02-25 19:30
Has thanked: 13 times
Been thanked: 4 times

apt error after updating python3-demjson

#1 Post by abu_bua »

Since one week I got an error after updating/installing packages as follows:

Code: Select all

Processing triggers for ccache (4.6.1-1) ...
Updating symlinks in /usr/lib/ccache ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.33-7) ...
Errors were encountered while processing:
 python3-demjson
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up python3-demjson (2.2.4-6) ...
  File "/usr/lib/python3/dist-packages/demjson.py", line 645
    class json_int( (1L).__class__ ):    # Have to specify base this way to satisfy 2to3
                      ^
SyntaxError: invalid syntax

  File "/usr/lib/python3/dist-packages/demjson.py", line 645
    class json_int( (1L).__class__ ):    # Have to specify base this way to satisfy 2to3
                     ^
SyntaxError: invalid decimal literal
dpkg: error processing package python3-demjson (--configure):
 installed python3-demjson package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 python3-demjson
I tried to reinstall, purge ... the package libpython3-demjson but I got the same error.

So I typed

Code: Select all

$ aptitude why python3-demjson

i   devscripts           Suggests   check-all-the-things
p   check-all-the-things Recommends python3-demjson
Using the apt-cache command differs from the output above (why?), showing me that devscripts does not require this package:

Code: Select all

$ apt-cache rdepends python3-demjson

python3-demjson
Reverse Depends:
  check-all-the-things

My state now I is that I simply purged python3-demjson to get rid of this error since I am not using check-all-the-things.

Is this simply a bug?

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5343
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: apt error after updating python3-demjson

#2 Post by dilberts_left_nut »

AdrianTM wrote:There's no hacker in my grandma...

User avatar
abu_bua
Posts: 22
Joined: 2022-02-25 19:30
Has thanked: 13 times
Been thanked: 4 times

Re: apt error after updating python3-demjson

#3 Post by abu_bua »

thanks, there is already a bug ticket running.

Post Reply