Project

General

Profile

Bug #9783

Updated by Loïc Dachary over 9 years ago

This happens when switching from Ubuntu / Debian repositories to Ceph repositories: 
 <pre> 
 Unpacking ceph-common (0.80.7-1trusty) over (0.80.5-0ubuntu0.14.04.1) ... 
 dpkg: error processing archive /var/cache/apt/archives/ceph-common_0.80.7-1trusty_amd64.deb (--unpack): 
  trying to overwrite '/etc/init.d/rbdmap', which is also in package ceph 0.80.5-0ubuntu0.14.04.1 
 </pre> 
 The 0.80.5 was installed using the default ubuntu repositories. 
 <pre> 
 # apt-get install ceph ceph-common python-ceph 
 ph ceph-common python-ceph 
 Reading package lists... Done 
 Building dependency tree        
 Reading state information... Done 
 The following extra packages will be installed: 
   btrfs-tools ceph-fs-common ceph-fuse ceph-mds liblzo2-2 librados2 librbd1 
 The following NEW packages will be installed: 
   btrfs-tools ceph-fs-common ceph-fuse ceph-mds liblzo2-2 
 The following packages will be upgraded: 
   ceph ceph-common librados2 librbd1 python-ceph 
 5 upgraded, 5 newly installed, 0 to remove and 10 not upgraded. 
 Need to get 15.1 MB of archives. 
 After this operation, 21.2 MB of additional disk space will be used. 
 Do you want to continue? [Y/n] y 
 y 
 Get:1 http://ceph.com/debian-firefly/ trusty/main ceph-common amd64 0.80.7-1trusty [3945 kB] 
 Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main liblzo2-2 amd64 2.06-1.2ubuntu1.1 [46.1 kB] 
 Get:3 http://ceph.com/debian-firefly/ trusty/main python-ceph amd64 0.80.7-1trusty [36.3 kB] 
 Get:4 http://ceph.com/debian-firefly/ trusty/main librbd1 amd64 0.80.7-1trusty [319 kB] 
 Get:5 http://archive.ubuntu.com/ubuntu/ trusty/main btrfs-tools amd64 3.12-1 [335 kB] 
 Get:6 http://ceph.com/debian-firefly/ trusty/main librados2 amd64 0.80.7-1trusty [1427 kB] 
 Get:7 http://ceph.com/debian-firefly/ trusty/main ceph amd64 0.80.7-1trusty [5538 kB] 
 Get:8 http://ceph.com/debian-firefly/ trusty/main ceph-fs-common amd64 0.80.7-1trusty [25.4 kB] 
 Get:9 http://ceph.com/debian-firefly/ trusty/main ceph-fuse amd64 0.80.7-1trusty [1337 kB] 
 Get:10 http://ceph.com/debian-firefly/ trusty/main ceph-mds amd64 0.80.7-1trusty [2099 kB] 
 Fetched 15.1 MB in 1s (13.6 MB/s) 
 Selecting previously unselected package liblzo2-2:amd64. 
 (Reading database ... 43865 files and directories currently installed.) 
 Preparing to unpack .../liblzo2-2_2.06-1.2ubuntu1.1_amd64.deb ... 
 Unpacking liblzo2-2:amd64 (2.06-1.2ubuntu1.1) ... 
 Selecting previously unselected package btrfs-tools. 
 Preparing to unpack .../btrfs-tools_3.12-1_amd64.deb ... 
 Unpacking btrfs-tools (3.12-1) ... 
 Preparing to unpack .../ceph-common_0.80.7-1trusty_amd64.deb ... 
 Unpacking ceph-common (0.80.7-1trusty) over (0.80.5-0ubuntu0.14.04.1) ... 
 dpkg: error processing archive /var/cache/apt/archives/ceph-common_0.80.7-1trusty_amd64.deb (--unpack): 
  trying to overwrite '/etc/init.d/rbdmap', which is also in package ceph 0.80.5-0ubuntu0.14.04.1 
 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) 
 Preparing to unpack .../python-ceph_0.80.7-1trusty_amd64.deb ... 
 Unpacking python-ceph (0.80.7-1trusty) over (0.80.5-0ubuntu0.14.04.1) ... 
 Preparing to unpack .../librbd1_0.80.7-1trusty_amd64.deb ... 
 Unpacking librbd1 (0.80.7-1trusty) over (0.80.5-0ubuntu0.14.04.1) ... 
 Preparing to unpack .../librados2_0.80.7-1trusty_amd64.deb ... 
 Unpacking librados2 (0.80.7-1trusty) over (0.80.5-0ubuntu0.14.04.1) ... 
 Preparing to unpack .../ceph_0.80.7-1trusty_amd64.deb ... 
 Unpacking ceph (0.80.7-1trusty) over (0.80.5-0ubuntu0.14.04.1) ... 
 dpkg: error processing archive /var/cache/apt/archives/ceph_0.80.7-1trusty_amd64.deb (--unpack): 
  trying to overwrite '/usr/share/man/man8/ceph-rest-api.8.gz', which is also in package ceph-common 0.80.5-0ubuntu0.14.04.1 
 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) 
 Selecting previously unselected package ceph-fs-common. 
 Preparing to unpack .../ceph-fs-common_0.80.7-1trusty_amd64.deb ... 
 Unpacking ceph-fs-common (0.80.7-1trusty) ... 
 Selecting previously unselected package ceph-fuse. 
 Preparing to unpack .../ceph-fuse_0.80.7-1trusty_amd64.deb ... 
 Unpacking ceph-fuse (0.80.7-1trusty) ... 
 Selecting previously unselected package ceph-mds. 
 Preparing to unpack .../ceph-mds_0.80.7-1trusty_amd64.deb ... 
 Unpacking ceph-mds (0.80.7-1trusty) ... 
 Processing triggers for man-db (2.6.7.1-1ubuntu1) ... 
 Processing triggers for ureadahead (0.100.0-16) ... 
 Errors were encountered while processing: 
  /var/cache/apt/archives/ceph-common_0.80.7-1trusty_amd64.deb 
  /var/cache/apt/archives/ceph_0.80.7-1trusty_amd64.deb 
 E: Sub-process /usr/bin/dpkg returned an error code (1) 
 </pre> 

Back