Article ID: 120013, created on Feb 6, 2014, last review on May 11, 2014

  • Applies to:
  • Virtuozzo
  • Virtuozzo containers for Linux
  • Virtuozzo hypervisor

Symptoms

A Debian 5 > Debian 6 upgrade fails for a container with the following errors:

# vzpkg upgrade 999999
...
Preparing to replace base-files 5lenny11 (using .../base-files_6.0squeeze8_i386.vz.deb) ...
Unpacking replacement base-files ...
dpkg: error processing /vz/template/debian/6.0/x86/pm//archives/base-files_6.0squeeze8_i386.vz.deb (--unpack):
 trying to overwrite '/etc/dpkg/origins/debian', which is also in package dpkg 1.15.8.13
No apport report written because MaxReports is reached already
                                                              Processing triggers for man-db ...
Processing triggers for install-info ...
Errors were encountered while processing:
 /vz/template/debian/6.0/x86/pm//archives/base-files_6.0squeeze8_i386.vz.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: /usr/bin/apt-get failed, exitcode=100

Cause

The problem is recognized as a product bug with internal ID PCLIN-31635.

Resolution

Downgrade vzpkgenvdebx64 and vzpkgenvdeb packages to version 4.6.0-18:

# rpm -e  vzpkgenvdebx64 --nodeps
# rpm -Uvh vzpkgenvdebx64-4.6.0-18.x86_64.rpm
Preparing...                ########################################### [100%]
   1:vzpkgenvdebx64         ########################################### [100%]
# rpm -e vzpkgenvdeb --nodeps
# rpm -Uvh vzpkgenvdeb-4.6.0-18.i386.rpm
Preparing...                ########################################### [100%]
   1:vzpkgenvdeb            ########################################### [100%]

The corresponding packages can be downloaded here:
vzpkgenvdeb-4.6.0-18.i386.rpm
vzpkgenvdebx64-4.6.0-18.x86_64.rpm

Search Words

trying to overwrite '/etc/dpkg/origins/debian'

which is also in package dpkg

base-files_6.0squeeze8_i386.vz.deb

dpkg: error processing

a26b38f94253cdfbf1028d72cf3a498b 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f e8e50b42231236b82df27684e7ec0beb 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF