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
  •  


Macintosh Platinum Mouse - Apple 128K 512K 512Ke Mac Plus Lisa IIe M0100 - NEW picture

Macintosh Platinum Mouse - Apple 128K 512K 512Ke Mac Plus Lisa IIe M0100 - NEW

$49.99



1984 APPLE MACINTOSH 128K MATCHING # BOX Set Original Mac Model M0001 WORKS RARE picture

1984 APPLE MACINTOSH 128K MATCHING # BOX Set Original Mac Model M0001 WORKS RARE

$6299.00



1984 APPLE MACINTOSH 128K FIRST MAC Model M0001 PICASSO KIT Discs Harvard Rare picture

1984 APPLE MACINTOSH 128K FIRST MAC Model M0001 PICASSO KIT Discs Harvard Rare

$1800.00



Apple Macintosh 128k Desktop computer. Upgraded to 512k picture

Apple Macintosh 128k Desktop computer. Upgraded to 512k

$300.00



Vintage Apple Macintosh 128K 512K Carrying Case Rainbow Logo Excellent Cond picture

Vintage Apple Macintosh 128K 512K Carrying Case Rainbow Logo Excellent Cond

$140.00



Macintosh Platinum Mouse - Apple 128K 512K 512Ke Mac Plus Lisa IIe M0100 - NEW picture

Macintosh Platinum Mouse - Apple 128K 512K 512Ke Mac Plus Lisa IIe M0100 - NEW

$59.99



Vintage Early Week 12 1984 Apple Macintosh 128K Computer M0001 w/Analog Board+ picture

Vintage Early Week 12 1984 Apple Macintosh 128K Computer M0001 w/Analog Board+

$209.99



Apple Keyboard and Cable for Macintosh 128k 512k Mac Plus RARE Vintage M0110 picture

Apple Keyboard and Cable for Macintosh 128k 512k Mac Plus RARE Vintage M0110

$129.99



Apple Macintosh Mac 128k - 512k Boot / Diagnostics 2 Disk Set for Classic Macs picture

Apple Macintosh Mac 128k - 512k Boot / Diagnostics 2 Disk Set for Classic Macs

$14.99



Apple Keyboard for Macintosh 128k 512k Mac Plus RARE Vintage M0110 (010) picture

Apple Keyboard for Macintosh 128k 512k Mac Plus RARE Vintage M0110 (010)

$149.00