Автор Тема: Обновление с p8 на p9  (Прочитано 1801 раз)

Оффлайн berkut_174

  • Мастер
  • ***
  • Сообщений: 7 145
    • Email
Обновление с p8 на p9
« : 29.06.2022 09:37:28 »
Всем привет!
Пробую обновить с Кентавр 7.0.4 последовательно p7 → p8 → p9 → p10.
На этапе p8 → p9 при обновлении через EPM получаю ошибку:
Starting upgrade/switch whole system to other release
Check also http://wiki.etersoft.ru/Admin/UpdateLinux
 # epm update
Running command for update remote package repository database
 # apt-get update
Get:1 http://ftp.altlinux.org ALTLinux/p8/branch/i586 release [1091B]
Get:2 http://ftp.altlinux.org ALTLinux/p8/branch/noarch release [885B]
Fetched 1976B in 0s (20.2kB/s)
Hit http://ftp.altlinux.org ALTLinux/p8/branch/i586/classic pkglist
Hit http://ftp.altlinux.org ALTLinux/p8/branch/i586/classic release
Hit http://ftp.altlinux.org ALTLinux/p8/branch/noarch/classic pkglist
Hit http://ftp.altlinux.org ALTLinux/p8/branch/noarch/classic release
Reading Package Lists...
Building Dependency Tree...

Upgrade ALTLinux from p8 to p9 ...
Are you sure? [y/N]
 # rpm -qf /etc/altlinux-release
 # epm install rpm apt apt-conf-branch
alt-gpgkeys
 # apt-get install rpm apt apt-conf-branch alt-gpgkeys
Reading Package Lists...
Building Dependency Tree...
rpm is already the newest version.
apt is already the newest version.
apt-conf-branch is already the newest version.
alt-gpgkeys is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
 # apt-repo list
 # apt-repo list
rpm [p8] http://ftp.altlinux.org/pub/distributions ALTLinux/p8/branch/i586 classic
rpm [p8] http://ftp.altlinux.org/pub/distributions ALTLinux/p8/branch/noarch classic
 # apt-repo list
rpm [p8] http://ftp.altlinux.org/pub/distributions ALTLinux/p8/branch/i586 classic
rpm [p8] http://ftp.altlinux.org/pub/distributions ALTLinux/p8/branch/noarch classic
 # apt-repo list
rpm [p8] http://ftp.altlinux.org/pub/distributions ALTLinux/p9/branch/i586 classic
rpm [p8] http://ftp.altlinux.org/pub/distributions ALTLinux/p9/branch/noarch classic
 # epm update
Running command for update remote package repository database
 # apt-get update
Get:1 http://ftp.altlinux.org ALTLinux/p9/branch/i586 release [1954B]
Get:2 http://ftp.altlinux.org ALTLinux/p9/branch/noarch release [1545B]
Fetched 3499B in 0s (35.5kB/s)
Get:1 http://ftp.altlinux.org ALTLinux/p9/branch/i586/classic pkglist [20.3MB]
Get:2 http://ftp.altlinux.org ALTLinux/p9/branch/i586/classic release [133B]
Get:3 http://ftp.altlinux.org ALTLinux/p9/branch/noarch/classic pkglist [5446kB]
Get:4 http://ftp.altlinux.org ALTLinux/p9/branch/noarch/classic release [135B]
Fetched 25.7MB in 11s (2196kB/s)
Reading Package Lists...
Building Dependency Tree...
 # epm install systemd
 # apt-get install systemd
Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
  alterator-grub alterator-hw-functions cryptsetup dbus dbus-tools dmeventd
  dmraid dmsetup fontconfig fonts-ttf-dejavu glib2 glib2-locales glibc-core
  glibc-gconv-modules glibc-locales glibc-nss glibc-preinstall glibc-pthread
  glibc-utils grub-common grub-pc iconv iproute2 iptables kpartx libXft
  libargon2 libblkid libcairo libcrypt libcrypto1.1 libcryptsetup libdatrie
  libdbus libdevmapper libdevmapper-event libevent2.1 libfdisk libfreetype
  libfribidi libharfbuzz libiptables libjson-c4 liblvm2 libmount libmultipath
  libnetfilter_conntrack libnetlink libnfsidmap libnsl2 libnss-myhostname
  libpam0 libpango libpixman libpng15 libpng16 libpython libreadline7
  libselinux libsmartcols libssl1.1 libtcb libthai libuserspace-rcu libuuid
  libzstd losetup lsblk lvm2 make-initrd make-initrd-busybox
  make-initrd-devmapper make-initrd-luks make-initrd-lvm make-initrd-mdadm
  mount multipath-tools nfs-clients nfs-utils nscd nss_tcb pam pam0_tcb
  pam_systemd postfix python-base python-modules python-modules-compiler
  python-modules-ctypes python-modules-curses python-modules-email
  python-modules-encodings python-modules-nis python-modules-unittest rpcbind
  setarch sfdisk systemd-boot-efi systemd-services systemd-sysvinit
  systemd-utils tcb-utils udev udev-hwdb udev-rules util-linux
  util-linux-control zlib zstd
The following packages will be upgraded
  alterator-grub alterator-hw-functions cryptsetup dbus dbus-tools dmeventd
  dmraid dmsetup fontconfig glib2 glib2-locales glibc-core glibc-gconv-modules
  glibc-locales glibc-nss glibc-preinstall glibc-pthread glibc-utils
  grub-common grub-pc iconv iproute2 iptables kpartx libblkid libcryptsetup
  libdbus libdevmapper libdevmapper-event libfdisk libfreetype libharfbuzz
  libiptables liblvm2 libmount libmultipath libnetfilter_conntrack libnetlink
  libnfsidmap libnss-myhostname libpam0 libpng15 libpython libselinux
  libsmartcols libtcb libuserspace-rcu libuuid libzstd losetup lsblk lvm2
  make-initrd make-initrd-devmapper make-initrd-luks make-initrd-lvm
  make-initrd-mdadm mount multipath-tools nfs-clients nfs-utils nscd nss_tcb
  pam pam0_tcb pam_systemd postfix python-base python-modules
  python-modules-compiler python-modules-ctypes python-modules-curses
  python-modules-email python-modules-encodings python-modules-unittest rpcbind
  setarch sfdisk systemd systemd-services systemd-sysvinit systemd-utils
  tcb-utils udev udev-hwdb udev-rules util-linux util-linux-control zlib zstd
The following packages will be REPLACED:
  kinit-utils (by make-initrd)  udev-extras (by udev)
The following packages will be REMOVED:
  libwrap make-initrd-plymouth
The following NEW packages will be installed:
  fonts-ttf-dejavu libXft libargon2 libcairo libcrypt libcrypto1.1 libdatrie
  libevent2.1 libfribidi libjson-c4 libnsl2 libpango libpixman libpng16
  libreadline7 libssl1.1 libthai make-initrd-busybox python-modules-nis
  systemd-boot-efi
90 upgraded, 20 newly installed, 2 replaced, 2 removed and 361 not upgraded.
Need to get 46.2MB of archives.
After unpacking 58.8MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.altlinux.org ALTLinux/p9/branch/i586/classic make-initrd-mdadm 2.16.0-alt2:p9+283509.100.1.1@1629464868 [36.9kB]
...
Get:110 http://ftp.altlinux.org ALTLinux/p9/branch/noarch/classic fonts-ttf-dejavu 2.37-alt1@1469992619 [2526kB]
Fetched 46.2MB in 19s (2400kB/s)
Committing changes...
Preparing...                 ##################################################
file /etc/openssl/openssl.cnf from install of libcrypto1.1-1.1.1n-alt2 conflicts with file from package libcrypto10-1.0.2u-alt0.M80P.2
file /etc/openssl/cipher-list.conf from install of libssl1.1-1.1.1n-alt2 conflicts with file from package libssl10-1.0.2u-alt0.M80P.2
E: Error while running transaction
Error:

Обновление через:
apt-repo rm all
apt-repo add branch p9
apt-get update
apt-get dist-upgrade
update-kernel
проходит нормально.

Вероятно есть смысл исправить или указать на вики об этой ошибке https://www.altlinux.org/Update/p9#Обновление_с_помощью_EPM
« Последнее редактирование: 29.06.2022 09:39:08 от berkut_174 »
Сноси Винду, переходи на Линукс ! :)

Оффлайн asy

  • alt linux team
  • ***
  • Сообщений: 8 099
Re: Обновление с p8 на p9
« Ответ #1 : 29.06.2022 11:53:09 »
Что-то не очень понятно, зачем epm пытается systemd отдельно обновлять.

Оффлайн berkut_174

  • Мастер
  • ***
  • Сообщений: 7 145
    • Email
Re: Обновление с p8 на p9
« Ответ #2 : 29.06.2022 14:42:08 »
Кстати, изначально Кентавр 7.0.4 был на SysVinit, когда перешёл на p8, то выполнил переход на Systemd так:
# apt-get install systemd; apt-get install systemd-sysvinit; reboot
# systemctl set-default multi-user.target

Вероятно, это важно.
Сноси Винду, переходи на Линукс ! :)