Installing different versions of debian package

2004-05-24 Thread Lee Hanxue
Hi,


This may sound stupid, but is it possible to install different versions of a debian 
package at the same time?

I asked this question because I had some dependencies problem previously. I upgraded a 
package that caused kdelibs to be upgraded from kdelib 3.1 to kdelibs 3.2. After some 
time, I wanted to upgrade another package, but apt-get complains that it depends on 
kdelib 3.1 but kdelib 3.1 is nowhere to be found. 

I tried using --force, and in some instances it does not work. At one point, even kdm 
would not started. Finally I ended up removing kde and all its dependant packages and 
reinstalling the latest version from scratch.

What if the different versions of the same package provides different files? For 
example, libcustom-1.1 provides libcustom-1.1.so and libcustom-1.2 provides 
libcustom-1.2.so Is it still possible to have both versions to be installed at the 
same time?

Finally, are there any tools which can track what files are installed from source?


Thank you.



Hanxue


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



GTK and qtpixmap error

2004-05-26 Thread Lee Hanxue
I have both the gtk-engine-qtpixmap and gtk2-engine-qtpixmap packages installed, but 
when I run a gtk program, I always get this error:

 Gtk-WARNING **: Unable to locate theme engine in module_path: "qtpixmap"


What might be the problem?

The gtk programs still run fine, though.



Hanxue


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



apt dependency problems

2004-06-02 Thread Lee Hanxue
Hi,


Recently apache 1.3.29 (testing branch) refuse to start. I wanted to remove it, and 
use apache 2 instead. It seems that earlier dependency problems caused apache to be 
not cleanly uninstalled. I tried using

apt-get remove apache
apt-get remove --purge apache
dpkg -r apache

but to no avail. There seemed to be some dependency problem with the packages:

phpwiki
smarty
ucf

I manually removed those files listed by "dpkg -L packagename", and edited the 
/var/lib/dpkg/status file by hand to change the status to "purge ok not-installed".

This is the current status:

[EMAIL PROTECTED]:/home/hanxue# apt-get install apache
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libclamav1 proftpd ucf
Suggested packages:
  apache-doc proftpd-doc
The following packages will be upgraded:
  apache libclamav1 proftpd ucf
4 upgraded, 0 newly installed, 0 to remove and 629 not upgraded.
11 not fully installed or removed.
Need to get 0B/831kB of archives.
After unpacking 987kB of additional disk space will be used.
Do you want to continue? [Y/n]


When I answer "Y", this is the response:

Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 127263 files and directories currently installed.)
Preparing to replace apache 1.3.29.0.2-4 (using .../apache_1.3.29.0.2-4_i386.deb) ...
dpkg (subprocess): unable to execute new pre-installation script: Permission denied
dpkg: error processing /var/cache/apt/archives/apache_1.3.29.0.2-4_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 2
dpkg (subprocess): unable to execute new post-removal script: Permission denied
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 2
Preparing to replace libclamav1 0.67-7 (using .../libclamav1_0.70-4_i386.deb) ...
Unpacking replacement libclamav1 ...
dpkg (subprocess): unable to execute old post-removal script: Permission denied
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
dpkg (subprocess): unable to execute new post-removal script: Permission denied
dpkg: error processing /var/cache/apt/archives/libclamav1_0.70-4_i386.deb (--unpack):
 subprocess new post-removal script returned error exit status 2
dpkg (subprocess): unable to execute new post-removal script: Permission denied
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 2
Preparing to replace proftpd 1.2.9-6 (using .../proftpd_1.2.9-12_i386.deb) ...
dpkg (subprocess): unable to execute old pre-removal script: Permission denied
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
dpkg (subprocess): unable to execute new pre-removal script: Permission denied
dpkg: error processing /var/cache/apt/archives/proftpd_1.2.9-12_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 2
dpkg (subprocess): unable to execute post-installation script: Permission denieddpkg: 
error while cleaning up:
 subprocess post-installation script returned error exit status 2
Preparing to replace ucf 1.06 (using .../apt/archives/ucf_1.06_all.deb) ...
dpkg (subprocess): unable to execute new pre-installation script: Permission denied
dpkg: error processing /var/cache/apt/archives/ucf_1.06_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 2
dpkg (subprocess): unable to execute new post-removal script: Permission denied
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/apache_1.3.29.0.2-4_i386.deb
 /var/cache/apt/archives/libclamav1_0.70-4_i386.deb
 /var/cache/apt/archives/proftpd_1.2.9-12_i386.deb
 /var/cache/apt/archives/ucf_1.06_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



What is the problem? Is it because of some corrupted dpkg related file? Any hints on 
solving this?


Thank you in advance.


Lee Hanxue


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt dependency problems

2004-06-06 Thread Lee Hanxue

> This seems similar to a problem I ran into on a server that I installed
> here and (without thinking) set the noexec option on /var.  You might
> try and see if that is the problem.

Thanks a million! I checked /etc/fstab, and I found out I did not set the 'exec' 
option for the /var partition after I move it. I did not set 'noexec' though.

After adding the 'exec' option, everything works perfectly :)

By the way, will mount use the 'noexec' option by default?


Hanxue


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt dependency problems

2004-06-07 Thread Lee Hanxue

> 
>   'user' implies noexec, otherwise exec is the default.  If var does 
> have 'user', I'd just remove it[so the options' field is just 
> 'defaults'], there is no reason for it.
> 

The reason I want to have 'user' or 'users' is because I want to allow non-priveleged 
users to mount/unmount it. Actually, it is more of a convenience for me, since it is 
primarily my workstation.

Thank you for the info :)


Hanxue


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Unable to compile Launch.app (WindowMaker)

2004-06-10 Thread Lee Hanxue
I am using WindowMaker 0.80.1-8. I downloaded the Launch.app (part of stepmaker) - 
http://stepmaker.sourceforge.net/launch.html - source and tried compiling it. 

Basically, gcc is complaining that WMaker.h cannot be located. I looked through the 
available packages, and I cannot find something like wmaker-dev. Is there a package 
with WindowMaker sources?

Thank you in advance.


Hanxue


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Gnome fonts and themes

2004-06-22 Thread Lee Hanxue
I am using Debian testing/unstable, and running Gnome 2.6 I use Windowmaker as my 
window manager. The problem is whenever I start a gnome app, such as gnome-terminal or 
galeon, the font will appear awfully small. 

The fonts will become okay when I start gnome-font-properties. I did not even change a 
single thing: just start gnome-font-properties, and the font size in gnome-terminal 
will increase automagically. Can anyone be kind enough to explain what is happening, 
and how can I set gnome apps to use the larger font by default?

Whenever a GTK related app starts up, there will be lots of warnings such as these:

(gnome-font-properties:20089): Gtk-WARNING **: Unable to locate theme engine in 
module_path: "qtpixmap",
(gnome-font-properties:20089): Gtk-WARNING **: Unable to locate theme engine in 
module_path: "redmond95",

I have checked that the latest versions of gtk-engines-qtpixmap, 
gtk2-engines-qtpixmap, gtk-engines-redmond95 and gtk2-engines-redmond95 are installed. 

How can I solve these problems?


Thank you in advance.


Lee Hanxue


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Problem compiling rekall-2.3.0 on Debian 2.4.24 i686 (KDE 3.2.2)

2004-05-11 Thread Lee Hanxue
I have been trying to install rekall for the past 2 weeks. I cannot seem to be able to 
find a debian package for rekall, so I tried compiling it from source.

Below are the last few lines from ./configure --disable-mt

checking for Qt... libraries /usr/lib, headers /usr/include/qt3
checking if Qt compiles without flags... yes
checking for moc... /usr/share/qt3/bin/moc
checking for uic... /usr/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... kde_incdir is NO\n
configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!



Am I missing out any qt/kde libraries in my system? If so, can anybody give me any 
hints?

Has anybody got rekall working on their box?


Thank you.


Yours truly,
Hanxue


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: rpm and Debian

2004-05-13 Thread Lee Hanxue
On Thu, 13 May 2004 00:58:58 -0500
dircha <[EMAIL PROTECTED]> wrote:


> [1] http://packages.debian.org
> [2] http://apt-get.org
> [3] http://www.backports.org
> [4] http://www.debian.org/doc/debian-policy/
> [5] http://lists.debian.org
> 
Not to forget http://mentors.debian.net
You might be able to find packages which are not available at the official repository.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]