Cannot downgrading (regression)

Bug #1152381 reported by IRIE Shinsuke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
julius (Ubuntu)
New
Undecided
Unassigned

Bug Description

In 4.2.2-0ubuntu2, files libjulius-config and libsent-config were moved to libjulius-dev, but the package dependencies were not modified to avoid file conflicts so downgrading fails as follows:

$ sudo apt-get install julius=4.2.2-0ubuntu1 libjulius-dev=4.2.2-0ubuntu1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libjcode-pm-perl
Use 'apt-get autoremove' to remove it.
Suggested packages:
  julius-voxforge
The following packages will be DOWNGRADED:
  julius libjulius-dev
0 upgraded, 0 newly installed, 2 downgraded, 0 to remove and 0 not upgraded.
Need to get 0 B/1,552 kB of archives.
After this operation, 60.4 kB disk space will be freed.
Do you want to continue [Y/n]?
dpkg: warning: downgrading julius from 4.2.2-0ubuntu2 to 4.2.2-0ubuntu1
(Reading database ... 477242 files and directories currently installed.)
Preparing to replace julius 4.2.2-0ubuntu2 (using .../julius_4.2.2-0ubuntu1_amd64.deb) ...
Unpacking replacement julius ...
dpkg: error processing /var/cache/apt/archives/julius_4.2.2-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/libsent-config', which is also in package libjulius-dev 4.2.2-0ubuntu2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
dpkg: warning: downgrading libjulius-dev from 4.2.2-0ubuntu2 to 4.2.2-0ubuntu1
Preparing to replace libjulius-dev 4.2.2-0ubuntu2 (using .../libjulius-dev_4.2.2-0ubuntu1_amd64.deb) ...
Unpacking replacement libjulius-dev ...
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/julius_4.2.2-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
$

Please set Breaks and Replaces in debian/control.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.