[Bug 2074292] [NEW] sudo do-release-upgrade -d from 22.04

2024-07-28 Thread Takuho NAKANO
Public bug reported:

Sorry some of the messages are in Japanese.


(データベースを読み込んでいます ... 現在 169789 個のファイルとディレクトリがインストールされています。)
.../libc-dev-bin_2.39-0ubuntu8.2_amd64.deb を展開する準備をしています ...
libc-dev-bin (2.39-0ubuntu8.2) で (2.35-0ubuntu3.8 に) 上書き展開しています ...

Progress: [  9%]
.../libc6-dev_2.39-0ubuntu8.2_amd64.deb を展開する準備をしています ...
libc6-dev:amd64 (2.39-0ubuntu8.2) で (2.35-0ubuntu3.8 に) 上書き展開しています ...
古いパッケージ libc6:amd64 (2.35-0ubuntu3.8) 中のファイルを置換しています ...

Progress: [ 19%]
.../locales_2.39-0ubuntu8.2_all.deb を展開する準備をしています ...
locales (2.39-0ubuntu8.2) で (2.35-0ubuntu3.8 に) 上書き展開しています ...

Progress: [ 28%]
.../libc6_2.39-0ubuntu8.2_amd64.deb を展開する準備をしています ...
Checking for services that may need to be restarted...
Checking init scripts...
Checking for services that may need to be restarted...
Checking init scripts...
Stopping some services possibly affected by the upgrade (will be restarted 
later):
  cron: stopping...done.

dpkg-divert: error: cannot divert directories

Use --help for help about diverting files.
dpkg: アーカイブ /var/cache/apt/archives/libc6_2.39-0ubuntu8.2_amd64.deb 
の処理中にエラーが発生しました (--unpack):
 new libc6:amd64 package pre-installation script subprocess returned error exit 
status 2

Progress: [ 38%]
処理中にエラーが発生しました:
 /var/cache/apt/archives/libc6_2.39-0ubuntu8.2_amd64.deb
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/libc6.0.crash'
Exception during pm.DoInstall():  E:Sub-process /usr/bin/dpkg returned an error 
code (1)

*** Send problem report to the developers?

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: libc6 2.35-0ubuntu3.8
ProcVersionSignature: Ubuntu 5.15.0-117.127-generic 5.15.158
Uname: Linux 5.15.0-117-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Sun Jul 28 18:26:58 2024
ErrorMessage: new libc6:amd64 package pre-installation script subprocess 
returned error exit status 2
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 
3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.3
 apt  2.4.12
SourcePackage: glibc
Title: package libc6 2.35-0ubuntu3.8 failed to install/upgrade: new libc6:amd64 
package pre-installation script subprocess returned error exit status 2
UpgradeStatus: Upgraded to jammy on 2024-07-28 (0 days ago)

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


** Tags: amd64 apport-package jammy third-party-packages

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

Title:
  sudo do-release-upgrade -d from 22.04

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


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

[Bug 2074292] Re: sudo do-release-upgrade -d from 22.04

2024-08-03 Thread Takuho NAKANO
Thank you for notifying.
I tried
LANG=C sudo dpkg -i --force-all libc-dev-bin_2.39-0ubuntu8.2_amd64.deb 
libc6_2.39-0ubuntu8.2_amd64.deb libc-bin_2.39-0ubuntu8.2_amd64.deb 
libc6-dev_2.39-0ubuntu8.2_amd64.deb
and got some errors. But finally resolved.


BEFORE installing usrmerge

LANG=C sudo dpkg -i --force-all libc-dev-bin_2.39-0ubuntu8.2_amd64.deb
libc6_2.39-0ubuntu8.2_amd64.deb libc-bin_2.39-0ubuntu8.2_amd64.deb
libc6-dev_2.39-0ubuntu8.2_amd64.deb

(Reading database ... 169813 files and directories currently installed.)
Preparing to unpack libc-dev-bin_2.39-0ubuntu8.2_amd64.deb ...
Unpacking libc-dev-bin (2.39-0ubuntu8.2) over (2.39-0ubuntu8.2) ...
dpkg: regarding libc6_2.39-0ubuntu8.2_amd64.deb containing libc6:amd64:
 libc6:amd64 breaks locales (<< 2.39)
  locales (version 2.35-0ubuntu3) is present and installed.

dpkg: warning: ignoring breakage, may proceed anyway!
Preparing to unpack libc6_2.39-0ubuntu8.2_amd64.deb ...
locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found 
(required by locale)
locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_ABI_DT_RELR' not found 
(required by locale)
locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found 
(required by locale)
Checking for services that may need to be restarted...
Checking init scripts...
Checking for services that may need to be restarted...
Checking init scripts...
Stopping some services possibly affected by the upgrade (will be restarted 
later):

dpkg-divert: error: cannot divert directories

Use --help for help about diverting files.
dpkg: error processing archive libc6_2.39-0ubuntu8.2_amd64.deb (--install):
 new libc6:amd64 package pre-installation script subprocess returned error exit 
status 2
Preparing to unpack libc-bin_2.39-0ubuntu8.2_amd64.deb ...
Unpacking libc-bin (2.39-0ubuntu8.2) over (2.39-0ubuntu8.2) ...
Preparing to unpack libc6-dev_2.39-0ubuntu8.2_amd64.deb ...
Unpacking libc6-dev:amd64 (2.39-0ubuntu8.2) over (2.39-0ubuntu8.2) ...
dpkg: libc-bin: dependency problems, but configuring anyway as you requested:
 libc-bin depends on libc6 (>> 2.39); however:
  Version of libc6:amd64 on system is 2.35-0ubuntu3.

Setting up libc-bin (2.39-0ubuntu8.2) ...
/usr/sbin/ldconfig: 16: exec: /sbin/ldconfig.real: not found
/usr/sbin/ldconfig: 16: exec: /sbin/ldconfig.real: not found
dpkg: error processing package libc-bin (--install):
 installed libc-bin package post-installation script subprocess returned error 
exit status 127
dpkg: libc-dev-bin: dependency problems, but configuring anyway as you 
requested:
 libc-dev-bin depends on libc6 (>> 2.39); however:
  Version of libc6:amd64 on system is 2.35-0ubuntu3.

Setting up libc-dev-bin (2.39-0ubuntu8.2) ...
dpkg: libc6-dev:amd64: dependency problems, but configuring anyway as you 
requested:
 libc6-dev:amd64 depends on libc6 (= 2.39-0ubuntu8.2); however:
  Version of libc6:amd64 on system is 2.35-0ubuntu3.

Setting up libc6-dev:amd64 (2.39-0ubuntu8.2) ...
Processing triggers for man-db (2.10.2-1) ...
Errors were encountered while processing:
 libc6_2.39-0ubuntu8.2_amd64.deb
 libc-bin



AFTER
(I manually touched /lib/x86_64-linux-gnu/libc.so.6 for debugging purposes.)

LANG=C sudo dpkg -i --force-all libc-dev-bin_2.39-0ubuntu8.2_amd64.deb
libc6_2.39-0ubuntu8.2_amd64.deb libc-bin_2.39-0ubuntu8.2_amd64.deb
libc6-dev_2.39-0ubuntu8.2_amd64.deb

(Reading database ... 169822 files and directories currently installed.)
Preparing to unpack libc-dev-bin_2.39-0ubuntu8.2_amd64.deb ...
Unpacking libc-dev-bin (2.39-0ubuntu8.2) over (2.35-0ubuntu3) ...
dpkg: regarding libc6_2.39-0ubuntu8.2_amd64.deb containing libc6:amd64:
 libc6:amd64 breaks locales (<< 2.39)
  locales (version 2.35-0ubuntu3) is present and installed.

dpkg: warning: ignoring breakage, may proceed anyway!
Preparing to unpack libc6_2.39-0ubuntu8.2_amd64.deb ...
Checking for services that may need to be restarted...
Checking init scripts...
Checking for services that may need to be restarted...
Checking init scripts...
Stopping some services possibly affected by the upgrade (will be restarted 
later):

Unpacking libc6:amd64 (2.39-0ubuntu8.2) over (2.35-0ubuntu3) ...
Preparing to unpack libc-bin_2.39-0ubuntu8.2_amd64.deb ...
Unpacking libc-bin (2.39-0ubuntu8.2) over (2.35-0ubuntu3) ...
Preparing to unpack libc6-dev_2.39-0ubuntu8.2_amd64.deb ...
Unpacking libc6-dev:amd64 (2.39-0ubuntu8.2) over (2.35-0ubuntu3) ...
Setting up libc6:amd64 (2.39-0ubuntu8.2) ...
Checking for services that may need to be restarted...
Checking init scripts...
Restarting services possibly affected by the upgrade:
  cron: restarting...done.
  snmpd: restarting...done.
  postfix: restarting...done.
  atd: restarting...done.

Services restarted successfully.
Setting up libc-bin (2.39-0ubuntu8.2) ...
/sbin/ldconfig.real: /lib/x86_64-linux-gnu/libc.so.6 is not a symbolic link

Setting up libc-dev-bin (2.39-0ubuntu8.2) ...
Setting up libc6-dev:amd64 (2.39-0ubuntu8.2) ...
Processing triggers for man-db (2.10.2-1) ...

-- 
You recei