LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-08-2012, 01:24 AM   #1
benjaminosis
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
E: Sub-process /usr/bin/dpkg returned an error code (1)


Hi. I'm new to linux, I have backtrack on VMware running on XP, I am trying to do this:

https://help.ubuntu.com/community/Wi...ce/Tenda_W311M

When I got to step 4, I got this back:

root@bt:~/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO# make
make -C tools
make[1]: Entering directory `/root/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/root/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/tools'
/root/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/tools/bin2h
cp -f os/linux/Makefile.6 /root/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/os/linux/Makefile
make -C /lib/modules/3.2.6/build SUBDIRS=/root/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO/os/linux modules
make: *** /lib/modules/3.2.6/build: No such file or directory. Stop.
make: *** [LINUX] Error 2

I have searched through several forums, several commands, I don't understand alot about this. I have tried apt-get upgrade:

root@bt:~/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up cpad-kernel-source (0.10-6ubuntu1) ...
Warning: kernel headers don't match running Linux version.
Building cpad module for Linux _CODE 19712 (this may take a few minutes)...dpkg: error processing cpad-kernel-source (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
cpad-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)

also:

root@bt:~# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up cpad-kernel-source (0.10-6ubuntu1) ...
Warning: kernel headers don't match running Linux version.
Building cpad module for Linux 2.6.39.4 (this may take a few minutes)...dpkg: error processing cpad-kernel-source (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
cpad-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have tried this due to this I see in forums similar error msg on google.

Please help. Thank you
 
Old 03-09-2012, 08:21 PM   #2
benjaminosis
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Ok, i could not solve this, dont know what caused it, however I did solve my original issue, w311m usb wireless adapter is now detected after installinb backtrack5 r2, however it falls after a few minutes. will work on that today, opinions on this are welcome. sorry if this is the wrong place to post,
thank you anyway for reading!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
E: Sub-process /usr/bin/dpkg returned an error code (1) cmontr Linux - Virtualization and Cloud 4 05-27-2011 08:23 PM
E: Sub-process /usr/bin/dpkg returned an error code (1) ashwani.sahni Ubuntu 1 05-14-2010 09:43 AM
Sub-process /usr/bin/dpkg returned an error code (1) yuri16 Linux - Software 6 09-03-2009 08:41 PM
E: Sub-process /usr/bin/dpkg returned an error code (1) acm321 Linux - Newbie 2 11-10-2008 11:32 PM
Sub-process /usr/bin/dpkg returned an error code (1) rapattack Debian 10 04-25-2008 12:19 AM


All times are GMT -5. The time now is 05:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration