Results 1 to 5 of 5

Thread: Error when running apt-get

  1. #1
    Member registered user
    Join Date
    Nov 2004
    Posts
    34

    Error when running apt-get

    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

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    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?

  3. #3
    Junior Member registered user
    Join Date
    Jan 2005
    Posts
    22
    have u logged in as root?

  4. #4
    Member registered user
    Join Date
    Nov 2004
    Posts
    34
    of course as root, but from the cd.
    I thought it was possible to do that, too.
    Isn't it?

  5. #5
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    Quote Originally Posted by sunpascal
    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.

Similar Threads

  1. Getting Kernel panic error while running the live cd
    By nirupama in forum Customising & Remastering
    Replies: 0
    Last Post: 11-10-2006, 06:32 AM
  2. error running live cd
    By souleman in forum General Support
    Replies: 3
    Last Post: 09-03-2006, 01:22 PM
  3. Error when running apt-get update
    By sunpascal in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-23-2005, 12:57 PM
  4. buffer I/O error while running knoppix cd
    By mshanmuga in forum General Support
    Replies: 5
    Last Post: 12-19-2004, 06:06 AM
  5. error running X and KDE
    By hss in forum Customising & Remastering
    Replies: 1
    Last Post: 06-20-2004, 06:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151 picture

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151

$79.99



Intel Core i5-14400F 2.50GHz 6 Core SRN3R 16 Thread LGA 1700 CPU picture

Intel Core i5-14400F 2.50GHz 6 Core SRN3R 16 Thread LGA 1700 CPU

$165.00



INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH picture

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH

$179.99



intel core brand new never used i5-11400f LGA1200 picture

intel core brand new never used i5-11400f LGA1200

$85.00



AMD Ryzen 5 5500 Processor ( read Description) picture

AMD Ryzen 5 5500 Processor ( read Description)

$59.00



Intel Core i7-3770K 3.5 GHz Processor picture

Intel Core i7-3770K 3.5 GHz Processor

$39.00



Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor picture

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor

$114.99



Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor picture

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor

$67.99



INTEL CORE I9-10980XE PROCESSOR | 3.00GHZ | SRGSG picture

INTEL CORE I9-10980XE PROCESSOR | 3.00GHZ | SRGSG

$299.99



Lenovo ThinkCentre M920s SFF Barebones PC Motherboard PSU DVD No CPU RAM SSD picture

Lenovo ThinkCentre M920s SFF Barebones PC Motherboard PSU DVD No CPU RAM SSD

$27.99