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
  •  


Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS

$716.98



Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS picture

Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS

$2749.99



Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 192GB | 8x HDD Trays picture

Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 192GB | 8x HDD Trays

$1939.99



Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 64GB | 8x HDD Trays picture

Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 64GB | 8x HDD Trays

$1614.99



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

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

$389.99



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$274.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$79.19



HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD picture

HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD

$196.95



Dell PowerEdge R720 2U Server 2x Xeon E5-2640 2.50Ghz 128GB RAM NO HDD NO OS picture

Dell PowerEdge R720 2U Server 2x Xeon E5-2640 2.50Ghz 128GB RAM NO HDD NO OS

$140.00



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00