Couldn't find any package whose name or description matched "beanstalkd" - ubuntu-14.04

I am trying ton install beanstalkd on ubuntu 14.
I have tried using following commands
aptitude install -y beanstalkd
apt-get install beanstalkd
But I am getting following errors
Couldn't find any package whose name or description matched
"beanstalkd" Couldn't find any package whose name or description
matched "beanstalkd" No packages will be installed, upgraded, or
removed. 0 packages upgraded, 0 newly installed, 0 to remove and 622
not upgraded. Need to get 0 B of archives. After unpacking 0 B will be
used.
Reading package lists... Done Building dependency tree Reading
state information... Done E: Unable to locate package beanstalkd
Can anyone help me how to do that.

Related

Program doesn't find installed lib in Linux

I'm using a Raspberry Pi 4 with Ubuntu 20.04 LTS for ARM(arm64). After trying to install .deb file of Winscribe(armhf), logs show that I miss some package and installed it:
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up windscribe-cli:armhf (1.4-51) ...
/usr/bin/windscribe: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
/usr/bin/windscribe: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
dpkg: error processing package windscribe-cli:armhf (--configure):
installed windscribe-cli:armhf package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
windscribe-cli:armhf
E: Sub-process /usr/bin/dpkg returned an error code (1)
After I tried to install libz.so.1 manually and succeed. Logs from apt:
sudo apt-get install zlib1g
Reading package lists... Done
Building dependency tree
Reading state information... Done
zlib1g is already the newest version (1:1.2.11.dfsg-2ubuntu1.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Even after is shows me the top error as Windscribe doesn't find lib.
Any help would be appreciated.

'Package 'nodejs' is not installed, so not removed' Ubuntu 18.04

I want to uninstall nodejs and npm from my Ubuntu 18.04 system.
I have tried the following command.
sudo apt purge nodejs
Output
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'nodejs' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 123 not upgraded.
P.S.
which node outputs /usr/bin/node
How can I uninstall nodejs and npm?

0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Not upgrading (ubuntu 20.04)

I'm trying to do sudo apt-get upgrade exiftool and the output is:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libimage-exiftool-perl' instead of 'exiftool'
libimage-exiftool-perl is already the newest version (11.88-1).
Calculating upgrade... Done
The following packages have been kept back:
libgegl-0.4-0
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
I've tried sudo apt-get dist-upgrade and sudo apt-get upgrade but that 1 not upgraded doesn't upgrade at all. What should I do?
I had a similar problem until recently
Fetched 3,013 kB in 7s (415 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: php-symfony-console 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
I tried upgrading the individual package that was causing the trouble, but that just led me down a rabbit hole of package dependencies which were seemingly broken.
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: php-symfony-console : Depends: php-mbstring E: Broken packages
So I uninstalled then re-installed the 'parent package' that held the packages that could not upgrade. In my case it was the whole of php7
`sudo apt-get purge php7.*
sudo apt-get autoclean
sudo apt-get autoremove`

Unable to install python3-tk on Ubuntu 18.04.2 LTS

I am running Ubuntu 18.04.2 LTS:
user#vmubu01:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
And I am unable to install python3-tk using 'apt-get install' command as you can see below:
user#vmubu01:~$ sudo apt-get install python3-tk
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
tix python3-tk-dbg
The following NEW packages will be installed:
python3-tk
0 upgraded, 1 newly installed, 0 to remove and 91 not upgraded.
3 not fully installed or removed.
Need to get 0 B/101 kB of archives.
After this operation, 891 kB of additional disk space will be used.
(Reading database ... 206924 files and directories currently installed.)
Preparing to unpack .../python3-tk_3.6.8-1~18.04_amd64.deb ...
Unpacking python3-tk:amd64 (3.6.8-1~18.04) ...
dpkg: error processing archive /var/cache/apt/archives/python3-tk_3.6.8-1~18.04_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python3.6/tkinter/__init__.py', which is also in package libpython3.6-stdlib:amd64 3.6.8-1+xenial1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/python3-tk_3.6.8-1~18.04_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I am also unable to install it using pip, see the error below:
user#vmubu01:~$ pip3.6 install python3-tk
Collecting python3-tk
ERROR: Could not find a version that satisfies the requirement python3-tk (from versions: none)
ERROR: No matching distribution found for python3-tk
If I try to run the 'apt --fix-broken install' command I get:
user#vmubu01:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
python3-tk
Suggested packages:
tix python3-tk-dbg
The following NEW packages will be installed:
python3-tk
0 upgraded, 1 newly installed, 0 to remove and 91 not upgraded.
3 not fully installed or removed.
Need to get 0 B/101 kB of archives.
After this operation, 891 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 206924 files and directories currently installed.)
Preparing to unpack .../python3-tk_3.6.8-1~18.04_amd64.deb ...
Unpacking python3-tk:amd64 (3.6.8-1~18.04) ...
dpkg: error processing archive /var/cache/apt/archives/python3-tk_3.6.8-1~18.04_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python3.6/tkinter/__init__.py', which is also in package libpython3.6-stdlib:amd64 3.6.8-1+xenial1
Errors were encountered while processing:
/var/cache/apt/archives/python3-tk_3.6.8-1~18.04_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I please advise
Not sure this solution fits for every situation, but here is one that worked for me.
I had the same issue (except it was with Ubuntu 16.04), also tried what #Column01 wrote in comments:
sudo apt-get install python3.6-tk
Same problem.
But that gave me an idea. Checked:
$ python --version
Python 3.5.2
So the solution was as simple as:
sudo apt-get install python3.5-tk

Error when compiling PostgreSQL on Debian

I'm compiling and installing postgresql on debian, but have some error:
In file included from pg_dump.c:60:0:
pg_backup_archiver.h:44:18: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^
so I want to install zlib1g-dev , however, It reports :
The following NEW packages will be installed:
zlib1g-dev{b}
0 packages upgraded, 1 newly installed, 0 to remove and 64 not upgraded.
Need to get 192 kB of archives. After unpacking 446 kB will be used.
The following packages have unmet dependencies:
zlib1g-dev : Depends: zlib1g (= 1:1.2.3.4.dfsg-3) but 1:1.2.8.dfsg-1 is installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) zlib1g-dev [Not Installed]
Accept this solution? [Y/n/q/?] y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 64 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
what should I do? thanks.
since postgresql is already part of debian, why not just use the pre-packaged binary?
if this doesn't fit the bill (for whatever reasons), you can still benefit from the debian packaging effort by installing everything needed to build the debian packages (even if you want to build a psql package that is newer than the one in Debian or has other features, the build will be somehow similar):
# apt-get build-dep postgresql-9.3
and in any case you should make sure that your apt-database is uptodate, so you probably need to run
# apt-get update
before any other step.

Resources