How can I init bin/msocket.so: - shared-libraries

I am on debian 11 amd64, and i am trying to install a software for my ups system IPP from EATON.
But I am currently stuck on an error related to the librairy msocket.so :
Unable to init module '/tmp/emc2Install/bin/msocket.so' (/tmp/emc2Install/bin/msocket.so: failed to map segment from shared object)
Unable to init module 'bin/msocket.so' (bin/msocket.so: cannot open shared object file: No such file or directory)
{
"message": "Socket is not defined",
"fileName": "scripts/libs/core/socket.js",
"lineNumber": 12,
"stack": "#scripts/libs/core/socket.js:12\n",
"name": "ReferenceError"
}
dpkg: error processing package ipp-linux (--install):
installed ipp-linux package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
ipp-linux
I have tested the same package on a fresh debian installation and it's work properly. Make a fresh install is my last option so if i can get a fiw for this issue.
Thanks you by advance
I have tried to install/reinstall this packet but without success :
sudo apt-get install node-component-emitter
sudo apt-get install node-socket.io-parser
apt-get install socket.io

Related

Error updating Node - ubuntu (WSL) - how to update node

I need at least any >14 version of node, but when i tried to update i had to uninstall. now i1m trying to install the 16 version but i keep gettimg this error:
Unpacking nodejs (16.19.0-deb-1nodesource1) ... dpkg: error processing
archive
/var/cache/apt/archives/nodejs_16.19.0-deb-1nodesource1_amd64.deb
(--unpack): trying to overwrite '/usr/include/node/common.gypi',
which is also in package libnode-dev 12.22.9~dfsg-1ubuntu3 dpkg-deb:
error: paste subprocess was killed by signal (Broken pipe) Errors were
encountered while processing:
/var/cache/apt/archives/nodejs_16.19.0-deb-1nodesource1_amd64.deb E:
Sub-process /usr/bin/dpkg returned an error code (1)
To install NodeJS Firstly make sure to update your packages
sudo apt update
sudo apt upgrade
Then make sure to have curl installed, sudo apt install curl -y
Then import NodeJS repo by curl -fsSL https://deb.nodesource.com/setup_NODEJS_VERSION | sudo -E bash -
Make sure to change NODEJS_VERSION to the version u wish to install, for example if u want to instal v16 change it to 16.x then simply run sudo apt install nodejs -y to install nodejs
Hope that helped!

How to install libpng12-0 on Debian 10 buster i386?

I added repository "deb http://ftp.de.debian.org/debian jessie main" (i used this).
I started the installation:
sudo apt install libpng12-0
But the error comes out:
dpkg: error processing archive /var/cache/apt/archives/libpng12-0_1.2.50-2+deb8u3_i386.deb (--unpack):
Failed to install new version “/usr/lib/i386-linux-gnu/libpng12.so.0”: No such file or directory
Errors occurred while processing the following packages:
/var/cache/apt/archives/libpng12-0_1.2.50-2+deb8u3_i386.deb
E: Sub-process / usr / bin / dpkg returned an error code (1)
I extracted file libpng12.so.0 from this package and placed it in directory /usr/lib/i386-linux-gnu/.
But at installation start:
sudo apt install libpng12-0
the same error comes out.
In this case, file libpng12.so.0 in directory /usr/lib/i386-linux-gnu/ disappears.
If I install the package via gdebi, the error is as follows:
/usr/bin/gdebi:113: FutureWarning: Possible nested set at position 1
c = findall("[[(](\S+)/\S+[])]", msg)[0].lower()
I am our answer here.
Deliver this package from repositories Debian 7 wheezy.

Install .deb Package Error (dpkg error) Debian/Ubuntu machine

I've been confronting an issue while installin .deb package on debian and ubuntu machine. i have tried various way but not able to install it.
it throws me an error below. I' trying to install snowagent on linux based machine. s
Not only this I've also tried following command sudo apt-get install agent.deb but each time when i run this command on shell it prompts me following error.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package agent.deb
E: Couldn't find any package by glob 'agent.deb'
E: Couldn't find any package by regex 'agent.deb'
When i use "dpkg -s agent" its successful installation it prompts me status "Install ok half-configured"
Kindly assit.
Thanks

PHP 7 Module error on Ubuntu

Suddenly I got conflict php 7.0 on Ubuntu 14.04. php run in terminal but not in browser. When I try to re-install I frequently got error below :
Setting up libapache2-mod-php7.0 (7.0.6-13+donate.sury.org~trusty+1) ...
dpkg: error processing package libapache2-mod-php7.0 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
libapache2-mod-php7.0
Moreover I un-installed and re-install apache2 server also but not able to resolve it.
Please note initially I ran command sudo apt-get update. After that I have all these issues. Kindly suggest how it will resolved. Thanks

Installing sublime text 3 on AWS Ubuntu 14.04.1 LTS

Sublime-text is a fast editor for Windows and Linux. I failed to install sublime text 3 on AWS Ubuntu 14.04.1 LTS using the following commands:
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
Results in following error message:
p: cannot create regular file "/usr/share/icons/hicolor/16x16/apps/":
No such file or directory dpkg: error processing package sublime-text-installer (--configure):
subprocess installed post-installation script returned error exit status 1
I see following directories under /usr/share/icons/hicolor/
32
48
64
So, I created 16x16 subdirectory, but then it gives an error for 32x32 directory doesnot exist. Did anyone experience this problem before? I will appreciate any help.
sublime-text is a GUI application that needs a GTK installation. Your server is missing that dependency. (In a perfect world, it should be a dependency of the package of course.)
Install libgtk2 (as root):
apt-get install libgtk2.0-common
and then reinstall sublime-text, probably using:
apt-get purge sublime-text-installer ; apt-get install sublime-text-installer

Resources