Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1055665: usr-is-merged: prevents upgrade of unstable chroot and install of usrmerge

66 views
Skip to first unread message

Daniel Gröber

unread,
Nov 9, 2023, 2:30:05 PM11/9/23
to
Package: usr-is-merged
Version: 38
Severity: important
X-Debbugs-Cc: dx...@darkboxed.org

Hi Marco,

usr-is-merged=38 errors out in my unstable chroot since it's not
merged yet, but this error also seems to prevent installing usrmerge:

```
(unstable-amd64)root@Janet:~# apt-get full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl
Use 'apt autoremove' to remove them.
The following packages will be upgraded:
usr-is-merged
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/5504 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 11489 files and directories currently installed.)
Preparing to unpack .../usr-is-merged_38_all.deb ...


******************************************************************************
*
* The usr-is-merged package cannot be installed because this system does
* not have a merged /usr.
*
* Please install the usrmerge package to convert this system to merged-/usr.
*
* For more information please read https://wiki.debian.org/UsrMerge.
*
******************************************************************************


dpkg: error processing archive /var/cache/apt/archives/usr-is-merged_38_all.deb (--unpack):
new usr-is-merged package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/usr-is-merged_38_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


(unstable-amd64)root@Janet:~# apt-get install usrmerge
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
usr-is-merged
The following NEW packages will be installed:
usrmerge
The following packages will be upgraded:
usr-is-merged
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/18.5 kB of archives.
After this operation, 39.9 kB of additional disk space will be used.
Do you want to continue? [Y/n]
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 11489 files and directories currently installed.)
Preparing to unpack .../usr-is-merged_38_all.deb ...


******************************************************************************
*
* The usr-is-merged package cannot be installed because this system does
* not have a merged /usr.
*
* Please install the usrmerge package to convert this system to merged-/usr.
*
* For more information please read https://wiki.debian.org/UsrMerge.
*
******************************************************************************


dpkg: error processing archive /var/cache/apt/archives/usr-is-merged_38_all.deb (--unpack):
new usr-is-merged package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/usr-is-merged_38_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Thanks,
--Daniel

Daniel Gröber

unread,
Nov 10, 2023, 10:10:05 AM11/10/23
to
Control: reopen 1055665

Hi Marco,

On Thu, Nov 09, 2023 at 09:12:57PM +0100, Marco d'Itri wrote:
> Duplicate of #1055413.

I can't say that it is. The other bug is about keeping an unmerged
system. I'm trying to switch this chroot to *be* usr-merged but the problem
is that installing usrmerge fails as usr-is-merged still errors and
prevents installation of usrmerge. See bottom part of log in my initial
report.

Are users expected to perform usr-merging manually in this case? That can't
be true.

How is this upgrade supposed to work for (end) users once this gets
released anyhow? This change would seems to brick upgrades for systems that
are still unmerged, no?

Thanks,
--Daniel
signature.asc

Daniel Gröber

unread,
Nov 10, 2023, 11:22:54 AM11/10/23
to
Control: reopen 1055665

Hi Marco,

On Fri, Nov 10, 2023 at 04:00:13PM +0100, Marco d'Itri wrote:
> On Nov 10, Daniel Gröber <dx...@darkboxed.org> wrote:
>
> > I can't say that it is. The other bug is about keeping an unmerged
> > system. I'm trying to switch this chroot to *be* usr-merged but the problem
> > is that installing usrmerge fails as usr-is-merged still errors and
> > prevents installation of usrmerge. See bottom part of log in my initial
> > report.
>
> No, same thing. You obviously have to make sure that usrmerge is
> installed before you attemp to update usr-is-merged.

Where is that obviousness documented? I find that highly counter-intutive.

Do note that I didn't intentionally install usr-is-merged, this is a
minimal build chroot we're talking about after all. It got pulled in by
something:

$ apt-cache rdepends usr-is-merged
usr-is-merged
Reverse Depends:
dbus
init-system-helpers
usrmerge

I have dbus=1.14.10-1 and init-system-helpers=1.65.2.

I can't say I entirely understand the purpose of usr-is-merged other than
to brick systems with unattended upgrades. Could you explain?

Thanks,
--Daniel
signature.asc

Daniel Gröber

unread,
Nov 10, 2023, 1:50:05 PM11/10/23
to
On Fri, Nov 10, 2023 at 05:51:05PM +0000, Luca Boccassiwrote:
> Please stop playing ping-pong with the bug tracker. It's already been
> explained to you what you need to do.

Luca, thanks your response. However I would appreciate it if we could just
simply let a discussion come to a conclusion before slamming it shut on a
whim. Doing so is just bad manners and doesn't contribute to making Debian
better. Thanks.

After some more poking I found /etc/unsupported-skip-usrmerge-conversion
somhow got created in this chroot and removing it seems to have helped to
allow usrmerge to be installed but I'm still not happy about the fact that
manual intervention is needed here.

I might have tracked down why/how this got created how to do better here
but given the lack of tact displayed by the both of you I really just don't
feel like it.

Please do consider being a bit more friendly in the future, such
short/harsh responses really aren't conducive to encouraging people to
contribute to making Debian better for all of us.

Thanks,
--Daniel
signature.asc

Daniel Gröber

unread,
Nov 10, 2023, 2:23:02 PM11/10/23
to
On Thu, Nov 09, 2023 at 09:12:57PM +0100, Marco d'Itri wrote:
> Duplicate of #1055413.

Did you perhaps mean #1055066 (usrmerge: Cannot update to version 38 on
sbuild) that one describes exactly the issue I was seeing.

--Daniel
signature.asc
0 new messages