Problem installing on Hardy from repositories

Kenneth Loafman kenneth at loafman.com
Sat Feb 23 15:20:08 GMT 2008


Folks,

I get this when I try to install bzr from the Canonical repositories.

Any idea what's wrong?

...Ken

root at neptune:~# aptitude upgrade
W: The "upgrade" command is deprecated; use "safe-upgrade" instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages will be upgraded:
  bzr libpcre3 libpcrecpp0
3 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 297kB/4333kB of archives. After unpacking 553kB will be freed.
Do you want to continue? [Y/n/?]
WARNING: untrusted versions of the following packages will be installed!

Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.

  bzr

Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No": yes
Get:1 http://archive.ubuntu.com hardy/main libpcre3 7.4-1ubuntu2 [206kB]
Get:2 http://archive.ubuntu.com hardy/main libpcrecpp0 7.4-1ubuntu2 [91.1kB]
Fetched 297kB in 1s (236kB/s)
(Reading database ... 115693 files and directories currently installed.)
Preparing to replace bzr 1.2~rc1-1build1 (using
.../bzr_1.2-1~bazaar1~hardy3_i386.deb) ...
Ignoring nonregistered document `bzr'
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1594, in <module>
    main()
  File "/usr/bin/pycentral", line 1588, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1076, in run
    requested = pyversions.requested_versions_for_runtime(version_field,
version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in
requested_versions_for_runtime
    vinfo = parse_versions(vstring)
  File "/usr/share/pycentral-data/pyversions.py", line 58, in parse_versions
    raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing
/var/cache/apt/archives/bzr_1.2-1~bazaar1~hardy3_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Preparing to replace libpcre3 7.4-1ubuntu1 (using
.../libpcre3_7.4-1ubuntu2_i386.deb) ...
Unpacking replacement libpcre3 ...
Preparing to replace libpcrecpp0 7.4-1ubuntu1 (using
.../libpcrecpp0_7.4-1ubuntu2_i386.deb) ...
Unpacking replacement libpcrecpp0 ...
Errors were encountered while processing:
 /var/cache/apt/archives/bzr_1.2-1~bazaar1~hardy3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up libpcre3 (7.4-1ubuntu2) ...

Setting up libpcrecpp0 (7.4-1ubuntu2) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done



More information about the bazaar mailing list