On Mon, Mar 17, 2014 at 06:08:13AM -0000, khfeng wrote:
> I retried with libboost1.54-all-dev installed, then upgrade Saucy
> to Trusty, without any failure luckily.
> 
> But when I check the package status:
> 
> % dpkg -l *boost*tool*
> 
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name                                        Version                    
> Architecture               Description
> +++-===========================================-==========================-==========================-============================================================================================
> in  libboost1.53-tools-dev                      <none>                     
> amd64                      (no description available)
> ii  libboost1.54-tools-dev                      1.54.0-4ubuntu3            
> amd64                      Boost C++ Libraries development tools
> 
> 
> The "in" status on libboost1.53-tools-dev is undesirable here, I think.
> So what is the proper fix here?

No, I think that's just because libboost1.53-tools-dev is no longer available in
the repository.

Oddly enough I can't seem to reproduce the bug any more, though I'm quite sure I
had to remove it prior to upgrading to trusty. It might have been a slight
change in the order in which dpkg installs new packages.

Trying this in a chroot shows that the new libboost1.54-dev is unpacked before
libboost1.54-tools-dev. However, if the order was somehow reversed, then dpkg
would crash out:

(saucy-amd64)root@thinkpwn:~# apt-get install libboost1.54-tools-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  xsltproc doxygen docbook-xml docbook-xsl default-jdk fop
The following NEW packages will be installed:
  libboost1.54-tools-dev
0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.
Need to get 1048 kB of archives.
After this operation, 4987 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libboost1.54-tools-dev amd64
1.54.0-4ubuntu3 [1048 kB]
Fetched 1048 kB in 0s (4486 kB/s)               
Selecting previously unselected package libboost1.54-tools-dev.
(Reading database ... 25309 files and directories currently installed.)
Unpacking libboost1.54-tools-dev (from
.../libboost1.54-tools-dev_1.54.0-4ubuntu3_amd64.deb) ...
dpkg: error processing
/var/cache/apt/archives/libboost1.54-tools-dev_1.54.0-4ubuntu3_amd64.deb 
(--unpack):
 trying to overwrite '/usr/bin/quickbook', which is also in package
 libboost1.54-dev 1.54.0-2ubuntu3
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libboost1.54-tools-dev_1.54.0-4ubuntu3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


The solution would be to set Replaces: libboost1.54-dev (<< ${version in which
libboost1.54-tools-dev appeared}) on libboost1.54-tools-dev. Same should go for
libboost1.55-tools-dev.

-- 
Kind regards,
Loong Jin

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1281375

Title:
  libboost1.54-dev and libboost1.53-tools-dev have undeclared file
  conflicts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boost1.54/+bug/1281375/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to