• devuan-packages
  • util-linux
  • Issues
  • #13

Closed
Open
Opened 2015-06-07T17:27Z by fsmithred @fsmithred

dist-upgrade confusion

On dist-upgrade or full-upgrade, util linux wants to remove bash completion, but there's no message explaining that util-linux now replaces bash-completion.

This is on jessie. One installation is from a pre-alpha2 iso, and the other is a debootstrap install.

Aptitude output:

The following packages have unmet dependencies:
 bsdutils : Breaks: bash-completion (< 1:2.1-4.1~) but 1:2.1-4 is installed.
 util-linux : Breaks: bash-completion (< 1:2.1-4.1~) but 1:2.1-4 is installed.
The following actions will resolve these dependencies:

     Remove the following packages:
1)     bash-completion             

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

  • Urban Wallasch
    Urban Wallasch @Irrwahn · 2015-06-07T18:38Z

    It's a partial "Replaces" that leads to the breakage. Since Devuan jessie ships util-linux 2.26.2-6+devuan1 (Debian: 2.25.2-6) and bsdutils 1:2.26.2-6+devuan1 (Debian: 1:2.25.2-6) it should consequently ship bash-completion 1:2.1-4.1 instead of 1:2.1-4.

  • Daniel Reurich @CenturionDan Reassigned to @dimkr · 2015-06-08T02:33Z

    Reassigned to @dimkr

  • Daniel Reurich @CenturionDan Reassigned to @nextime · 2015-06-08T02:33Z

    Reassigned to @nextime

  • Franco Lanza
    Franco Lanza @nextime · 2015-06-08T04:34Z

    I'm importing bash-completion and i will upgrade it for jessie to solve the issue

  • Franco Lanza
    Franco Lanza @nextime · 2015-06-08T06:44Z

    Fixed by pushing updated bash-completion package in our repo.

  • Franco Lanza @nextime Status changed to closed · 2015-06-08T06:44Z

    Status changed to closed

  • fsmithred @fsmithred Status changed to reopened · 2015-06-08T11:11Z

    Status changed to reopened

  • fsmithred
    fsmithred @fsmithred · 2015-06-08T11:15Z

    I installed bash-completion 1:2.1-4.1 0 from ascii as a temporary workaround. Removed it and attempted to install 1:2.1-4.1+devuan1 from devuan/jessie and got the following error:

    Selecting previously unselected package bash-completion.
    (Reading database ... 99558 files and directories currently installed.)
    Preparing to unpack .../bash-completion_1%3a2.1-4.1+devuan1_all.deb ...
    Unpacking bash-completion (1:2.1-4.1+devuan1) ...
    dpkg: error processing archive /var/cache/apt/archives/bash-completion_1%3a2.1-4.1+devuan1_all.deb (--unpack):
     trying to overwrite '/usr/share/bash-completion/completions/renice', which is also in package bsdutils 1:2.26.2-6+devuan1
    Processing triggers for man-db (2.7.0.2-5) ...
    Errors were encountered while processing:
     /var/cache/apt/archives/bash-completion_1%3a2.1-4.1+devuan1_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Edited 2015-06-08T11:16Z
  • Urban Wallasch
    Urban Wallasch @Irrwahn · 2015-06-08T11:43Z

    There's something amiss, indeed. The package in Devuan (jessie and ascii) now contains completions for dmesg and renice, but it shouldn't, just like the package that was formerly merged from Debian stretch. I didn't check for any other differences though.

    Edited 2015-06-08T11:47Z
  • Franco Lanza
    Franco Lanza @nextime · 2015-06-08T13:51Z

    Well, the package now in devuan is derived directly from debian testing, so, strange they don't have this issue too, anyway, i will check it and fix this issue by removing the two conflicting completions scripts

  • Franco Lanza
    Franco Lanza @nextime · 2015-06-08T14:14Z

    Fixed and queue for build

  • Franco Lanza @nextime Status changed to closed · 2015-06-08T14:14Z

    Status changed to closed

  • Urban Wallasch
    Urban Wallasch @Irrwahn · 2015-06-08T14:18Z

    I suspect you might have accidentally imported the jessie package, not the stretch one. Edit: fix confirmed with bash-completion 1:2.1-4.1+devuan2

    Edited 2015-06-08T15:06Z
  • Franco Lanza
    Franco Lanza @nextime · 2015-06-08T15:19Z

    No, it' just that i've imported from the git repository for debian, and the fix removing the renice and dmesg script where a nmu not yet in git for debian

  • Franco Lanza @nextime Status changed to reopened · 2015-06-08T15:19Z

    Status changed to reopened

  • Franco Lanza @nextime Status changed to closed · 2015-06-08T15:19Z

    Status changed to closed