LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 04-06-2007, 09:26 PM   #1
neu2linux
Member
 
Registered: Mar 2007
Location: Albuquerque, NM
Distribution: Debian, Slackware, Ubuntu
Posts: 46

Rep: Reputation: 15
dpkg error


This may me a dumb question... I just switched from Debian to Mepis(not sure what version, but at least a year old) I tried to do a dist-upgrade and got this error...

root@4[eneu]# apt-get dist-upgrade
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?

Any ideas? Thanks.
 
Old 04-06-2007, 11:05 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Probably what it says - try 'lsof lock' and see if another process has it opened. Maybe an auto-updater (or a zombie) or something.
 
Old 04-07-2007, 10:13 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
What ver. of KDE are you running? (It's vertically on the left side of the K menu.) You can determine the MEPIS ver. from that.

Does the box still work?

Did you change your sources.lst to point to the new repos.?

Do you have broadband 'Net access?

Why didn't you just do a fresh install, perhaps on a separate partition?
 
Old 04-07-2007, 11:15 AM   #4
neu2linux
Member
 
Registered: Mar 2007
Location: Albuquerque, NM
Distribution: Debian, Slackware, Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 15
What ver. of KDE are you running? (It's vertically on the left side of the K menu.) You can determine the MEPIS ver. from that.

---3.5---

Does the box still work?

---yes it does---

Did you change your sources.lst to point to the new repos.?

---yes, I tried installing e17. That is when I got this error---

Do you have broadband 'Net access?

---yes---

Why didn't you just do a fresh install, perhaps on a separate partition?

---this was a fresh install off the live cd, I was using debian before, but had a lot of 'x' errors, so I switched to Mepis.---

Quote:
Originally Posted by digiot
Probably what it says - try 'lsof lock' and see if another process has it opened. Maybe an auto-updater (or a zombie) or something.
ok, this is what I got... don't know what it means.

root@2[eneu]# lsof lock
lsof: status error on lock: No such file or directory
lsof 4.76
latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
usage: [-?abhlnNoOPRstUvVX] [+|-c c] [+|-d s] [+D D] [+|-f]
[-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]]
[-p s] [+|-r [t]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
Use the ``-h'' option to get more help information.
root@2[eneu]#
 
Old 04-07-2007, 03:22 PM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
The output from lsof just means the file doesn't actually exist. I thought from your original error that it did. Sorry, I can't think what else it would be, not being very familiar with dpkg or debian/mepis. All that comes to mind is weird stuff like if /var was on a separate read-only partition or unmounted altogether or something, that'd screw things up.
 
Old 04-10-2007, 09:55 AM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
KDE 3.5 means you are using SimplyMEPIS 6.0 or possibly 6.5.


From Post #1:
Quote:
I tried to do a dist-upgrade and got this error...
From Post #4:
Quote:
---this was a fresh install off the live cd,
Does this mean you 1st did a fresh install of MEPIS on the partition that was originally Debian, followed by an attempt to do a dist-upgrade in MEPIS, or what? I'm afraid your posts don't seem consistent to me.

In any case, the quickest path to a working installation is to attempt a truly fresh install, preferably on a virgin partition.

Do you have any data in the current partition that you need to save?

How much experience do you have w/ partitioning?

What are the basic specs of the box:
  • CPU (w/ MHz)?
  • RAM?
  • drive size(s)?
 
Old 04-10-2007, 12:28 PM   #7
neu2linux
Member
 
Registered: Mar 2007
Location: Albuquerque, NM
Distribution: Debian, Slackware, Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 15
I am using a Toshiba Satellite with a P4 M 2.80GHz (1598.938MHz). RAM is 512. And a 60GB is partitioned to 2.31GB-SWAP, 10GB-/HOME, and 47.69-/. I deleted all existing partitions prior to this install. I ran dist-upgrade to ensure that I have the latest release(something that I had learned using Debian).

Last edited by neu2linux; 04-10-2007 at 12:30 PM.
 
Old 04-10-2007, 01:57 PM   #8
AdrianTM
Member
 
Registered: Nov 2004
Distribution: Mepis
Posts: 84

Rep: Reputation: 15
Did you open Synaptic or KPackage? (try Microsoft trick reboot and see if that lock gets cleared)
 
Old 04-10-2007, 08:16 PM   #9
neu2linux
Member
 
Registered: Mar 2007
Location: Albuquerque, NM
Distribution: Debian, Slackware, Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 15
Never thought about it...Synaptic was open every time that I tried it... works fine now. Thanks.
 
  


Reply



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 02:50 AM
dpkg is dead! error in /var/lib/dpkg/available dezert_fox Debian 4 11-22-2011 10:28 AM
Dpkg error zoidburg016 Debian 6 03-13-2007 04:01 AM
dpkg error dimi Debian 8 01-24-2007 04:53 AM
dpkg error, need help cheater1034 Linux - Software 3 05-10-2005 12:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS

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