hack ¤Î¤¿¤á¤Î¥Í¥¿Ä¢, etc,,,

¾õ¶·

Í× proxy ´Ä¶­¤Ç°Ê²¼¤Î´Ä¶­¤Î do-release-upgrade ¤ò»î¤ß¤¿¡£
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.7 LTS
Release:        16.04
Codename:       xenial
¤¹¤ë¤È°Ê²¼¤Î¤è¤¦¤Ê·Ù¹ð¤¬½Ð¤¿¡£
$ do-release-upgrade
...
Connection to Snap Store failed

Your system does not have a connection to the Snap Store. For the
best upgrade experience make sure that your system can connect to
api.snapcraft.io.
Do you still want to continue with the upgrade?

³¹Ô¤¹¤ë[yN]

´Ä¶­ÊÑ¿ô {ftp,http,https}_proxy ¤ÏÀßÄêºÑ¤ß¤Ç¡¢/etc/sudoers.d/inherit_proxy ¤Ë 20220406: sudo - proxy ¤òÅϤ¹ ¤ÎÀßÄê¤òŬÍѺѤߤʤΤÀ¤¬¡¢¤É¤¦¤â do-release-upgrade ¤Ë¤Ï±Æ¶Á¤¬µÚ¤ó¤Ç¤Ê¤¤ÌÏÍÍ¡£
»ÅÊý¤¬¤Ê¤¤¤Î¤Ç¡¢20200518: Ubuntu 20.04 LTS - proxy ¤ÎÀßÄê ¤Ë¤¢¤ë snap ¤ÎÀßÄê¤òŬÍѤ·¤Æ¤ß¤¿¤È¤³¤í¡¢¤È¤ê¤¢¤¨¤º¡¢¤³¤ÎÉôʬ¤Ï̵»öÄ̲ᡣ
¤·¤«¤·¡¢
...
¥¢¥Ã¥×¥°¥ì¡¼¥É¤¬´°Î»¤·¤Þ¤·¤¿

¥¢¥Ã¥×¥°¥ì¡¼¥É¤Ï´°Î»¤·¤Þ¤·¤¿¤¬¡¢¥¢¥Ã¥×¥°¥ì¡¼¥ÉÃæ¤Ë´ö¤Ä¤«¤Î¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿¡£
¤ß¤¿¤¤¤Êɽ¼¨¤Ç½ª¤ï¤Ã¤Æ¤·¤Þ¤Ã¤¿¡£
°ì±þ
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.6 LTS
Release:        18.04
Codename:       bionic
¤Ë¤Ê¤Ã¤¿¤¬¡¢dist-upgrade ¤·¤Æ¤ß¤ë¤È

$ sudo apt dist-upgrade

$ sudo apt dist-upgrade -f

¤ß¤¿¤¤¤Ê´¶¤¸¤Ç¡¢systemd-shim ¤¬»É¤µ¤ë¤¿¤á upgrade ¤Ç¤­¤ó¥Ñ¥Ã¥±¡¼¥¸¤¬»³¤Î¤è¤¦¤ËȯÀ¸¡£
±Ñʸ¤Î¥¨¥é¡¼³Îǧ¤·¤Æ¤ß¤ë¤È°Ê²¼¤ÎÄ̤ꡣ
$ sudo LANG=C apt-get -f install
...
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 289512 files and directories currently installed.)
Removing systemd-shim (9-1bzr4ubuntu1) ...
Removing 'diversion of /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd by systemd-shim'
dpkg-divert: error: rename involves overwriting '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service' with
  different file '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd', not allowed
dpkg: error processing package systemd-shim (--remove):
 installed systemd-shim package post-removal script subprocess returned error exit status 2
Errors were encountered while processing:
 systemd-shim
E: Sub-process /usr/bin/dpkg returned an error code (1)
¤³¤ì¤ò¼ê³Ý¤«¤ê¤Ë¡¢¡Örename involves overwriting '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service' with different file '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd', not allowed¡×¤Ç¥°¥°¤ë¤È°Ê²¼¤Î¥Ú¡¼¥¸¤ò¸«¤Ä¤±¤¿¡£ Û©¤¯
sudo mv /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.bak
¤·¤Æ¡¢ÌäÂê¤Î¥Õ¥¡¥¤¥ë¤ò .bak ¤ËÈò¤±¤¿¾õÂ֤ˤ·¤ÆºÆÅÙ upgrade ¤·¤Æ¤ß¤í¤È¡£

¥³¥á¥ó¥È¤ò¤«¤¯


¡Öhttp://¡×¤ò´Þ¤àÅê¹Æ¤Ï¶Ø»ß¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

ÍøÍѵ¬Ìó¤ò¤´³Îǧ¤Î¤¦¤¨¤´µ­Æþ²¼¤µ¤¤

WikiÆ⸡º÷

¥Õ¥ê¡¼¥¨¥ê¥¢

´ÉÍý¿Í/Éû´ÉÍý¿Í¤Î¤ßÊÔ½¸¤Ç¤­¤Þ¤¹