|
2012-11-12
, 16:51
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#2
|
ls -al /var/lib/dpkg ls -al /var/cache/apt ls -al /var/cache/apt/archives ls -al /opt/var/cache/apt ls -al /home/user/MyDocs/.apt-cache
The Following 3 Users Say Thank You to michaaa62 For This Useful Post: | ||
|
2012-11-12
, 18:42
|
Posts: 11 |
Thanked: 8 times |
Joined on Nov 2012
@ Koksijde Belgium
|
#3
|
Did you delete the dpkg directory, like /var/lib/dpkg, or the apt directory, like /var/cache/apt???
Please clarify to not further butcher your package management, since the first is a dirctory, while the second is a symlink to either /opt or /home/user/MyDocs.
So please give the output of all of these commandsCode:ls -al /var/lib/dpkg ls -al /var/cache/apt ls -al /var/cache/apt/archives ls -al /opt/var/cache/apt ls -al /home/user/MyDocs/.apt-cache
The Following User Says Thank You to Haha yamaha For This Useful Post: | ||
|
2012-11-12
, 20:03
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#4
|
ls -al /home/user/.apt-cache
sudo gainroot dpkg --configure -a dpkg --clear-avail apt-get update apt-get install -f
The Following 4 Users Say Thank You to michaaa62 For This Useful Post: | ||
|
2012-11-12
, 20:26
|
Posts: 11 |
Thanked: 8 times |
Joined on Nov 2012
@ Koksijde Belgium
|
#5
|
Please alsoto look at the symlinked directory.Code:ls -al /home/user/.apt-cache
Nevertheless, try this commands please:Code:sudo gainroot dpkg --configure -a dpkg --clear-avail apt-get update apt-get install -f
The Following User Says Thank You to Haha yamaha For This Useful Post: | ||
|
2012-11-12
, 21:14
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#6
|
sudo gainroot rm -rf /var/cache/apt ln -s /opt/var/cache/apt /var/cache/apt
The Following 3 Users Say Thank You to michaaa62 For This Useful Post: | ||
|
2012-11-12
, 21:30
|
Posts: 11 |
Thanked: 8 times |
Joined on Nov 2012
@ Koksijde Belgium
|
#7
|
Please try if relinking of var/cache/apt does change the output of the commandsCode:sudo gainroot rm -rf /var/cache/apt ln -s /opt/var/cache/apt /var/cache/apt
The Following User Says Thank You to Haha yamaha For This Useful Post: | ||
|
2012-11-12
, 21:59
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#8
|
sudo gainroot mkdir /opt/var/cache/apt/archives/partial
The Following 2 Users Say Thank You to michaaa62 For This Useful Post: | ||
|
2012-11-13
, 06:14
|
Posts: 11 |
Thanked: 8 times |
Joined on Nov 2012
@ Koksijde Belgium
|
#9
|
Please try to provide that directory to apt-getCode:sudo gainroot mkdir /opt/var/cache/apt/archives/partial
The Following User Says Thank You to Haha yamaha For This Useful Post: | ||
|
2012-11-13
, 06:58
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#10
|
The Following 3 Users Say Thank You to michaaa62 For This Useful Post: | ||
After months of searching I haven't found any solution to my problem.
I've accidently deleted the dpkg directory on my N900.
Now I can't install,remove,... apps.
When I try to install an application with Faster application manager (APPMAN doesn't work at all), it's says "Unknown error - see the log for details"
So I look in the log and there I read:
"E: Archive directory /var/cache/apt/archives/partial is missing."
When I try "mkdir /var/cache/apt/archives/partial it says "No such file or directory".
I can't reflash my phone, because the USB-port has broken.
It would be great if someone could come up with a solution!
Thanks!