Bug 8335 - Installation of server deb package on Ubuntu 24.04 Beta fails
Summary: Installation of server deb package on Ubuntu 24.04 Beta fails
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-19 10:47 CEST by Martin Östlund
Modified: 2024-04-24 10:49 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Martin Östlund cendio 2024-04-19 10:47:53 CEST
When trying to install thinlinc-server_4.16.0-3491_amd64.deb, either manually or through ./install-server, the installation will fail with:

> 2024-04-19 07:44:45,607: Version to install: 4.16.0-3491_amd64
> 2024-04-19 07:44:45,607: Current version(s): 
> 2024-04-19 07:44:45,607: Packages to install: thinlinc-server_4.16.0-> 3491_amd64.deb
> 2024-04-19 07:44:46,321: Installing package(s): thinlinc-server_4.16.0-3491_amd64.deb
> 2024-04-19 07:44:46,423: Warning during installation of '/home/cendio/tl-4.16.0-server/packages/thinlinc-server_4.16.0-3491_amd64.deb': " unable to create '/lib32/libnss_passwdaliases.so.2.dpkg-new' (while processing './lib32/libnss_passwdaliases.so.2'): No such file or directory"
> 2024-04-19 07:44:46,452: Installation of packages failed:
> 2024-04-19 07:42:48,399:     Selecting previously unselected package thinlinc-server.
> 2024-04-19 07:42:48,399:     (Reading database ... 83184 files and directories currently installed.)
> 2024-04-19 07:42:48,399:     Preparing to unpack .../thinlinc-server_4.16.0-3491_amd64.deb ...
> 2024-04-19 07:42:48,399:     Unpacking thinlinc-server (4.16.0-3491) ...
> 2024-04-19 07:42:48,399:     dpkg: error processing archive /home/cendio/tl-4.16.0-server/packages/thinlinc-server_4.16.0-3491_amd64.deb (--install):
> 2024-04-19 07:42:48,399:      unable to create '/lib32/libnss_passwdaliases.so.2.dpkg-new' (while processing './lib32/libnss_passwdaliases.so.2'): No such file or directory
> 2024-04-19 07:42:48,399:     dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
> 2024-04-19 07:42:48,399:     Errors were encountered while processing:
> 2024-04-19 07:42:48,399:      /home/cendio/tl-4.16.0-server/packages/thinlinc-> server_4.16.0-3491_amd64.deb

Manually creating /lib32 will work around this issue. The package installation and the following tl-setup worked fine.
Comment 1 Roman Plessl 2024-04-24 07:31:38 CEST
Creating a symlink from /usr/lib to /lib32 before the installation will fix this on my installations. 

(Hint: Creating a freshly /lib32 directory will fail with the usrmerge error:

******************************************************************************
*
* The base-files package cannot be installed because this system has a
* split /usr.
* Please install the usrmerge package to convert this system to merged-/usr.
* For more information please read https://wiki.debian.org/UsrMerge.
*
******************************************************************************)

Symlinking the /lib32 is compatible with the recognition system of the base-files package.
Comment 2 Martin Östlund cendio 2024-04-24 08:09:32 CEST
Agree. Creating the symlink seems like a better approach to work around this.
Comment 3 Roman Plessl 2024-04-24 10:49:11 CEST
Another Idea:

Even better will be maybe to remove /lib32/libnss_passwdaliases.so.2 in the next release and on Ubuntu 24.04. 

Cause the 32bit release has been stopped (sind 18.04) and everything has been consolidated now in ubuntu 24.04 to merged a merge lib in /usr/lib (64 bit).

Note You need to log in before you can comment on or make changes to this bug.