Results 1 to 7 of 7

Thread: apt-get parse/access error

Hybrid View

  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
  •  


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



Lot of 4 8GB DDR4 PC4-2400T ECC Registered Server RAM 32GB 1Rx8 RDIMM MICRON picture

Lot of 4 8GB DDR4 PC4-2400T ECC Registered Server RAM 32GB 1Rx8 RDIMM MICRON

$149.99



MICRON MTA36ASF4G72PZ-2G6D1 32GB PC4-21300R DDR4-2666V RDIMM 2RX4 MEMORY DIMM picture

MICRON MTA36ASF4G72PZ-2G6D1 32GB PC4-21300R DDR4-2666V RDIMM 2RX4 MEMORY DIMM

$139.99



Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11 picture

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11

$62.55



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.75



Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB picture

Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB

$124.95



Samsung 64GB (16GBx4) 16GB 2Rx8 PC4-3200AA M393A2K43EM3-CWENY DDR4 Server Memory picture

Samsung 64GB (16GBx4) 16GB 2Rx8 PC4-3200AA M393A2K43EM3-CWENY DDR4 Server Memory

$399.99



1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot picture

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot

$202.50



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98