I did do the remountrw first and then tried the apt-get update. Here is the result of the update:

voyage:~# apt-get update
Hit http://security.debian.org lenny/updates Release.gpg
Hit http://security.debian.org lenny/updates Release
Err http://security.debian.org lenny/updates Release

Get:1 http://security.debian.org lenny/updates Release [40.8kB]
Hit http://www.voyage.hk ./ Release.gpg
Hit http://ftp.tw.debian.org lenny Release.gpg
Ign http://security.debian.org lenny/updates Release
Hit http://www.voyage.hk ./ Release
Err http://www.voyage.hk ./ Release

Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
Hit http://ftp.tw.debian.org lenny Release
Err http://ftp.tw.debian.org lenny Release

Hit http://security.debian.org lenny/updates/main Packages
Hit http://security.debian.org lenny/updates/contrib Packages
Get:2 http://www.voyage.hk ./ Release [1167B]
Ign http://www.voyage.hk ./ Release
Ign http://www.voyage.hk ./ Packages/DiffIndex
Get:3 http://ftp.tw.debian.org lenny Release [73.8kB]
Hit http://www.voyage.hk ./ Packages
Ign http://ftp.tw.debian.org lenny Release
Ign http://ftp.tw.debian.org lenny/main Packages/DiffIndex
Ign http://ftp.tw.debian.org lenny/contrib Packages/DiffIndex
Hit http://ftp.tw.debian.org lenny/main Packages
Hit http://ftp.tw.debian.org lenny/contrib Packages
Fetched 116kB in 3s (29.2kB/s)
Reading package lists... Error!
E: Unable to parse package file /var/lib/apt/lists/ftp.tw.debian.org_debian_dists_lenny_contrib_binary-i386_Packages (1)
E: The package lists or status file could not be parsed or opened.

And this is the /etc/apt/sources.list file contents:

deb http://ftp.tw.debian.org/debian/ lenny main contrib
deb http://security.debian.org/ lenny/updates main contrib

# Custom repositories
deb http://www.voyage.hk/dists/0.6 ./

... the rest of the sources are all commented out.

I will test the CF card soon.

Steve


Don't forget to run remountrw before doing an apt-get update.  Your file
system needs to be writable before you update the apt database or add
applications.

You should be able to add nano, though I prefer vi(m).  To be fair I use
vim nearly every day.

When you get the time, it is probably a good idea to test the CF card
from your Ubuntu install:

sudo fsck.ext2 -c -f -v /dev/<device id>

FYI, CF cards do wear out over time. Just because it used to work fine
in your camera, does not mean that it is not now in fact dying.

Hth,



--
Using Opera's revolutionary email client: http://www.opera.com/mail/

_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to