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
  •  


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



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 M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR picture

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR

$140.00



NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 4 NODE SERVER picture

NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 4 NODE SERVER

$1499.97



Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays picture

Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays

$799.99



Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB picture

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB

$149.99



Dell PowerEdge VRTX 2.5

Dell PowerEdge VRTX 2.5"x25 Bay Blade Enclosure 4x1600W + 4X M640 (4X Blades)

$1599.99



Cisco B200 M3 2x E5-2670V2 10 Core 8x 16GB-128GB Ram Blade Server VIC1240 14900R picture

Cisco B200 M3 2x E5-2670V2 10 Core 8x 16GB-128GB Ram Blade Server VIC1240 14900R

$399.00



Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working picture

Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working

$149.99



Dell Poweredge VRTX 25Bay 2.5

Dell Poweredge VRTX 25Bay 2.5" 2x PERC 8, 2xCMC, I/O 1GB Pass Through, 4x PS

$578.08