Reply
Thread Tools
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#11
First error solved

you must input:

Code:
dpkg -i /home/user/MyDocs/Downloads/hss.deb
The / before home is missing in your command...

I'll look thru' for the second error now...


For your second error can you try as root in terminal:

Code:
rm -rf /var/lib/apt/lists/lock
Do a reboot then apt-get update in terminal as root...

Last edited by thedead1440; 2012-09-17 at 08:41.
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Posts: 65 | Thanked: 27 times | Joined on Aug 2012
#12
Originally Posted by thedead1440 View Post
First error solved

you must input:

Code:
dpkg -i /home/user/MyDocs/Downloads/hss.deb
The / before home is missing in your command...

I'll look thru' for the second error now...


For your second error can you try as root in terminal:

Code:
rm -rf /var/lib/apt/lists/lock
Do a reboot then apt-get update in terminal as root...
My bad, installation worked now. The / was indeed missing

The second error unfortunately wasn't solved yet.

[CODE]rm -rf /var/lib/apt/lists/lock[/CODE

didnt do anything. at least the device didnt show anything when I used that command. rebooting and using apt-get update resulted in the same error as before (no such file or directory - unable to lock the list directory) :/
 
Posts: 65 | Thanked: 27 times | Joined on Aug 2012
#13
Just to add: even when I try to uninstall applications, an error telling me "installation failed, installation interruped" occurs.
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#14
can you try:

killall apt-get

as user in terminal...
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Posts: 65 | Thanked: 27 times | Joined on Aug 2012
#15
Originally Posted by thedead1440 View Post
can you try:

killall apt-get

as user in terminal...
killall: apt-get: no process killed

(tried as user and as root)
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#16
/var/lib/apt/lists/lock is simply a blank file... Maybe see if its present then delete it and create a new blank file with the same name and try...
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Posts: 65 | Thanked: 27 times | Joined on Aug 2012
#17
Just checked via Filebox, the folder "lists" doesnt even exist, but instead there is a folder named "lists.old". In "lists.old" I can find a file named "lock".
When I try to copy the folder via Filebox and rename it to lists it says permission denied. Cant rename "lists.old" to "lists" either. As far as I know I can only access Mass Storage via Computer, so I'm a bit clueless how to remove/create a new file in that kind of root directory.
 
Posts: 65 | Thanked: 27 times | Joined on Aug 2012
#18
I just googled this problem some more and I found in some Ubuntu wiki a "solution" to this problem. It says to manually create the lock data and the directory with the following commands...

sudo mkdir -p /var/cache/apt/archives
sudo touch /var/cache/apt/archives/lock

should I try this? or am I going to damage something?
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#19
Sorry, I was out hence couldn't reply...

What you can do from terminal as root is:

mkdir -p /var/cache/apt/archives
touch /var/cache/apt/archives/lock
 
Posts: 65 | Thanked: 27 times | Joined on Aug 2012
#20
no problem

I'm getting
touch: var/cache/apt/archives/lock: No such file or directory

seems that "lock" file is missing everywhere
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:48.