Cyril Brulebois <k...@debian.org> (2017-05-13): > vlc-bin seems to be missing replaces/breaks against vlc-nox. From a > jessie chroot, with vlc-nox installed, switching sources.list from > jessie to stretch and installing vlc-bin results in: > | root@wodi:/# apt-get install vlc-bin > | Reading package lists... Done > | Building dependency tree > | Reading state information... Done > | The following extra packages will be installed: > | libvlc-bin > | The following NEW packages will be installed: > | libvlc-bin vlc-bin > | 0 upgraded, 2 newly installed, 0 to remove and 207 not upgraded. > | Need to get 278 kB of archives. > | After this operation, 579 kB of additional disk space will be used. > | Do you want to continue? [Y/n] > | Get:1 http://localhost/debian/ stretch/main libvlc-bin amd64 2.2.5-1 [121 > kB] > | Get:2 http://localhost/debian/ stretch/main vlc-bin amd64 2.2.5-1 [157 kB] > | Fetched 278 kB in 0s (10.6 MB/s) > | E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file > or directory) > | Selecting previously unselected package libvlc-bin:amd64. > | (Reading database ... 11539 files and directories currently installed.) > | Preparing to unpack .../libvlc-bin_2.2.5-1_amd64.deb ... > | Unpacking libvlc-bin:amd64 (2.2.5-1) ... > | Selecting previously unselected package vlc-bin. > | Preparing to unpack .../vlc-bin_2.2.5-1_amd64.deb ... > | Unpacking vlc-bin (2.2.5-1) ... > | dpkg: error processing archive > /var/cache/apt/archives/vlc-bin_2.2.5-1_amd64.deb (--unpack): > | trying to overwrite '/usr/bin/cvlc', which is also in package vlc-nox > 2.2.5-1~deb8u1 > | dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) > | Errors were encountered while processing: > | /var/cache/apt/archives/vlc-bin_2.2.5-1_amd64.deb > | E: Sub-process /usr/bin/dpkg returned an error code (1)
BTW, looking at vlc.git, it seems the replaces/breaks was added properly when binaries were split off (<< 2.2.4-7~), but a new upstream was added to jessie, which might have interfered: 2.2.5-1~deb8u1 has cvlc (since there's no vlc-bin), so I think just bumping the breaks/replaces should work. Going to test this after lunch, can prepare an upload if you like. KiBi.
signature.asc
Description: Digital signature