Public bug reported:

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.

** Affects: julius (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: raring regression-release

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

Title:
  Cannot downgrading (regression)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/julius/+bug/1152381/+subscriptions

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

Reply via email to