Cannot downgrading (regression)
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=
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_
Unpacking replacement julius ...
dpkg: error processing /var/cache/
trying to overwrite '/usr/bin/
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-
Unpacking replacement libjulius-dev ...
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
$
Please set Breaks and Replaces in debian/control.