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
-
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.
-
Reassigned to @dimkr
-
Reassigned to @nextime
-
I'm importing bash-completion and i will upgrade it for jessie to solve the issue
-
Fixed by pushing updated bash-completion package in our repo.
-
Status changed to closed
-
Status changed to reopened
-
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 -
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 -
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
-
Fixed and queue for build
-
Status changed to closed
-
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 -
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
-
Status changed to reopened
-
Status changed to closed