Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 19 Jan 2020, 08:52
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
apt-get error: could not open lock file
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
panoss

Joined: 31 Oct 2011
Posts: 195

PostPosted: Fri 09 Jan 2015, 09:23    Post subject:  apt-get error: could not open lock file  

I installed apt-get from PPM.(cron-apt_0.9.2)
I tried apt-get update and got an error:
"could not open lock file /var/lib/dpkg/lock -open 2: no such file or directory"
"unable to lock administration directory'.
Does apt-get work in tahr 6.0 PAE?
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2572
Location: In The Way

PostPosted: Sat 10 Jan 2015, 07:27    Post subject:  

Simply create the lock file
Code:
mkdir -p  /var/lib/dpkg/

navigate to the directory and right click and select new > blank file 'lock'

There will be some other files in etc that may need creating, and creating them empty may be enough. Getting synaptic package manager to work on puppy is a massive pain in the butt!! Problems with status file and available libc6 etc. Better to write a script that converts puppy installed database to a status file. I heard that Iguleder wrote such a script in ten minutes but he never shared it with anyone!
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0255s ][ Queries: 11 (0.0054s) ][ GZIP on ]