maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [SOLVED] Another Broken Symlink (https://talk.maemo.org/showthread.php?t=75143)

pusak gaoq 2011-07-23 08:55

Re: Another Broken Symlink
 
1 Attachment(s)
Quote:

Originally Posted by K9999 (Post 1056664)
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 :D...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....;)

tuxsavvy 2011-07-23 08:55

Re: Another Broken Symlink
 
Quote:

Originally Posted by K9999 (Post 1056664)
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

pusak gaoq 2011-07-23 09:02

Re: Another Broken Symlink
 
Quote:

Originally Posted by K9999 (Post 1056667)
i tried creating "archives" file inside apt but still no use..

http://i.imgur.com/Yf6jM.png

it was worth trying though, thanx mate

have you try copy & paste mine archives.zip just now mate??

K9999 2011-07-23 09:11

Re: Another Broken Symlink
 
Quote:

Originally Posted by pusak gaoq (Post 1056668)
have you try copy & paste mine archives.zip just now mate??

so sorry was an early reply, didn't see ur both posts :p
so far it's working now, will try to download now an application and see.. just a min

K9999 2011-07-23 09:18

Re: Another Broken Symlink
 
Quote:

Originally Posted by pusak gaoq (Post 1056665)
opppsss :D...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, :D


Quote:

Originally Posted by tuxsavvy (Post 1056666)
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 :)

tuxsavvy 2011-07-23 09:31

Re: [SOLVED] Another Broken Symlink
 
You might also want to consider making a new backup now with that old one being useless.

K9999 2011-07-23 09:33

Re: [SOLVED] Another Broken Symlink
 
True, so I don't have to go through this again. Thanx mate :)

K9999 2011-07-23 09:34

Re: [SOLVED] Another Broken Symlink
 
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


All times are GMT. The time now is 18:13.

vBulletin® Version 3.8.8