[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help for ask rebuild of liblzma5



Hi all.

I want to co-install [1] the package liblzma5 [2].
The system architecture is riscv64 and the foreign architecture is amd64.

My steps used to install liblzma5:amd64 in a riscv64 chroot created by
debootstrap are:

```
# apt-get download liblzma5:amd64
# dpkg -i liblzma5_5.2.4-1+b1_amd64.deb
Selecting previously unselected package liblzma5:amd64.
(Reading database ... 12291 files and directories currently installed.)
Preparing to unpack liblzma5_5.2.4-1+b1_amd64.deb ...
De-configuring liblzma5:riscv64 (5.2.4-1) ...
Unpacking liblzma5:amd64 (5.2.4-1+b1) ...
dpkg: error processing package liblzma5:amd64 (--install):
 package liblzma5:amd64 5.2.4-1+b1 cannot be configured because
liblzma5:riscv64 is at a different version (5.2.4-1)
dpkg: error processing package liblzma5:riscv64 (--install):
 package liblzma5:riscv64 5.2.4-1 cannot be configured because
liblzma5:amd64 is at a different version (5.2.4-1+b1)
Processing triggers for libc-bin (2.30-4) ...
Errors were encountered while processing:
 liblzma5:amd64
 liblzma5:riscv64
```

As stated in the previous output, the error is that all non-ports
packages (amd64) are in version '5.2.4-1+b1' and all ports packages
(riscv64) are in version '5.2.4-1' (again Download section in [2])

Someone can help me with the steps needed for ask about the rebuild of
the riscv64 version of the package liblzma5 to match the version in
the official architectures?

Note: I used `apt-get download/dpkg -i` due that using `apt-get
install -V liblzma5:amd64` want to uninstall some essential packages:

```
# apt-get install -V liblzma5:amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
   aptitude-common (0.8.12-3)
   klibc-utils (2.0.7-1)
   libboost-iostreams1.67.0 (1.67.0-17)
   libcwidget4 (0.5.18-5)
   libklibc (2.0.7-1)
   libsigc++-2.0-0v5 (2.10.2-1)
   libsqlite3-0 (3.31.1-4)
   libxapian30 (1.4.14-2)
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
   adduser (3.118)
   apt (2.0.1)
   aptitude (0.8.12-3)
   bash-static:amd64 (5.0-6)
   bsdutils (1:2.34-0.1)
   ca-certificates (20190110)
   dash (0.5.10.2-7)
   debconf (1.5.73)
   dpkg (1.19.7)
   grep (3.4-1)
   gzip (1.10-2)
   init-system-helpers (1.57)
   initramfs-tools (0.136)
   initramfs-tools-core (0.136)
   kmod (27-2)
   libapt-pkg6.0 (2.0.1)
   libkmod2 (27-2)
   liblzma5 (5.2.4-1)
   libpam-modules (1.3.1-5)
   libpam-modules-bin (1.3.1-5)
   libpam-runtime (1.3.1-5)
   libpam0g (1.3.1-5)
   libssl1.1 (1.1.1f-1)
   libsystemd0 (245.4-1)
   linux-base (4.6)
   linux-image-5.4.0-4-amd64:amd64 (5.4.19-1)
   linux-image-amd64:amd64 (5.4.19-1)
   login (1:4.8.1-1)
   mount (2.34-0.1)
   openssl (1.1.1f-1)
   passwd (1:4.8.1-1)
   perl-base (5.30.0-9)
   sysvinit-utils (2.96-3)
   tzdata (2019c-3)
   udev (245.4-1)
   util-linux (2.34-0.1)
The following NEW packages will be installed:
   liblzma5:amd64 (5.2.4-1+b1)
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
   apt
   adduser (due to apt)
   libapt-pkg6.0 (due to apt)
   bsdutils
   libsystemd0 (due to bsdutils)
   dash
   dpkg (due to dash)
   debconf (due to dash)
   liblzma5 (due to dpkg)
   grep
   gzip
   init-system-helpers
   perl-base (due to init-system-helpers)
   login
   libpam0g (due to login)
   libpam-runtime (due to login)
   libpam-modules (due to login)
   mount
   util-linux (due to mount)
   sysvinit-utils
0 upgraded, 1 newly installed, 36 to remove and 0 not upgraded.
Need to get 153 kB of archives.
After this operation, 339 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
 ?] n
Abort.
```

Regards,
JMPC

[1]: https://wiki.debian.org/MultiArch/Hints#set_Multi-Arch:_same
[2]: https://packages.debian.org/sid/liblzma5


Reply to: