LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-13-2007, 05:23 PM   #1
anthonydunn97202
LQ Newbie
 
Registered: Aug 2007
Posts: 16

Rep: Reputation: 0
sneeking suspition that my dpkg is corrupt


It seems as though nothing I enter in the terminal, nor in the Add/Remove window, can bypass the this message:

"E: dpkg was interrupted, you must run 'dpkg -- configure -a' to correct the problem.
E: _cache->open()failed, please report"

I've seen tutorials on problems like this, but I'm honestly kind of a newb, and I wasn't able to make that stuff work for me. I'm using Ubuntu, I just wish I could get the programs I need. Thanks for your time,
~Anthony~
 
Old 08-13-2007, 07:36 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
have you run sudo dpkg -- configure -a?
 
Old 08-13-2007, 11:47 PM   #3
anthonydunn97202
LQ Newbie
 
Registered: Aug 2007
Posts: 16

Original Poster
Rep: Reputation: 0
I just tried that,

and I got this message:

"dpkg: need an action option

Type dpkg --help for help about installing and deinstalling packages[*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL)[*].

Options marked[*] produce a lot of output - pipe it through `less' or `more' !"

-Yeah, um, if you can answer that one, you'll be my bestest friend.
~Anthony~
 
Old 08-14-2007, 08:52 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Sorry, no space between -- and configure (how'd it get there in your original post?)
 
Old 08-15-2007, 03:21 AM   #5
anthonydunn97202
LQ Newbie
 
Registered: Aug 2007
Posts: 16

Original Poster
Rep: Reputation: 0
but now...

... my Add/Remove program stalls indefinitely when I try to select programs, in specific, the VLC player I've heard so much about.
Honestly, I'm still not quite sure how to use the terminal to get/download new softwares.
-and that last move I made made no sense to me.
thanks much,
~Anthony~
 
Old 08-17-2007, 03:39 PM   #6
anthonydunn97202
LQ Newbie
 
Registered: Aug 2007
Posts: 16

Original Poster
Rep: Reputation: 0
I can't seem to use the Add/Remove gui, as selecting something never finishes. I definitely can't add something without being able to select it...
And I keep trying to configure stuff, and download stuff, in the terminal... Lets just say my luck was lacking... I kept getting permission errors in the folder: "/var/lib/dpkg/lock" I can't even view it in my places. what should I do?
Peace,
~newbie in need~
 
Old 08-17-2007, 04:03 PM   #7
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
dpkg is for installing packages you have manually downloaded to your machine..
you really should be using aptitude or synaptic to install software..

so running sudo dpkg --configure -a did not fix the un-configured packages from your last interrupted install ?

How to install VLC on Ubuntu: http://ubuntuguide.org/wiki/Ubuntu:F...yer_as_well.29
 
Old 08-19-2007, 07:47 PM   #8
anthonydunn97202
LQ Newbie
 
Registered: Aug 2007
Posts: 16

Original Poster
Rep: Reputation: 0
this is getting ugly

That didn't work either, the link. it just never finishes loading... I tried using my synaptic package manager, it said that there's a broken package somewhere, and that I can't do anything until it's fixed. And I've read some really bad stuff about Automatix, about updates and crashes...
Also, when I tried to put the dpkg reconfigure message into the terminal, the first time it asked for the password. Then appeared to do nothing. After that it didn't even ask for a password.
Very frustrating indeed, I just wanted a working computer, nothing flashy.
Peace,
~Anthony~
 
Old 08-19-2007, 09:34 PM   #9
anthonydunn97202
LQ Newbie
 
Registered: Aug 2007
Posts: 16

Original Poster
Rep: Reputation: 0
about that link...

I found out why it never seemed to load. When I clicked on the link it was indefinately waiting for a response from linuxquestions.org. So I decided to access the site from it's login page, then followed the extensions as best as I could. I still have no idea how to interpret the "Ubuntu:F...yer_as_well.29", that came after the "http://ubuntuguide.org/wiki/". So I decide to just type it into the URL so that it matched the link, and guess what? It loaded the page!
Well, the one that said:

"There is currently no text in this page, you can search for this page title in other pages or edit this page"

Help, someone, pleeease,
~Anthony~
 
Old 08-20-2007, 08:17 AM   #10
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Heres the short link.
http://ubuntuguide.org/wiki/Ubuntu:Feisty

Then scroll down to FAQ Number
1.7.4.4.4 VLC plug-in (Installs VLC media player as well)

No clue why you can't just follow the link above...
 
Old 08-21-2007, 01:29 AM   #11
anthonydunn97202
LQ Newbie
 
Registered: Aug 2007
Posts: 16

Original Poster
Rep: Reputation: 0
so weak

I was able to follow the link around this time. I got to the guide, and it said to type: "sudo apt-get install vlc vlc-plugin-* mozilla-plugin-vlc". This is what my terminal said to me:

"anthony@Ganja-Brownie:~$ sudo apt-get install vlc vlc-plugin-* mozilla-plugin-vlc
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting vlc-plugin-dvb for regex 'vlc-plugin-*'
Note, selecting vlc-plugin-ggi for regex 'vlc-plugin-*'
Note, selecting vlc-plugin-esd for regex 'vlc-plugin-*'
Note, selecting vlc-plugin-mad for regex 'vlc-plugin-*'
Note, selecting vlc-plugin-alsa for regex 'vlc-plugin-*'
Note, selecting vlc-plugin-ogg for regex 'vlc-plugin-*'
Note, selecting vlc-plugin-sdl for regex 'vlc-plugin-*'
Note, selecting vlc-plugin-arts for regex 'vlc-plugin-*'
Note, selecting vlc-plugin-glide for regex 'vlc-plugin-*'
Note, selecting vlc-plugin-xosd for regex 'vlc-plugin-*'
Note, selecting vlc-plugin-svgalib for regex 'vlc-plugin-*'
Note, selecting vlc-plugin-aa for regex 'vlc-plugin-*'
Note, selecting vlc-plugin-dv for regex 'vlc-plugin-*'
Note, selecting vlc-plugin-lirc for regex 'vlc-plugin-*'
Note, selecting vlc-plugin-a52 for regex 'vlc-plugin-*'
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
mozilla-plugin-vlc: Depends: vlc-nox (= 0.8.6.release-0ubuntu4) but it is not going to be installed
Depends: libvlc0 (>= 0.8.6.release) but it is not going to be installed
sun-java5-bin: Depends: sun-java5-jre (= 1.5.0-11-1ubuntu2) but it is not going to be installed
vlc: Depends: vlc-nox (= 0.8.6.release-0ubuntu4) but it is not going to be installed
Depends: libiso9660-4 but it is not going to be installed
Depends: libsdl-image1.2 (>= 1.2.5) but it is not going to be installed
Depends: libtar but it is not going to be installed
Depends: libvcdinfo0 (> 0.7.23) but it is not going to be installed
Depends: libvlc0 (>= 0.8.6.release) but it is not going to be installed
Depends: libwxbase2.6-0 (>= 2.6.3.2.1.5ubuntu6) but it is not going to be installed
Depends: libwxgtk2.6-0 (>= 2.6.3.2.1.5ubuntu6) but it is not going to be installed
Depends: libxosd2 (>= 2.2.13) but it is not going to be installed
vlc-plugin-arts: Depends: vlc-nox but it is not going to be installed
Depends: libartsc0 (>= 1.5.0-1) but it is not going to be installed
Depends: libvlc0 (>= 0.8.6.release) but it is not going to be installed
vlc-plugin-esd: Depends: vlc-nox but it is not going to be installed
Depends: libvlc0 (>= 0.8.6.release) but it is not going to be installed
vlc-plugin-ggi: Depends: vlc-nox but it is not going to be installed
Depends: libggi2 (>= 1:2.2.1) but it is not going to be installed
Depends: libvlc0 (>= 0.8.6.release) but it is not going to be installed
vlc-plugin-glide: Depends: vlc-nox but it is not going to be installed
Depends: libvlc0 (>= 0.8.6.release) but it is not going to be installed
Depends: libglide2 but it is not going to be installed
vlc-plugin-sdl: Depends: vlc-nox but it is not going to be installed
Depends: libvlc0 (>= 0.8.6.release) but it is not going to be installed
vlc-plugin-svgalib: Depends: vlc-nox (= 0.8.6.release-0ubuntu4) but it is not going to be installed
Depends: libsvga1
Depends: libvlc0 (>= 0.8.6.release) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
anthony@Ganja-Brownie:~$ "

I appreciate the help,
~Anthony~
 
Old 08-21-2007, 08:50 AM   #12
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
what is in your apt sources list ? have you modified it from the default ?

cat /etc/apt/sources.list
 
Old 08-21-2007, 02:16 PM   #13
anthonydunn97202
LQ Newbie
 
Registered: Aug 2007
Posts: 16

Original Poster
Rep: Reputation: 0
I hope it's ok to paste this much...

I've tried two new things to get this machine to work, the first of which was recommended by the terminal when I typed: ":anthony@Ganja-Brownie:~$ apt-get -f install", it brought up the 'security issues' that I've seen so many times before:

"E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?"

~So then I noticed what Farslayer had to say, and tried that... which produced a lot more from the terminal, though I still no understand... can you make sense of this stuff?:

"anthony@Ganja-Brownie:~$ cat /etc/apt/sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://ca.archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src http://ca.archive.ubuntu.com/ubuntu/ feisty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ca.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
deb-src http://ca.archive.ubuntu.com/ubuntu/ feisty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://ca.archive.ubuntu.com/ubuntu/ feisty universe
deb-src http://ca.archive.ubuntu.com/ubuntu/ feisty universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ca.archive.ubuntu.com/ubuntu/ feisty multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ feisty multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ca.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu feisty-security main restricted
deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
deb http://security.ubuntu.com/ubuntu feisty-security universe
deb-src http://security.ubuntu.com/ubuntu feisty-security universe
deb http://security.ubuntu.com/ubuntu feisty-security multiverse
deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse
anthony@Ganja-Brownie:~$"

~If anyone can help me through these problems, I'll praise them.
~Anthony~
 
Old 08-21-2007, 02:25 PM   #14
anthonydunn97202
LQ Newbie
 
Registered: Aug 2007
Posts: 16

Original Poster
Rep: Reputation: 0
furthermore,

I tried to use the unbuntu guide to get the Hellx plug-in. Into the terminal went: "sudo apt-get install avahi-daemon", and out came:

"The following packages have unmet dependencies:
sun-java5-bin: Depends: sun-java5-jre (= 1.5.0-11-1ubuntu2) but it is not going to be installed"

Could these have been my problem? How does one configure this stuff?
Peace,
~Anthony~
 
  


Reply

Tags
aptitude, copyright, deb, debug, dont, dpkg, dselect, files, first, flag, gnu, gpl, help, installing, less, license, list, management, manipulating, message, option, options, output, package, packages, pipe, terminal, tried, type, userfriendly, values


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
Input/Output Error; dpkg sub-process /usr/bin/dpkg returned and error code (2) NosLycn Linux - Software 7 12-12-2011 03:50 AM
APT/dpkg errors! /var/lib/dpkg/status bassclarinet Debian 16 12-01-2011 10:24 AM
dpkg is dead! error in /var/lib/dpkg/available dezert_fox Debian 4 11-22-2011 11:28 AM
Dpkg Help! mitchell7man Linux - General 4 01-26-2007 06:24 PM
dpkg rch Linux - Distributions 6 05-15-2003 09:25 AM


All times are GMT -5. The time now is 03:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration