Active Topics

 


Reply
Thread Tools
Posts: 12 | Thanked: 3 times | Joined on Jun 2010
#61
Originally Posted by arne.anka View Post
basically, do

apt-get clean

that will purge the cache of downloaded packages and free up space.
it's basically, as pointed out to you already, what is described in #22 -- but with the proper command.

afterwards, pleasse do

dpkg -C

and post the output here.
output is dpkg: failed in buffer_read(fd) copy info file 'var/lib/dpkg/status': input output error

i've tried all the soln given in this thread and some other on this forum but app manager still gives same OPERATION FAILED error when i open it.
ive tried enable/disable repos all & one by one, removing non-free from noe of the repos, tried all the methods on x term but to no avail.
main problem is i'm getting a diff error from others in app maager
this is the eror log from app manager

hildon-application-manager 2.2.65
E: Read error - read (5 Input/output error)
E: The package lists or status file could not be parsed or opened.
E: Read error - read (5 Input/output error)
E: The package lists or status file could not be parsed or opened.
E: Read error - read (5 Input/output error)
E: The package lists or status file could not be parsed or opened.

can anybody plz help me
PS yesterday i tried to install headphone daemon & media box, both were downloaded but app manager encountered an error in nistalling both. since then its giving me this error.
 
Posts: 198 | Thanked: 76 times | Joined on Mar 2010
#62
Originally Posted by atifhasan86 View Post
output is dpkg: failed in buffer_read(fd) copy info file 'var/lib/dpkg/status': input output error

...

hildon-application-manager 2.2.65
E: Read error - read (5 Input/output error)
E: The package lists or status file could not be parsed or opened.
E: Read error - read (5 Input/output error)
E: The package lists or status file could not be parsed or opened.
E: Read error - read (5 Input/output error)
E: The package lists or status file could not be parsed or opened.
at a short glance it looks like your filesystem got corrupted somehow.
/var/lib/dpkg/status is a plain text file and if the app manager can't read it, it probably means the fs has issues.

the most easy and safe way would be, imo, reflashing the rootfs (where /var/ lives).


edit: i don't think it makes a difference, but check if that file /var/lib/dpkg/status exists at all.
 
manvik60's Avatar
Posts: 128 | Thanked: 46 times | Joined on Mar 2010 @ Switzerland
#63
looks like your software index is broken or corrupted.
There should be a backup of same file status-old. try to move that status-old to status and try again.
I hope they are not much difference between them and might work
As root
-- First copy the main file
# cp -p /var/lib/dpkg/status /var/lib/dpkg/status.orig
# cp -p /var/lib/dpkg/status-old /var/lib/dpkg/status
# apt-get update
 

The Following 2 Users Say Thank You to manvik60 For This Useful Post:
Posts: 34 | Thanked: 0 times | Joined on Sep 2010
#64
why it show
archives directory /var/cache/apt/archives/partial is missing
what i have to do?
 
Posts: 198 | Thanked: 76 times | Joined on Mar 2010
#65
Originally Posted by noocm View Post
why it show
archives directory /var/cache/apt/archives/partial is missing
what i have to do?
recreate.
- get root
- do
mkdir /var/cache/apt/archives/partial
 
Posts: 34 | Thanked: 0 times | Joined on Sep 2010
#66
i try mkdir /var/cache/apt/archives/partial
but it show
cannot create directory /var/cache/apt/archives/partial : No such file or directory
 
Posts: 198 | Thanked: 76 times | Joined on Mar 2010
#67
please, post the results of

ls -alR /var/cache/
 
Posts: 34 | Thanked: 0 times | Joined on Sep 2010
#68
Originally Posted by arne.anka View Post
please, post the results of

ls -alR /var/cache/
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ ls -alR /var/cache/
/var/cache/:
drwxr-xr-x 5 root root 424 Jan 2 2009 .
drwxr-xr-x 14 root root 936 May 12 00:24 ..
drwxr-xr-x 2 user users 312 Sep 25 01:01 alarmd
lrwxrwxrwx 1 root root 18 Jan 2 2009 apt -> /opt/var/cache/apt
drwxr-xr-x 2 root root 232 Sep 23 10:15 hald
drwxr-xr-x 2 root root 160 May 12 00:19 ldconfig

/var/cache/alarmd:
drwxr-xr-x 2 user users 312 Sep 25 01:01 .
drwxr-xr-x 5 root root 424 Jan 2 2009 ..
-rw-r--r-- 1 user users 1060 Sep 25 01:01 alarm_queue.ini
-rw-r--r-- 1 user users 1058 Sep 25 00:20 alarm_queue.ini.bak

/var/cache/hald:
drwxr-xr-x 2 root root 232 Sep 23 10:15 .
drwxr-xr-x 5 root root 424 Jan 2 2009 ..
-rw-r--r-- 1 root root 33676 Sep 23 10:15 fdi-cache

/var/cache/ldconfig:
drwxr-xr-x 2 root root 160 May 12 00:19 .
drwxr-xr-x 5 root root 424 Jan 2 2009 ..
~ $
 
Posts: 198 | Thanked: 76 times | Joined on Mar 2010
#69
and now

ls -alR /opt/var/cache/apt

and

whoami
 
Posts: 34 | Thanked: 0 times | Joined on Sep 2010
#70
/home/user # ls -alR /opt/var/cache/apt
ls: /opt/var/cache/apt: No such file or directory
/home/user # whoami
root
/home/user #
 
Reply


 
Forum Jump


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