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
  •  


Acer Predator Helios Neo 16S AI 16

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb

$1690.40



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro

$316.61



External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac picture

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac

$19.99



Samsung 2.5

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot

$90.00



SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM picture

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM

$159.99



Crucial MX500 1TB 2.5

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1

$102.99



Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot picture

Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot

$129.99



Cybernetics 1TB-5 SATA III  picture

Cybernetics 1TB-5 SATA III 

$59.99



Western Digital 1TB 3.5

Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive

$34.99



2026 NEW SGIN 15.6

2026 NEW SGIN 15.6" Laptop Win11 Intel i3 16GB RAM 1TB SSD Wi-Fi 6 RJ45 USB-C

$302.99