Install postgres 9.0 in debian lenny [closed] - postgresql

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Dear all,
My system has the following distribution details
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 5.0 (lenny)
Release: 5.0
Codename: lenny
I need to install postgres 9.0 in this machine , but I cannot find any stable lenny packages for postgres 9.0 , Is there any other way to do this
Any suggestion would be appreciated !

Thanks to the new debian backports suite, here's how to install PostgreSQL 9.0 on Debian lenny:
Add the following to /etc/apt/sources.list:
deb http://backports.debian.org/debian-backports lenny-backports main
deb http://backports.debian.org/debian-backports lenny-backports-sloppy main
Then run these 2 commands
apt-get install -t lenny-backports postgresql-common
apt-get install -t lenny-backports-sloppy postgresql-9.0 postgresql-client-9.0 postgresql-contrib-9.0
Note that this utilizes the new lenny-backports-sloppy backport suite - please read the announcement in order to be aware of the trade offs of using this suite.

Installing from source is quite easy:
Basically: Download postgresql-9.0.1.tar.bz2
tar xjf postgresql-9.0.1.tar.bz2
cd postgresql-9.0.1
./configure
make
make install
Details here

thanks leonbloy the backport for lenny is no longer supported. use this site to download
http://ftp.riken.go.jp/pub/FreeBSD/distfiles/postgresql/
wget http://ftp.riken.go.jp/pub/FreeBSD/distfiles/postgresql/postgresql-version.tar.bz2
Then follow leonbloy's instructions above and read the file INSTALL when you uncompress the file.

Related

i was upgrading parrot os and it failed realtek driver and said to use dpkg -a --configure [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 months ago.
Improve this question
dpkg --configure -a
Setting up realtek-rtl8188eus-dkms (5.3.9~git20220829.4ba8e08-0parrot1) ...
Removing old realtek-rtl8188eus-5.3.9~git20220829.4ba8e08 DKMS files...
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/realtek-rtl8188eus/5.3.9~git20220829.4ba8e08/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/realtek-rtl8188eus/5.3.9~git20220829.4ba8e08/source/dkms.conf)
Module realtek-rtl8188eus-5.3.9~git20220829.4ba8e08 for kernel 5.18.0-14parrot1-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
8188eu.ko:
Uninstallation
Deleting from: /lib/modules/5.18.0-14parrot1-amd64/updates/dkms/
Original module
No original module was found for this module on this kernel.
Use the dkms install command to reinstall any previous module version.
depmod....
Deleting module realtek-rtl8188eus-5.3.9~git20220829.4ba8e08 completely from the DKMS tree.
Loading new realtek-rtl8188eus-5.3.9~git20220829.4ba8e08 DKMS files...
Deprecated feature: REMAKE_INITRD (/usr/src/realtek-rtl8188eus-5.3.9~git20220829.4ba8e08/dkms.conf)
Building for 6.0.0-2parrot1-amd64
Building initial module for 6.0.0-2parrot1-amd64
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/realtek-rtl8188eus/5.3.9~git20220829.4ba8e08/source/dkms.conf)
Error! Bad return status for module build on kernel: 6.0.0-2parrot1-amd64 (x86_64)
Consult /var/lib/dkms/realtek-rtl8188eus/5.3.9~git20220829.4ba8e08/build/make.log for more information.
dpkg: error processing package realtek-rtl8188eus-dkms (--configure):
installed realtek-rtl8188eus-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
realtek-rtl8188eus-dkms
VERSION ID5.1
VERSION 5.1 Electro Ara
VERSION CODENAME=ara
6.0.0-2parrot1-amd64
any ideas for trouble shoot
Kernel VERSION ID5.1 VERSION 5.1 Electro Ara VERSION CODENAME=ara 6.0.0-2parrot1-amd64 not supported to that device i got some problem with you, downgrade to the stable kernel is the fast way solve this error
deleting the old not installable packages will fix it use:
sudo rm -rf /usr/src/realtek-rtl8*
and
sudo rm -rf /usr/src/r8168-8.050.03/
it would be a real pain in the ass to fix so the most straightforward way to fix it as a whole is to recompile the kernel for Parrot os. download the lastest kernel from kernel.org, untar it and then recompile it and reinstall with a couple of commands and it should work as expected with no errors.

How to compile Bazel on CentOS 6.x? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
As of today, only Ubuntu packages are available.
Can Bazel be compiled on CentOS 6.x?
Bazel is tested to be able to compile on CentOS 6.7 using the docker image produced by this docker file.
The C++ compiler shipped with CentOS 6.7 is too old to compile Bazel, so the trick is simply to use a newer one:
# Install the dependencies of Bazel
yum install java-1.8.0-openjdk-devel wget which findutils binutils gcc tar gzip zip unzip java java-devel git clang zlib-devel gcc-c++
# Install a newer gcc
wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo
yum install devtoolset-2-gcc devtoolset-2-gcc-c++ devtoolset-2-binutils
# Set the path to java and gcc
export JAVA_HOME=/usr/lib/jvm/java-1.8.0
export CC=/opt/rh/devtoolset-2/root/usr/bin/gcc
# Clone the repository
git clone https://github.com/bazelbuild/bazel /tmp/bazel
# Compile bazel
cd /tmp/bazel; ./compile.sh
# Copy the bazel binary to some binary directory
cp /tmp/bazel/output/bazel ~/bin

Debian package postgresql-9.3-postgis-2.1 suddenly stopped installing [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Literally overnight, the postgresql-9.3-postgis-2.1 package stopped successfully installing on Debian 7.6. I am not seeing much online and the postgresql IRC seems to be unaware of the issue.
The error I recieve:
root#debian:/home/vagrant# apt-get install postgresql-9.3-postgis-2.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
postgresql-9.3-postgis-2.1 : Depends: liblwgeom-2.1.4 (>= 2.1.2) but it is not going to be installed
Recommends: postgis but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Installation steps:
echo "deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main" >> /etc/apt/sources.list
wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add -
apt-get update -y
apt-get install -y postgresql-9.3-postgis-2.1
Anyone else experiencing this error? Looks like liblwgeom was updated this morning.
I was able to get past the issue on my debian wheezy by doing this:
sh -c 'echo "deb http://http.debian.net/debian wheezy-backports main" >> /etc/apt/sources.list'
apt-get update
apt-get install libjson-c2
apt-get install liblwgeom-2.1.4
apt-get install -y postgresql-9.3-postgis-2.1
Generally, if you have problems with apt.postgresql.org, please use the mailing list: pgsql-pkg-debian#postgresql.org
We are now rebuilding postgis on wheezy with backports disabled.

How to install docker on CentOS 7? [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 25 days ago.
Improve this question
After installing EPEL repository and enabling EPEL, I tried the following:
# yum install docker-io || yum --enablerepo=epel install docker-io
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* epel: mirrors.yun-idc.com
* extras: mirrors.btte.net
* updates: mirrors.btte.net
No package docker-io available.
Error: Nothing to do
In CentOS 7, how can I install docker?
As described here, docker is inside the CentOS-Extras repository of CentOS 7 and can be installed without the need for enabling EPEL.
Please note: As of CentOS 7, the correct name of the package should be simply docker, while in the EPEL repository for CentOS 6, it is yet called docker-io.) I guess that's the problem why it fails for you. Hope this helps!
Some additional comments (thanks to #Martin Preusse for the hints):
The packages in the extras repository are a little bit outdated right now. Available version is 0.11.1, while the current stable version of docker is 1.2.0.
While docker was available in the EPEL repository for CentOS 6 as docker-io (because docker is conflicting with the package name of a system tray dock), it is not available in the beta EPEL repository for CentOS 7. And even worse: The version in the EPEL for CentOS 6 is 1.1.2 and much newer than the current version in the official extras repository of CentOS 7.
It wasn't optimal, but I pulled a recent rpm from FC19 and used that on CentOS7. I used docker-io-1.1.2-3.fc19.x86_64 from:
http://rpm.pbone.net/index.php3/stat/4/idpl/27150558/dir/fedora_19/com/docker-io-1.1.2-3.fc19.x86_64.rpm.html
and then performed a local rpm install. I have not had any issues. My CentOS version is CentOS Linux release 7.0.1406 (Core)
This wasn't my preferred way of doing this, but it was better than being so far back in terms of versions.
I have tried with below command it is working.
yum install -y docker.x86_64
You can install docker using repo or a package file as below:
yum install -y yum-utils
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin
Verify that the fingerprint matches 060A 61C5 1B55 8A7F 742B 77AA C52F EB6B 621E 9F35 and accept the GPG key if requested to do so.
For the installation of a particular version you can refer the command below :
yum list docker-ce --showduplicates | sort -r
OR
You can also install it without adding the repository on the server.
Installation steps using the package download Visit this link: https://download.docker.com/linux/centos Then select your preferred CentOS version. Once you've found the.rpm file for the Docker version you wish to instal, navigate to x86 64/stable/Packages/.

" Gtk-WARNING: Unable to locate theme engine in module_path: "murrine" error while installing Adobe air installation on Ubuntu 13.10 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Hi I'm new to Ubuntu and I need to install Adobe Air on my computer! I have Ubuntu 13.10 version.
I have followed the following steps:
$ sudo apt-get install libgtk2.0-0:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libidn11:i386 libglu1-mesa:i386
I have downloaded Adobe Air (http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin)
$ chmod +x AdobeAIRInstaller.bin
$ ./AdobeAIRInstaller.bin
At this point I had the error message:
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"
(setup:3193): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
Gtk-Message: Failed to load module "canberra-gtk-module"
5- After looking different website I've done this:
$ sudo apt-get install --reinsta gtk2-engines
$ sudo apt-get install gtk-murrine-engine gtk-equinox-engine
and I got back this error message for the last command:
E: Unable to locate package gtk-murrine-engine
E: Unable to locatepackage gtk-equinox-engine
So I don't know anymore what else to do, can anyone help me please?
Installing the following will fix ..
sudo apt-get install gtk2-engines
sudo apt-get install gtk2-engines-*
sudo apt-get install libgtkmm-2.4-1c2
sudo apt-get install libcanberra-gtk-module
if that doesn't work then try ..
sudo apt-get install gtk2-engines:i386
sudo apt-get install gtk2-engines-*:i386
sudo apt-get install libgtkmm-2.4-1c2:i386
sudo apt-get install libcanberra-gtk-module:i386
I had this same issue and solved it by just installing this DEB package: gtk2-engines-murrine
On a 32-bit Linux operating system with APT package manager, all you have to do to install that package is to run this command on the Linux shell:
sudo apt-get install gtk2-engines-murrine
My system is a 64-bit XUbuntu Linux, version 16.04 "Xenial Xerus". If your system is 64-bit just like mine (and uses APT as package manager), then run this supercommand:
sudo dpkg --add-architecture i386 ; sudo apt-get install gtk2-engines-murrine:i386
Note: on the supercommand above, the first command (left side) adds 32-bit packge support for your 64-bit system, while the second command (right side) installs the 32-bit package on your 64-bit system.
sudo apt-get install libgtkmm-2.4-1c2
This resolved the issue for me.
You are missing the overlay-scrollbar-gtk2 and unity-gtk2-module
packages.
The following installation resolved the problem for me :
sudo apt-get install overlay-scrollbar-gtk2 unity-gtk2-module
I did
sudo apt-get install gtk2-engines
sudo apt-get install gtk2-engines-*
sudo apt-get install libgtkmm-2.4-1c2
sudo apt-get install libcanberra-gtk-module
But it gives the same error. After that I download murrine-0.90.3.tar.gz and install it.To do that
tar -xvf murrine-0.90.3.tar.gz
cd murrine-0.90.3
./configure
make
make install
After that ,I run ./AdobeAIRInstaller.bin and it works for me.Hope this helps someone.