PDA

View Full Version : Error when running apt-get



sunpascal
01-19-2005, 08:33 AM
Hi!
Does anyone know why I get following errors when running apt-get (no matter whether if I remove, install or update) the command line?

W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened.

Do you have an idea what the problem could be? Do you need more information?

Pascal

Markus
01-19-2005, 09:52 AM
First things first:
Do you have a Beginner or Debian style hdinstall?
Are you doing this as root?
Have you got /var on a separate partition which is mounted read-only?

phraitz
01-19-2005, 10:32 AM
have u logged in as root?

sunpascal
01-19-2005, 03:31 PM
of course as root, but from the cd.
I thought it was possible to do that, too.
Isn't it?

CrashedAgain
01-19-2005, 05:01 PM
of course as root, but from the cd.
I thought it was possible to do that, too.
Isn't it?

No, you cannot apt-get from the CD because it is read only. To add applications when running from CD you must have a persistent home & use klik.