Results 1 to 7 of 7

Thread: apt-get parse/access error

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Posts
    7

    apt-get parse/access error

    Hello,

    I installed Knoppix (DVD edition) on my notebook (IBM t40) - what went pretty smooth.

    now I tried to install alsa

    apt-get install alsa-base

    promps heeps of error message that the ftp is incorrect, that it can't parse or open the packagefile and so on.

    when giving synaptic a try I get

    Couldn't stat source package list http://security.debian.org stable/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_stable_updates_main_bina ry-i386_Packages) - stat (2 No such file or directory)

    Couldn't stat source package list http://ftp.de.debian.org stable/main Packages (/var/lib/apt/lists/ftp.de.debian.org_pub_debian_dists_stable_main_bin ary-i386_Packages) - stat (2 No such file or directory)

    and more of these messages. Presumably security updates are not available for debian testing/unstabl.

    I assume that the ftp location is broken, how can I change it?

    doing in synaptic: "update list" it is prompting a lot but no packages appear in the list after update is completed

    and due to this debian via knoppix is it recommended to install testing or even unstable packages only?


    well, some apt-get questions, I hope I haven't missed relevant threads in the FAQ.

    thanks in adcance cheers oggi

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    /etc/apt/sources.list

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    In the above mentioned file the lines should look like this:

    Code:
    ## Debian Sources
    deb http://ftp.de.debian.org/debian/ stable main non-free contrib
    deb http://ftp.de.debian.org/debian/ testing main non-free contrib
    deb http://ftp.de.debian.org/debian/ unstable main non-free contrib
    
    ## Security updates
    deb http://security.debian.org/ stable/updates main contrib non-free
    deb http://security.debian.org/ testing/updates main contrib non-free

  4. #4
    Junior Member
    Join Date
    Sep 2003
    Posts
    7
    Hi, my file looks similar to this one, only one #, other order - but I assume that doesn' matter.

    As far as I understand the output I receive know, the location are correct, but this parse/open error occurs:

    Get:50 http://ftp.de.debian.org unstable/non-US/main Release [91B]
    Hit http://ftp.de.debian.org unstable/non-US/contrib Sources
    Get:51 http://ftp.de.debian.org unstable/non-US/contrib Release [94B]
    Hit http://ftp.de.debian.org unstable/non-US/non-free Sources
    Get:52 http://ftp.de.debian.org unstable/non-US/non-free Release [95B]
    Fetched 7674kB in 12s (606kB/s)
    Reading Package Lists... Error!
    E: Unable to parse package file /var/lib/dpkg/status (1)
    E: The package lists or status file could not be parsed or opened.
    RESULT=100

  5. #5
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    do an ls -al /var/lib/dpkg and see if the status file exists. On my debian system I see this for status:
    ...
    -rw-r--r-- 1 root root 987347 Sep 15 11:09 status
    ...

    Your size and date will differ but the permissions should be the same.

    Have you done an apt-get update before you tried to install alsa?

    ~rock

  6. #6
    Junior Member
    Join Date
    Sep 2003
    Posts
    7
    the permission of /var/lib/dpkg/satus looks the same


    apt-get update looks fine until it prompts:
    can't parse packagelist /var/lib/dpkg/status (1)
    the packagelist or the statusfile could not be parsed or opened


    any idea what might be wrong?

  7. #7
    Junior Member
    Join Date
    Sep 2003
    Posts
    7
    problem solved

    renaming status and doing touch status

Similar Threads

  1. apt-get / dpkg error: unable to access dpkg status area
    By Nitromethane1261 in forum General Support
    Replies: 2
    Last Post: 09-15-2004, 12:09 AM
  2. Cant access drives in knoppix - klauncher error
    By myztik19 in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 07-21-2004, 03:09 PM
  3. Xine error after doing a Upgrade, error posted. (resolved)
    By Cuddles in forum Hdd Install / Debian / Apt
    Replies: 17
    Last Post: 01-20-2004, 04:30 PM
  4. mkisofs error: end request: I/O error, dev 02:00 (floppy...
    By labrador in forum Customising & Remastering
    Replies: 0
    Last Post: 07-18-2003, 01:54 AM
  5. Partition-error (Table written but error while reading!!!)
    By Mad_Max_FX in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-22-2003, 03:29 AM

Posting Permissions

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


Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700 picture

Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700

$289.99



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



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



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



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD

$149.99



Dell PowerEdge R640 10SFF 2x Gold 6140 2.3GHz 36-Cores 64gb H730p 2x Trays picture

Dell PowerEdge R640 10SFF 2x Gold 6140 2.3GHz 36-Cores 64gb H730p 2x Trays

$599.99



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

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

$524.99



Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD picture

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD

$119.99



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00