Dpkg command not found


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Dpkg command not found
# 1  
Old 02-12-2015
Dpkg command not found

Hi All,
I tried to install Message Broker toolkit in Linux server. When I tried to run mqsicreatebar, I received below error

Code:
-bash-3.2$
-bash-3.2$ pwd
/opt/IBM/WMBT800
-bash-3.2$  ./mqsicreatebar
./mqsicreatebar: error while loading shared libraries: libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64

Code:
strace -o /tmp/output.txt ./mqsicreatebar
[ Process PID=10827 runs in 32 bit mode. ]
./mqsicreatebar: error while loading shared libraries: libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64

So when I checked in few forums, I got to know this process runs in 32 bit mode and package ia32-libs-gtk needs to be installed. I tried downloading it.
"ia32-libs-gtk_20140131_amd64.deb"

But I couldn't able to install .deb format and getting below error

Code:
# dpkg -i ia32-libs-gtk_20140131_amd64.deb
-bash: dpkg: command not found

Can someone please help me on this, and please let me know if this process what I am trying is correct.

Thanks,
Anusha

Last edited by Anusha M; 02-12-2015 at 06:22 AM..
# 2  
Old 02-12-2015
Is it possible you're not on a Debian based distribution?

if you're using a redhat based distro you need to find the appropriate rpm package (and any dependencies)
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Mobile media got new name after dpkg --configure -a

I need some explanation, afer executing this command in the terminal dpkg --configure -abecause synaptic told me it does not work properly and told me to do so, otherwise it would not even start. My mobile media like usb-drive or stick is named like below, 641ea5c8-47d2-4473-ae01-6499d2f7ccba!... (0 Replies)
Discussion started by: 1in10
0 Replies

2. Shell Programming and Scripting

Dpkg Syntax Issue . . .

Greetings! I'm trying to get dpkg to just completely extract a multi-part *.deb archive set into a single folder called "output". Simple? Hmmmm.... dpkg --noforce --unpack *.deb /output/Console after ops: However, "--noforce" is taken directly from the helpfile Options listing as furnished... (8 Replies)
Discussion started by: LinQ
8 Replies

3. Ubuntu

Dpkg architecture

I noticed dpkg reporting architecture as AMD64, but the h/w is Intel, see below: ~$ uname -a Linux XXX 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux ~$ lshw | grep -i xeon WARNING: you should run this program as super-user. PCI (sysfs) ... (2 Replies)
Discussion started by: migurus
2 Replies

4. Shell Programming and Scripting

Want to terminate command execution when string found in the command output

Hi Experts, I am very much new to linux scripting, I am currently working on reducing my manual work and hence writing a script to automate few task. I am running below command to snmpwalk the router.. snmpwalk -v 3 -u WANDL_SU -a MD5 -A vfipmpls -x DES -X VfIpMpLs -l authPriv... (19 Replies)
Discussion started by: Hanumant.madane
19 Replies

5. Shell Programming and Scripting

When i am trying to execute export command within a shell script it is saying command not found.

I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found" My code is as follows: -------------------------- #!/bin/sh user="test" DIR="/bldtmp/"$user VIEW="test.view1" echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies

6. UNIX for Advanced & Expert Users

dpkg wildcards

Are there different rules with wildcards in dpkg? I was looking at this. Getting information about packages % dpkg -l \*apt\* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/... (1 Reply)
Discussion started by: cokedude
1 Replies

7. Ubuntu

dpkg: warning: while removing directory not empty

Hi, I am getting this warning messages when I run dpkg --purge dpkg -r apt-get remove --purge aptitude purge with sudo permission to remove completely a custom application that is installed through debian dpkg command. Some of the directories in that package install path is still left out... (0 Replies)
Discussion started by: royalibrahim
0 Replies

8. Shell Programming and Scripting

Help with scripting APT / dpkg in Debian 4

Hello, I am attempting to write a (bash) shell script that will do some basic reporting based on the APT utilities and dpkg. I need the following in the report: Packages installed (COLUMNS=200 dpkg -l | grep '/^ii/' > packages_installed) Packages not installed I suppose that I can do ... (0 Replies)
Discussion started by: orspain
0 Replies

9. Shell Programming and Scripting

how can i check in csh if command found or not found ?

hello all im trying to use in sun Solaris the information received from the top command now i several machines that dont have install the top program so when im running the script im geting error saying after im running this code : set MemoryInfo = `top | grep Memory` if (... (2 Replies)
Discussion started by: umen
2 Replies
Login or Register to Ask a Question