LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-09-2008, 09:47 AM   #1
jaoak1978
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Rep: Reputation: 0
Unhappy hello all I love linux BUT!!! Adept CRASHED!!!! HELP PLEASE


Hello, to everyone in the Linux World I recently started using Xubuntu and liked it now I am using Kubuntu and love it BUT ADEPT CRASHED AND NOW I CAN"T EDIT my SOURCES LIST WHAT DO I DO? the script is I think it is BUG 175009 SIGABRT signial 6 when I try to use adept,or any other Manager like synaptic or try to run sudo apt-get update it says E:Malformed line 70 in source list /etc/apt/sources.list (dist parse)
E:The list of sources could not be read, Go to the repository dialog to correct the problem
E:_cache-> open()failed.please report
IS their anyone that can help I would be very grateful oh and if anyone can let me know which flash player is linux friendly so I can watch FOX and other networks with linux or can it be done I know someone can help thank you to every or anyone that does have a wonderful day PS I love linux but, if I can't upgrade or download software I will have to either do a complete fresh install or BACK TO WINDOWS OH NO I LIKE IT HERE PLEASE HELP THANKS AGAIN
 
Old 12-09-2008, 09:53 AM   #2
baig
Member
 
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

Rep: Reputation: 38
Recently my YUM package manager was confused with some dependency resolution problems.

On advice of a member over here.. I installed smart package manager.. and reinstalled my yum through smart.. and now its working perfect..


See if you can fix using smart.. coz i don't know if it works for .deb

Cheers!!
 
Old 12-09-2008, 10:07 AM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Quote:
Malformed line 70 in source list /etc/apt/sources.list
why not fix the error in your sources list on line 70 as the error is instructing you ?
(GEEZ how big is your sources list ??? mine is 5 or 6 lines at most )

sudo gedit /etc/sources.list
or if you don't have gedit
sudo nano /etc/sources.list

Go down to line 70 and see what is not right.. you can copy and post it here if you need further assistance



You can keep your silly threats to abandon Linux to yourself, no-one is forcing you to stay. If you quit using Linux it doesn't affect our bottom line, profits, or bonuses for the year, because there are none. Linux is a choice, you either choose to use it or you choose not to.

Last edited by farslayer; 12-09-2008 at 10:08 AM.
 
Old 12-09-2008, 02:03 PM   #4
malaprop
LQ Newbie
 
Registered: Dec 2008
Location: TX
Distribution: Ubuntu 8.10
Posts: 26

Rep: Reputation: 16
Quote:
Originally Posted by farslayer View Post
why not fix the error in your sources list on line 70 as the error is instructing you ?

....

Go down to line 70 and see what is not right.. you can copy and post it here if you need further assistance
And then back it up when it's fixed.
 
Old 12-10-2008, 11:48 AM   #5
jaoak1978
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Unhappy thanks to everyone

thanks fellas that worked great BUT I have a new problem and don't know why maybe you guys can point me in the right direction again I can't download or install any new packages I tried with add/remove and synaptic package manager it says could not lock the administrativesedirectory (/var/lib/dpkg) is there another package using it? There are no other programs running so I have no Idea what has caused this or how to fix it maybe someone has ran into this before please help so that I can download and install new packages thanks again for all of the help everybody have a great day
 
Old 12-10-2008, 12:47 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
That happens if you have Synaptic or another package manager open at the same time,
or
if you try to use apt-get or aptitude from the command line and are not root.

So it's either permissions or another application is accessing the package management database.

Why don't you try doing a simple update from the command line and post the exact errors it displays here..
Make sure you close adept, add/remove, synaptic, etc.. before doing this or it will fail.


sudo apt-get update
sudo apt-get upgrade
 
Old 12-10-2008, 03:15 PM   #7
malaprop
LQ Newbie
 
Registered: Dec 2008
Location: TX
Distribution: Ubuntu 8.10
Posts: 26

Rep: Reputation: 16
Not to keep interrupting, but if you can't find the process that is locking the dpkg directory...

Quote:
sudo lsof |grep "dpkg\/lock"
The first column is the application, second column is the PID.

then you can:

Quote:
killall <application>
or
Quote:
kill <PID>
Where you replace <application> or <PID> with the actual value.

try to find it running in a terminal or window first though, if it's actually DOING something, you can make things worse.

Good luck!!
 
Old 12-10-2008, 04:32 PM   #8
sydney-troz
Member
 
Registered: Feb 2007
Distribution: Kubuntu, it's obese barely-usable sibling, Ubuntu
Posts: 142

Rep: Reputation: 15
Another reason for this message can be that dpkg (or adept, synaptic or anything else that uses dpkg as a backend) crashed or was killed. dpkg creates a file (/usr/lib/dpkg/lock in Ubuntu 8.10) to prevent itself from accessing the database from multiple processes at once. If this sounds like what happened to you, just delete the lock file manually:

Code:
sudo rm /usr/lib/dpkg/lock
sudo dpkg --configure -a        # If you try running dpkg w/o this, it will suggest it to you
Also, the comma, period, and line breaks exist for a reason -- use them.
 
Old 12-10-2008, 05:25 PM   #9
jaoak1978
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Original Poster
Rep: Reputation: 0
ok I tried that didn't work it said it was locked by another process how do I open the lock file manually? is there a command or do I just go to file and open?

it http://ubuntu-mirror.cs.colorado.edu intrepid-updates/restricted Sources
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Couldn't rebuild package cache
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

jaoak1978@ubuntu:~$ sudo lsof | grep "dpkg\/lock"
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jaoak1978/.gvfs
Output information may be incomplete.
dpkg 7168 root 3uW REG 7,0 0 212103 /var/lib/dpkg/lock
jaoak1978@ubuntu:~$ sudo kill <PID>
-bash: syntax error near unexpected token `newline'
jaoak1978@ubuntu:~$ sudo rm /usr/lib/dpkg/lock
rm: cannot remove `/usr/lib/dpkg/lock': No such file or directory
jaoak1978@ubuntu:~$ sudo dpkg --configure -a
dpkg: status database area is locked by another process
jaoak1978@ubuntu this is the outcome

Last edited by jaoak1978; 12-10-2008 at 05:38 PM.
 
Old 12-10-2008, 05:53 PM   #10
sydney-troz
Member
 
Registered: Feb 2007
Distribution: Kubuntu, it's obese barely-usable sibling, Ubuntu
Posts: 142

Rep: Reputation: 15
Code:
sudo kill <PID>
is not meant literally -- you're supposed to replace <PID> with the process ID of the process the lsof command gives you -- it's in the second column (in the above output, it would have been 7168).

Quote:
jaoak1978@ubuntu:~$ sudo rm /usr/lib/dpkg/lock
rm: cannot remove `/usr/lib/dpkg/lock': No such file or directory
jaoak1978@ubuntu:~$ sudo dpkg --configure -a
dpkg: status database area is locked by another process
As I said in my previous post, /usr/lib/dpkg/lock is specific to Ubuntu 8.10 -- as the lsof command showed,
Quote:
dpkg 7168 root 3uW REG 7,0 0 212103 /var/lib/dpkg/lock
your lock file is /var/lib/dpkg/lock. Delete that file instead.
 
Old 12-10-2008, 06:52 PM   #11
jaoak1978
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Original Poster
Rep: Reputation: 0
ok I tried that didn't work it said it was locked by another process how do I open the lock file manually? is there a command or do I just go to file and open?
 
Old 12-10-2008, 06:56 PM   #12
jaoak1978
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Original Poster
Rep: Reputation: 0
hey guys thanks again for all the help hell if the world was like our linux fourm we would have world piece ha anyway thanks to everyone who helped me I got all I did was erase my source.list then upgrade the package now everything is fine thanks for all the help input and pointing me in the right direction everyone have a great night thanks again
 
  


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
... getting in love in Linux :) Tuxofunic LinuxQuestions.org Member Intro 1 03-08-2008 09:59 AM
Linux distro with apt-get and adept, KDE, and auto-config for grub. Kizzume Linux - Distributions 6 03-03-2008 07:49 AM
I Love Linux johndoe0028 LinuxQuestions.org Member Success Stories 2 10-08-2005 10:00 PM
I love linux, I love it ! SuseBoy General 5 07-18-2003 12:51 AM
The more I get into Linux, the more I love it AMDPwred General 12 07-16-2003 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:39 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
Open Source Consulting | Domain Registration