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
  •  


Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th) picture

Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)

$59.99



ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard picture

ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard

$84.99



ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture

ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield

$42.00



Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3  picture

Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3

$23.99



Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard picture

Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard

$54.99



NEW OEM ASRock H410M/MC LGA1200 Intel M-ATX Motherboard (Wifi) picture

NEW OEM ASRock H410M/MC LGA1200 Intel M-ATX Motherboard (Wifi)

$49.99



Asus Prime A320M-K mATX AM4 Motherboard (Ryzen 1000-5000 Ready) picture

Asus Prime A320M-K mATX AM4 Motherboard (Ryzen 1000-5000 Ready)

$49.99



ASUS B85M-E Motherboard Intel B85 (4th Gen) LGA1150 DDR3 microATX picture

ASUS B85M-E Motherboard Intel B85 (4th Gen) LGA1150 DDR3 microATX

$39.99



Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM picture

Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM

$84.00



ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI picture

ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI

$99.99