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
  •  


Cisco Systems NCS2K-20-SMRFS-L optical multiplexor CISCO EXCESS picture

Cisco Systems NCS2K-20-SMRFS-L optical multiplexor CISCO EXCESS

$3599.00



Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24 picture

Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24

$117.00



Cisco RV160 VPN Router 4 Gigabit Ethernet Ports RV160-K9-AR picture

Cisco RV160 VPN Router 4 Gigabit Ethernet Ports RV160-K9-AR

$80.00



CISCO SFP-10G-ER 10-2531-02 10GBASE-ER SFP+ 10G 1550nm 40km 1PCS picture

CISCO SFP-10G-ER 10-2531-02 10GBASE-ER SFP+ 10G 1550nm 40km 1PCS

$135.00



Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod picture

Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod

$83.00



Cisco Catalyst WS-C2960-48TT-L V02 48 Port Fast Ethernet Switch picture

Cisco Catalyst WS-C2960-48TT-L V02 48 Port Fast Ethernet Switch

$34.00



Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture

Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850

$38.99



Cisco WS-C4948-10GE-S 4948-10GE 48 Port Gigabit +10GB Switch w single AC 15.0 OS picture

Cisco WS-C4948-10GE-S 4948-10GE 48 Port Gigabit +10GB Switch w single AC 15.0 OS

$99.99



Cisco C9300-48 48 Port Switch Dual PSU W/C9300-NM-8X P/N: C9300-48U-A Tested picture

Cisco C9300-48 48 Port Switch Dual PSU W/C9300-NM-8X P/N: C9300-48U-A Tested

$799.99



Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W Network Switch picture

Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W Network Switch

$41.64