Package: python2.6
Version: 2.6.6-8+b1
Severity: important

Hi.

I had problem when upgrading python

r...@tytus:~# dpkg --configure -a
Konfigurowanie openoffice.org-java-common (1:3.2.1-11) ...
Konfigurowanie openoffice.org-officebean (1:3.2.1-11) ...
Konfigurowanie python (2.6.6-3+squeeze4) ...
Linking and byte-compiling packages for runtime python2.6...
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 314, in <module>
    main()
  File "/usr/bin/pycompile", line 300, in main
    options.force, options.optimize, e_patterns)
  File "/usr/bin/pycompile", line 196, in compile
    ftime = os.stat(fn).st_mtime
OSError: [Errno 2] No such file or directory: '/usr/lib/python2.6/dist-
packages/bzrlib/plugins/bzrtools/baz_import.py'

Then LOTS of packages fails to upgrade (gnome, openoffice, python-*)

Removing offending symlink (and .pyc file) for this and  few other broken
symlinks in the same directory,
and reruning dpkg --configure -a solved problem.

# dpkg --configure -a
Konfigurowanie python (2.6.6-3+squeeze4) ...
Linking and byte-compiling packages for runtime python2.6...
Konfigurowanie python-dev (2.6.6-3+squeeze4) ...
....
....


It is probably problem in bzrlib but upgrade should gracefully support broken
symlinks to .py files,
and in such situation probably removing .pyc file would be also appropriate.

For your information.

ii  bzr                                                     2.1.2-1
easy to use distributed version control system
ii  bzrtools                                                2.1.0-2
Collection of tools for bzr


Thanks.



-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-04007-g0c21e3a (SMP w/1 CPU core; PREEMPT)
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to pl_PL.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python2.6 depends on:
ii  libbz2-1.0                1.0.5-6        high-quality block-sorting file co
ii  libc6                     2.11.2-7       Embedded GNU C Library: Shared lib
ii  libdb4.8                  4.8.30-3       Berkeley v4.8 Database Libraries [
ii  libexpat1                 2.0.1-7        XML parsing C library - runtime li
ii  libncursesw5              5.7+20100313-5 shared libraries for terminal hand
ii  libreadline6              6.1-3          GNU readline and history libraries
ii  libsqlite3-0              3.7.4-2        SQLite 3 shared library
ii  mime-support              3.51-1         MIME files 'mime.types' & 'mailcap
ii  python2.6-minimal         2.6.6-8+b1     A minimal subset of the Python lan

python2.6 recommends no packages.

Versions of packages python2.6 suggests:
ii  binutils                      2.20.1-15  The GNU assembler, linker and bina
ii  python2.6-doc                 2.6.6-8    Documentation for the high-level o
pn  python2.6-profiler            <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to