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 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1625.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Microsoft Windows Server 2025 Datacenter 64Bit 24 Core 50 cal Freeshipping picture

Microsoft Windows Server 2025 Datacenter 64Bit 24 Core 50 cal Freeshipping

$54.99



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93



VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack) picture

VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack)

$1599.95



Win Server Datacenter 2025 64-Bit DVD 24 Core 50 DAL Brand New +  picture

Win Server Datacenter 2025 64-Bit DVD 24 Core 50 DAL Brand New +

$55.99