Dziś zainstalowałem sobie sonatę, wszystko działa jak należy lecz gdy w konsoli wydaję polecenie:
apt-get upgrade
lub
aptitude upgrade
dostaję komunikat:
Kod: Zaznacz cały
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up python-dbus (0.82.4-2) ...
Remove stale byte-compiled files...
Traceback (most recent call last):
File "/usr/sbin/update-python-modules", line 344, in ?
bytecompile_all(py)
File "/usr/sbin/update-python-modules", line 239, in bytecompile_all
post_change_stuff(py)
File "/usr/sbin/update-python-modules", line 225, in post_change_stuff
file(initfile,"w").close()
IOError: [Errno 2] No such file or directory: '/var/lib/python-support/python2.4/bootconfig/__init__.py'
dpkg: error processing python-dbus (--configure):
subprocess post-installation script returned error exit status 1
Setting up python-elementtree (1.2.6-11) ...
Traceback (most recent call last):
File "/usr/sbin/update-python-modules", line 344, in ?
bytecompile_all(py)
File "/usr/sbin/update-python-modules", line 239, in bytecompile_all
post_change_stuff(py)
File "/usr/sbin/update-python-modules", line 225, in post_change_stuff
file(initfile,"w").close()
IOError: [Errno 2] No such file or directory: '/var/lib/python-support/python2.4/bootconfig/__init__.py'
dpkg: error processing python-elementtree (--configure):
subprocess post-installation script returned error exit status 1
Setting up python-gnome2-desktop (2.22.0-1) ...
Traceback (most recent call last):
File "/usr/sbin/update-python-modules", line 344, in ?
bytecompile_all(py)
File "/usr/sbin/update-python-modules", line 239, in bytecompile_all
post_change_stuff(py)
File "/usr/sbin/update-python-modules", line 225, in post_change_stuff
file(initfile,"w").close()
IOError: [Errno 2] No such file or directory: '/var/lib/python-support/python2.4/bootconfig/__init__.py'
dpkg: error processing python-gnome2-desktop (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-gnome2-extras:
python-gnome2-extras depends on python-gnome2-desktop; however:
Package python-gnome2-desktop is not configured yet.
dpkg: error processing python-gnome2-extras (--configure):
dependency problems - leaving unconfigured
Setting up python-zsi (2.0-2) ...
Traceback (most recent call last):
File "/usr/sbin/update-python-modules", line 344, in ?
bytecompile_all(py)
File "/usr/sbin/update-python-modules", line 239, in bytecompile_all
post_change_stuff(py)
File "/usr/sbin/update-python-modules", line 225, in post_change_stuff
file(initfile,"w").close()
IOError: [Errno 2] No such file or directory: '/var/lib/python-support/python2.4/bootconfig/__init__.py'
dpkg: error processing python-zsi (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of sonata:
sonata depends on python-dbus; however:
Package python-dbus is not configured yet.
dpkg: error processing sonata (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python-dbus
python-elementtree
python-gnome2-desktop
python-gnome2-extras
python-zsi
sonata
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg --configure -a
dpkg -C
jak i
dpkg --configure <nazwa_pakietu>
Z góry dziękuję i pozdrawiam