LinuxQuestions.org
Review your favorite Linux distribution.
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 10-18-2007, 08:25 AM   #1
Karl-Heinz
LQ Newbie
 
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
Linux - Debian


I'm new to Linux and after trying and trying i was not able to solve a problem with a Adept Package Manager. Its give a message that i cant update or do any changes because de Database is locked.
By searching the web i found that was possible delete the file '/var/lib/dpkg/lock' adn i do this, but this not solve my problem.

And another problem i'm cant install any program because i dont know how to do this, if anyone can send me a tutorial it will become helpfull.
I was trying to install Xboard (a version developed for linux from the wellknow chess game Winboard) but all that i tried have fail.

Please, Please...HELPPPPPPP!!!!!!
 
Old 10-18-2007, 08:43 AM   #2
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
Kind of shot in the wild here, since its ages since I've used debianbased distro. I remember having the same problem. If you open up a terminal and try to install a program from commandline, like apt-get install firefox or whatever, then the solution should be printed out. It was something like this
Try run dpkg-reconfigure
or something.

This might not work. Bad shot in the wild from me, but possibly a solution.
 
Old 10-18-2007, 08:48 AM   #3
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 300

Rep: Reputation: 37
Try running
dpkg --configure -a
 
Old 10-18-2007, 09:03 AM   #4
laucian
Member
 
Registered: Oct 2005
Distribution: Ubuntu 9.04
Posts: 124
Blog Entries: 2

Rep: Reputation: 15
you said you are a newbie, and as a newbie i make this mistake;
are you trying that as root?
 
Old 10-18-2007, 09:15 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,241
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Do you have another package manager open at the same time ? like synaptic or something else ?

You can only run one package manager at a time.. trying to use aptitude or apt-get from a command line while synaptic is open will cause it to throw that same error message.
 
  


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
Backdoor.Linux.Small & Linux.Plupii - Debian DSA-789-1 DaveQB Linux - Security 38 02-25-2007 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:27 PM.

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