Tag Info

Hot answers tagged

33

dpkg -i --force-confmiss mysql-common.deb will recreate any missing configuration files, ie /etc/mysql/my.cnf in your case.


14

You can change the dependencies of a deb package like this: Unpack deb: ar x golden-linux.deb (will create i.e. three files: debian-binary control.tar.gz data.tar.gz) Unpack control archive: tar xzf control.tar.gz (will create: postinst postrm preinst prerm md5sums control) Fix dependencies in control (use a text editor) Repack control.tar.gz: tar c ...


10

You are seeing an rpmforge dependency problem, not a CentOS dependency problem. rpmforge perl modules are mass rebuilt at the moment. See http://lists.rpmforge.net/pipermail/users/2009-July/002508.html ff.


10

Welcome to Server Fault. In general this type of question is not on-topic here. It is expected that most sysadmins will have already faced this issue before they became a sysadmin through tinkering with their own workstations. However, sysadmins coming from a Windows background may not have faced this, so here are some things to consider: Why not use a ...


9

apt-cache depends pkgname will show a package's dependencies. If you want it all in one command, you could do worse than: apt-get install `apt-cache depends pkgname | awk '/Depends:/{print$2}'`


8

Since you installed postfix from source, you need to install a "dummy" package which will satisfy the mail-transport-agent dependency of mailx (or bsd-mailx). The "equivs" package in debian exists to create such a dummy package which you can install to tell dpkg "this dependency is satisfied" The reason that telling dpkg to simply ignore dependencies is ...


8

The yum deplist command will show you which rpm is required: # yum deplist expect .. .. package: expect.i386 5.43.0-5.1 dependency: libc.so.6 provider: glibc.i686 2.5-49 provider: glibc.i686 2.5-49 dependency: libtcl8.4.so provider: tcl.i386 8.4.13-4.el5


7

You want to run: $ dpkg --info <blah>.deb


7

In Debian Squeeze — at least —, we also can do it this way, after su — or sudo for Ubuntu — aptitude install -o Dpkg::Options::=--force-confmiss mysql-server This will care for the dependencies of mysql-server and reset all the missing conf files of the lot, including mysql-common. Conflicting (remaining) files will be prompted out to be kept or reset. ...


7

After you install the package with the --ignore-depends option, go and edit the /var/lib/dpkg/status file, and remove whatever dependency you think is not needed. Just be very careful. In order a dep. to be required, it is more than likely to BE required


6

Install both. rpm -Uvh glibc-common-2.3.4-2.43.i386.rpm glibc-... Or better yet, just use yum. yum install gcc


6

rpm -q --requires somepackagehere One is the i?86 package, the other is the x86_64 package.


6

apt-get provides a command for exactly that... apt-get build-dep <package name> From the man pages you get build-dep causes apt-get to install/remove packages in an attempt to satisfy the build dependencies for a source package. By default the dependencies are satisfied to build the package natively. If desired a host-architecture can be ...


5

A dependency indeed only would work in a way that stopping service B would stop service A. If this is not what you want, dependencies are not for you and you would need something outside of the built-in service control mechanism doing this work. Using WMI to subscribe to an event triggered by the service stop command and some scripting to do the checks and ...


5

From a command prompt running with admin credentials: sc config <server_service_name> depend= <database_service_name> Read more at this sc.exe documentation.


5

Each package comes with a list of its own dependencies. For debs, which Ubuntu uses, you can do:- [andys@daedalus ~]$ apt-cache depends git-core git-core Depends: git The dependencies for a package are specified when the package is built. Some of them are specified manually by the package maintainer (the person who's responsible for building the ...


4

You can try the --nodeps flag with apt-get. Or download the package and install it using dpkg with the option --ignore-depends.


4

I hope this helps whoever it is that favorited this question, Finally got google to give me better results. Per this forum and this experts exchange response (scroll to the very bottom), It's not a problem of rpm versions--it's just flat-out not supported: The RPM has been produced with LZMA payload compression which is not supported by RHEL (CentOS). My ...


4

You can find default mysql config files in /usr/share/doc/mysql-server-5.0/examples/ or similar. That may be all that you need unless you have some really special/esoteric configurations enabled.


4

You need to export the variable. export LD_LIBRARY_PATH="/usr/local/lib" ./test.cgi Your formulation LD_LIBRARY_PATH="/usr/local/lib" ./test.cgi sets the variable in the current shell. If you're just running LD_LIBRARY_PATH=/usr/local/lib ; ./test.cgi you will set it in the current shell, but not in the child process ./test.cgi. From the bash man page: ...


4

This might be really dumb but it should work. PACKAGE=awstats yum deplist $PACKAGE | grep provider | awk '{print $2}' | sort | uniq | grep -v $PACKAGE | sed ':a;N;$!ba;s/\n/ /g' | xargs yum -y install


4

In case of building pkgname from sources apt-get build-dep pkgname


4

The problem is you randomly grabbed an RPM off the Internet. This is a very bad idea overall. It appears OpenVPN is in the EPEL repository, which you should already have installed. So once you install EPEL on your system, you can just do: yum install openvpn like any other package.


4

You could try repoquery --whatrequires --installed python --installed Restrict query ONLY to installed pkgs - disables all repos and only acts on rpmdb --whatrequires CAPABILITY Query all packages that require CAPABILITY.


3

It seems to me you're trying to bind postgres to an IP associated with the tunnel. If that's the case, the ip_nonlocal_bind is the solution to your problems. Setting the ip_nonlocal_bind allows you to bind to any IP, even one not associated with your computer, which is exactly what you want when you want to bind to an IP you don't yet have - for instance ...


3

Not directly, though some of the packages you install via npm (e.g. socket.io) will emit client-side Javascript libraries. There's another tool called Bower which is designed for client-side Libraries. There may be others, but this is the one I've seen mentioned the most. It's used internally by Google's Yeoman tool for the client-side libraries.


3

yum install $(repoquery --requires <package>)


3

By using the postgresql yum repository you have broken binary compatibility on your CentOS/RHEL system. This means that there are packages (such as libevent) that that repository upgrades/replaces which are incompatible with other packages provided by CentOS/RHEL once installed. Specifically, your postgresql repo has replaced libevent-1.4 which ships with ...


3

Well, four machines make a cluster, no? See http://nagios.sourceforge.net/docs/nagioscore/3/en/clusters.html in the documentation for an indication on how to create an "OR" check; one that notifies only when several conditions occur.


3

Method 1: Read the requirements, compare with the list of installed packages. Method 2: Run the configure script. It will fail on missing dependencies. By the way, when you are thinking of installing from source, consider creating a package for your distribution's package manager on a test system and install the package on the production system. Package ...



Only top voted, non community-wiki answers of a minimum length are eligible