Check if a package is installed
Hello, Is there an elegant and more Python-like way to check if a package is installed on Debian? In a bash script, I'd do: dpkg -s packagename | grep Status Suggestions to do the same in a Python script? Thanks, ...
Hello, Is there an elegant and more Python-like way to check if a package is installed on Debian? In a bash script, I'd do: dpkg -s packagename | grep Status Suggestions to do the same in a Python script? Thanks, ...
I'm trying to build a package which has some files under /etc that are not configuration. They are included in the conffiles automatically even if I create an empty package.conffiles in the debian directory. How can I stop dh_installdeb from doing that? ...
Hi, I'm building only a limited number of packages, which have the same dependency set on every build. Unfortunately, pbuilder tries to install the dependencies on every rebuild instead of storing a prepared image and reusing it every time, for example. Is there a way to enable such functionality? Can I somehow skip the long step of ins...
I'm having trouble with setuptools in a larger project where a python package has to be "constructed" from several debian packages (each containing a subpackage of the "main" package). Thus we decided to install the files manully instead of using "setup.py install", but we are unsure of the location to use. We first used a directory in /...
We currently have a software which is based on PHP and lighttpd. For it to work there need to be some packages installed etc. In our company we have diffenrent kinds of servers "API Server" and "Webfrontend servers" both require some dependencies f.e. php5.3 has to be installed from dotdeb. Since we will at some point hopefully have a bu...
Hello, I only have root access to my server and the sudo command therefore does not work. I am trying to run a command that tries to use the sudo command and as I already have root access, it fails. command not found: sudo chmod +x /usr/local/bin/wkhtmltopdf Is there a way that I can get this command to run? Can I move out of roo...
:/usr/local/bin# file wkhtmltopdf wkhtmltopdf: Mach-O executable i386 This file will not run. I have tried removing and reinstalling with no success. I have looked at the permissions (below) and they seem ok too: -rwxr-xr-x 1 root root 13817060 Aug 9 13:07 wkhtmltopdf When I run wkhtmltopdf I get the error below: wkhtmltopdf...
I have installed jdk1.6.0_21 and sqldeveloper(using alien) on debian(lenny). Now when I run sqldeveloper it asks for J2SE installation path, after I type the jdk path it exits with the below error message. Oracle SQL Developer Copyright (c) 2008, Oracle. All rights reserved. Type the full pathname of a J2SE installation (or Ctrl-C t...
Is it possible to install pygsl in Debian? I am using the package and someone with Debian is not sure how to install it without ruining his packaging (since it's not in apt-get.) ...
Is it possible to link tables from other databases (MS SQL, Sybase, etc.) inside a MySQL database, on a Debian server? I am thinking this could be possible using ODBC. ...
I'm building a custom package of vnc and would like to ensure the xdcmp settings of GDM are enabled in the package post install script. The gdm.conf file is an ini style one, i.e.: [section] var=name And the value I want to set has name clashes in different sections throughout the config file. Are there any tools that allow for easy m...
Can you share your experience with making code-completion work in Anjuta, at least for C/C++? It had failed to code-complete both references to inside my code and to various libraries (GLib, etc) as well. I tried several times to make it work 'out-of-the-box' in Debian Lenny/Squeeze and failed -- no matter, which of editors I was using ...
I ran the below script to set environment variables for oracle(oracle_env.sh which comes with oracle package itself). ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server export ORACLE_HOME ORACLE_SID=XE export ORACLE_SID NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh` export NLS_LANG PATH=$ORACLE_HOME/bin:$PATH export PATH if [ $?LD...
I am trying to import into oracle using imp command and the output of the command is as below. invincible:/home/invincible# imp Import: Release 10.2.0.1.0 - Production on Thu Aug 12 22:19:00 2010 Copyright (c) 1982, 2005, Oracle. All rights reserved. Username: n_data Password: IMP-00058: ORACLE error 1034 encountered ORA-01034: OR...
I have a Debian Lenny server running Apache 2.2. I run PHP using Apache's fcgi mod. PHP runs as user www-data (the default) because it's what Apache runs as and there is only one site on the server so I don't see any reason (feel free to correct me) to have the FastCGI instance run as a different user. I chown the ownership of all my PH...
Hi, At localhost (Debian Sid machine), PHP creates session files in /var/lib/php5. When I open sess_cd2ct9hud284gn01os13nk5mi7, for example, i can see something like that: Qms6wztHQ9u79B7jjiihLX0cKc_fXgwo0NeVE34jFhdE__1JDOliUDteHQVXgMAjcGZgJ1EkBft0IUsqBdWrck7s0Vjghsm3vk681u_GV8KRK-ExrAEbvbgXfl51Z83tyh5h2JtRy0qLZmhqwLtUFykm1XbdBBxx5xJpNp...
Hi All, I've been running SOHT (0.6.1) (http://www.ericdaugherty.com/dev/soht/#Introduction) Socket over HTTP Tunneling for awhile now. After a debian upgrade that forced Tomcat 5.5 to 5.5.26-5 - SOHT server has stopped working - sort of. The application is still deployed. The JSP admin side responds, but the service side accepts a s...
Hi, I need a better way to prevent that normal users execute my python script. I'm doing something like that: if __name__ == '__main__': if os.getenv('USER') == 'root': addUser = addUser() else: print 'Only root can run that!' It's working, but it's pretty ugly! My script is about user management in a Debian sy...
I see this in the Debian folder hierarchy after installing Zend Framework. /oradiag_root/ /user/myuser/oradiag_myuser/ /user/myuser/oradiag_root/ This name reminds me Oracle. But I did not find official documentation about this. I didn't install any Oracle server. The folders are doubted. ...
Hello, I wrote a C++ program and then created a package. Every thing went normally with the installing and what not. But now I have another version of the program, an update. Is there a way to create a package with this new version that deletes the old one, or do I have to remove the old version manually and then install the new version?...