← Back to team overview

aide team mailing list archive

Re: [Question #254476]: Problem with python ubuntuone-client when I run apt-get upgrade

 

Question #254476 on update-manager in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/update-manager/+question/254476

Amadou NIANG posted a new comment:
Hello Manfred!
I have the result below when running "apt-get install -f":

root@amadou-laptop:/home/amadou# apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  python-ubuntuone-client
The following packages will be upgraded:
  python-ubuntuone-client
1 upgraded, 0 newly installed, 0 to remove and 107 not upgraded.
5 not fully installed or removed.
Need to get 1800 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? 
0% [Working]
Get:1 http://fr.archive.ubuntu.com/ubuntu/ saucy/main python-libxml2 i386 2.9.1+dfsg1-3ubuntu2 [187 kB]
Get:2 http://fr.archive.ubuntu.com/ubuntu/ saucy/main python-lxml i386 3.2.0-1 [699 kB]
Get:3 http://fr.archive.ubuntu.com/ubuntu/ saucy-updates/main python-ubuntuone-client all 13.10-0ubuntu1.2 [228 kB]
Get:4 http://fr.archive.ubuntu.com/ubuntu/ saucy/main python3-lxml i386 3.2.0-1 [685 kB]
Fetched 1800 kB in 1s (974 kB/s)  
(Reading database ... 553090 files and directories currently installed.)
Preparing to replace python-ubuntuone-client 13.10-0ubuntu1 (using .../python-ubuntuone-client_13.10-0ubuntu1.2_all.deb) ...
Traceback (most recent call last):
  File "/usr/lib/python2.7/site.py", line 562, in <module>
    main()
  File "/usr/lib/python2.7/site.py", line 544, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python2.7/site.py", line 271, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/lib/python2.7/site.py", line 246, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/lib/python2.7/site.py", line 236, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/lib/python2.7/sysconfig.py", line 577, in get_config_var
    return get_config_vars().get(name)
  File "/usr/lib/python2.7/sysconfig.py", line 476, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/lib/python2.7/sysconfig.py", line 355, in _init_posix
    raise IOError(msg)
IOError: invalid Python installation: unable to open /usr/include/python2.7/pyconfig.h (No such file or directory)
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Traceback (most recent call last):
  File "/usr/lib/python2.7/site.py", line 562, in <module>
    main()
  File "/usr/lib/python2.7/site.py", line 544, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python2.7/site.py", line 271, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/lib/python2.7/site.py", line 246, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/lib/python2.7/site.py", line 236, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/lib/python2.7/sysconfig.py", line 577, in get_config_var
    return get_config_vars().get(name)
  File "/usr/lib/python2.7/sysconfig.py", line 476, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/lib/python2.7/sysconfig.py", line 355, in _init_posix
    raise IOError(msg)
IOError: invalid Python installation: unable to open /usr/include/python2.7/pyconfig.h (No such file or directory)
dpkg: error processing /var/cache/apt/archives/python-ubuntuone-client_13.10-0ubuntu1.2_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
  File "/usr/lib/python2.7/site.py", line 562, in <module>
    main()
  File "/usr/lib/python2.7/site.py", line 544, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python2.7/site.py", line 271, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/lib/python2.7/site.py", line 246, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/lib/python2.7/site.py", line 236, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/lib/python2.7/sysconfig.py", line 577, in get_config_var
    return get_config_vars().get(name)
  File "/usr/lib/python2.7/sysconfig.py", line 476, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/lib/python2.7/sysconfig.py", line 355, in _init_posix
    raise IOError(msg)
IOError: invalid Python installation: unable to open /usr/include/python2.7/pyconfig.h (No such file or directory)
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/python-ubuntuone-client_13.10-0ubuntu1.2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@amadou-laptop:/home/amadou#

-- 
You received this question notification because you are a member of
Communauté d'aide d'Ubuntu en Français, which is an answer contact for
Ubuntu.