Reply
Thread Tools
pusak gaoq's Avatar
Posts: 723 | Thanked: 519 times | Joined on Nov 2010 @ Kuching:Malaysia
#11
Originally Posted by K9999 View Post
mate can u open your /var/cache/apt file and tell me what's inside other than the 2 files? so far the error disappeared but when I try to download or remove applications it says

could not open lock file /var/cache/apt/archives/lock - open(2 No such file or directory)
Unable to lock the download directory
opppsss ...i thought this folder is not needed so i didn't include on the download files....
so here is the rest of the files....copy n paste it on apt folder....
Attached Files
File Type: zip archives.zip (328 Bytes, 91 views)
__________________
My Phone Evolution : Nokia 3650-Nokia 6600-Nokia 6630-Motorola Rizr-Sony P1i-Nokia E63-Nokia X3-Samsung E980-Iphone 2G-Sony W595-Nokia E71-Nokia 5800-Nokia N900-HTC Hero-Xperia Mini Pro
 

The Following User Says Thank You to pusak gaoq For This Useful Post:
Posts: 502 | Thanked: 366 times | Joined on Jun 2010 @ /dev/null
#12
Originally Posted by K9999 View Post
mate can u open your /var/cache/apt file and tell me what's inside other than the 2 files? so far the error disappeared but when I try to download or remove applications it says

could not open lock file /var/cache/apt/archives/lock - open(2 No such file or directory)
Unable to lock the download directory
Just do: sudo touch /var/cache/apt/archives/lock
 

The Following User Says Thank You to tuxsavvy For This Useful Post:
pusak gaoq's Avatar
Posts: 723 | Thanked: 519 times | Joined on Nov 2010 @ Kuching:Malaysia
#13
Originally Posted by K9999 View Post
i tried creating "archives" file inside apt but still no use..



it was worth trying though, thanx mate
have you try copy & paste mine archives.zip just now mate??
__________________
My Phone Evolution : Nokia 3650-Nokia 6600-Nokia 6630-Motorola Rizr-Sony P1i-Nokia E63-Nokia X3-Samsung E980-Iphone 2G-Sony W595-Nokia E71-Nokia 5800-Nokia N900-HTC Hero-Xperia Mini Pro
 
K9999's Avatar
Posts: 168 | Thanked: 116 times | Joined on Mar 2011 @ Malaysia
#14
Originally Posted by pusak gaoq View Post
have you try copy & paste mine archives.zip just now mate??
so sorry was an early reply, didn't see ur both posts
so far it's working now, will try to download now an application and see.. just a min
 
K9999's Avatar
Posts: 168 | Thanked: 116 times | Joined on Mar 2011 @ Malaysia
#15
Originally Posted by pusak gaoq View Post
opppsss ...i thought this folder is not needed so i didn't include on the download files....
so here is the rest of the files....copy n paste it on apt folder....

Tadaaaaaaaaaa it WORKED!!! thank u so much mate,


Originally Posted by tuxsavvy View Post
Just do: sudo touch /var/cache/apt/archives/lock
This also worked, I just had to create a folder named "partial" cuz I saw it in Pusak gaoq archive uploaded folder.


Thanx a LOT guys, now I don't have to start from the scratch. I feel like it's my previous phone that I lost
 
Posts: 502 | Thanked: 366 times | Joined on Jun 2010 @ /dev/null
#16
You might also want to consider making a new backup now with that old one being useless.
 

The Following User Says Thank You to tuxsavvy For This Useful Post:
K9999's Avatar
Posts: 168 | Thanked: 116 times | Joined on Mar 2011 @ Malaysia
#17
True, so I don't have to go through this again. Thanx mate
 
K9999's Avatar
Posts: 168 | Thanked: 116 times | Joined on Mar 2011 @ Malaysia
#18
for anyone else having this problem, just download the 2 apt files as suggested by Pusak gaoq. delete the broken apt and create another one and paste the 2 downloaded files in it.


Then
download this archive file which also uploaded by Pusak gaoq and paste it in the apt file.

or
after pasting the 2 files in the apt,
create file named "archives" in the apt file, and another folder named "partial" in the archives file. then go to the terminal and write the code as suggested by tuxsavvy

sudo touch /var/cache/apt/archives/lock
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:10.