LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-15-2012, 12:18 PM   #1
siemaeniu500
Member
 
Registered: Sep 2012
Posts: 44

Rep: Reputation: Disabled
dpkg error


Everything what I want to install on my debian 6.0 x64, have this error.


Could not exec dpkg!
E: Sub-process /usr/bin/dpkg returned an error code (100)


I want to install java, and more.
 
Old 09-15-2012, 12:21 PM   #2
KinnowGrower
Member
 
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 347

Rep: Reputation: 34
-List the complete command you are trying to run
-Also show the contents of /etc/apt/sources.list
 
Old 09-15-2012, 12:27 PM   #3
siemaeniu500
Member
 
Registered: Sep 2012
Posts: 44

Original Poster
Rep: Reputation: Disabled
Source list:

http://paste.ubuntu.com/1207120/


Every command like :

- apt-get upgrade
- apt-get -f install oracle-java7-installer
 
Old 09-15-2012, 12:47 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
Cool

Quote:
Originally Posted by siemaeniu500 View Post
Source list:

http://paste.ubuntu.com/1207120/


Every command like :

- apt-get upgrade
- apt-get -f install oracle-java7-installer
Stop trying to use a package not made for Debian.

There are several easy ways to install Oracle Java.
Howto install Oracle Java on Debian - LinuxQuestions.org - https://www.linuxquestions.org/quest...-debian-34567/
 
Old 09-15-2012, 12:51 PM   #5
KinnowGrower
Member
 
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 347

Rep: Reputation: 34
source list seems good

What happens when you run
Code:
apt-get update
According to this link http://ubuntuforums.org/showthread.php?t=1856256. It is either dpkg permission issue or dpkg pkg itself got deleted. You can get help from the above link
 
Old 09-15-2012, 01:22 PM   #6
siemaeniu500
Member
 
Registered: Sep 2012
Posts: 44

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by KinnowGrower View Post
source list seems good

What happens when you run
Code:
apt-get update
According to this link http://ubuntuforums.org/showthread.php?t=1856256. It is either dpkg permission issue or dpkg pkg itself got deleted. You can get help from the above link
What happend:
http://paste.ubuntu.com/1207201/

It doesn't help ;/
 
Old 09-15-2012, 02:23 PM   #7
siemaeniu500
Member
 
Registered: Sep 2012
Posts: 44

Original Poster
Rep: Reputation: Disabled
Please help ;/

I've delete java folder from ftp and dkpg, so what i must do now ?
 
Old 09-15-2012, 04:26 PM   #8
el chapulín
Member
 
Registered: Sep 2012
Posts: 75

Rep: Reputation: 19
Learn to use code tags...

Apparently this is your sources.list:

Code:
# please use local debian mirror, see http://www.debian.org/mirror/list
#
deb http://ftp.de.debian.org/debian		squeeze main contrib non-free
deb http://ftp.de.debian.org/debian-security	squeeze/updates main contrib non-free
This however tells a very different story:

Code:
oot@sieemaen:~# apt-get update
Hit http://ftp.de.debian.org squeeze Release.gpg
Ign http://ftp.de.debian.org/debian/ squeeze/contrib Translation-en
Ign http://ftp.de.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.de.debian.org/debian/ squeeze/non-free Translation-en
Hit http://ftp.de.debian.org squeeze/updates Release.gpg
Ign http://ftp.de.debian.org/debian-security/ squeeze/updates/contrib Translatio                                                                             n-en
Ign http://ftp.de.debian.org/debian-security/ squeeze/updates/main Translation-e                                                                             n
Ign http://ftp.de.debian.org/debian-security/ squeeze/updates/non-free Translati                                                                             on-en
Hit http://ftp.de.debian.org squeeze Release
Hit http://ftp.de.debian.org squeeze/updates Release
Hit http://ppa.launchpad.net precise Release.gpg
Ign http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise/main Translation-e                                                                             n
Hit http://ftp.de.debian.org squeeze/main amd64 Packages
Hit http://ftp.de.debian.org squeeze/contrib amd64 Packages
Hit http://ftp.de.debian.org squeeze/non-free amd64 Packages
Hit http://ftp.de.debian.org squeeze/updates/main amd64 Packages
Hit http://ftp.de.debian.org squeeze/updates/contrib amd64 Packages
Hit http://ftp.de.debian.org squeeze/updates/non-free amd64 Packages
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main amd64 Packages
Reading package lists... Done
People are advised constantly not to mix 'buntu repositories with debian - now you know why with first hand experience.

I suspect you have other .list files in /etc/apt/sources.list.d/ ... get rid of the ubuntu related PPAs and do the following
Code:
# apt-get clean && apt-get update && apt-get -f install
 
Old 09-15-2012, 04:30 PM   #9
siemaeniu500
Member
 
Registered: Sep 2012
Posts: 44

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by el chapulín View Post
Learn to use code tags...

Apparently this is your sources.list:

Code:
# please use local debian mirror, see http://www.debian.org/mirror/list
#
deb http://ftp.de.debian.org/debian		squeeze main contrib non-free
deb http://ftp.de.debian.org/debian-security	squeeze/updates main contrib non-free
This however tells a very different story:

Code:
oot@sieemaen:~# apt-get update
Hit http://ftp.de.debian.org squeeze Release.gpg
Ign http://ftp.de.debian.org/debian/ squeeze/contrib Translation-en
Ign http://ftp.de.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.de.debian.org/debian/ squeeze/non-free Translation-en
Hit http://ftp.de.debian.org squeeze/updates Release.gpg
Ign http://ftp.de.debian.org/debian-security/ squeeze/updates/contrib Translatio                                                                             n-en
Ign http://ftp.de.debian.org/debian-security/ squeeze/updates/main Translation-e                                                                             n
Ign http://ftp.de.debian.org/debian-security/ squeeze/updates/non-free Translati                                                                             on-en
Hit http://ftp.de.debian.org squeeze Release
Hit http://ftp.de.debian.org squeeze/updates Release
Hit http://ppa.launchpad.net precise Release.gpg
Ign http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise/main Translation-e                                                                             n
Hit http://ftp.de.debian.org squeeze/main amd64 Packages
Hit http://ftp.de.debian.org squeeze/contrib amd64 Packages
Hit http://ftp.de.debian.org squeeze/non-free amd64 Packages
Hit http://ftp.de.debian.org squeeze/updates/main amd64 Packages
Hit http://ftp.de.debian.org squeeze/updates/contrib amd64 Packages
Hit http://ftp.de.debian.org squeeze/updates/non-free amd64 Packages
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main amd64 Packages
Reading package lists... Done
People are advised constantly not to mix 'buntu repositories with debian - now you know why with first hand experience.

I suspect you have other .list files in /etc/apt/sources.list.d/ ... get rid of the ubuntu related PPAs and do the following
Code:
# apt-get clean && apt-get update && apt-get -f install
Ok, but what i have do it ?
 
Old 09-15-2012, 04:39 PM   #10
el chapulín
Member
 
Registered: Sep 2012
Posts: 75

Rep: Reputation: 19
At the moment you don't have a functioning dpkg installed so refer to your other thread.
 
  


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
Ubuntu 'dpkg--configure-a' E: dpkg was interrupted error Mountain Man 77 Linux - Newbie 8 02-21-2015 11:59 PM
dpkg: parse error, in file `/var/lib/dpkg/updates/0004 contact.aprie Linux - General 2 04-17-2012 10:01 PM
Input/Output Error; dpkg sub-process /usr/bin/dpkg returned and error code (2) NosLycn Linux - Software 7 12-12-2011 03:50 AM
dpkg is dead! error in /var/lib/dpkg/available dezert_fox Debian 4 11-22-2011 11:28 AM
dpkg: dpkg - error: PATH is not set basis1980 Linux - Software 1 12-07-2007 05:53 PM


All times are GMT -5. The time now is 06:39 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration