Derek Archer wrote:
I recently performed the sudo apt-get update command to update the binary package descriptions and I got the following error message:

E: Malformed line 12 in source list /sw/etc/apt/sources.list (dist parse)

I tried this both in the terminal and using FinkCommander. I looked at my /sw/etc/apt/sources.list file and this is what it looks like:
[]
deb file:/sw/fink local bootstrap bootstrap
deb file:/sw/fink main

This is indeed "malformed". And the line before is strange, too.

Since these lines are distilled from the "Trees:" line in your /sw/etc/fink.conf file, it is there that you have to make corrections:

It looks like you have "local/bootstrap" twice on that line, and you have a solitary "main" on that line. Items on that line are of the form "tree/directory" where "tree" corresponds to a subdirectory of your /sw/fink/dists/ directory and "directory" is a subdirectory of "tree".

The translation rule from fink.conf to sources.list is that several entries on the "Trees:" line of the form "tree/dir1 tree/dir2 ... tree/dirn" give rise to one line of the form

deb file:/sw/fink tree dir1 dir2 ... dirn

You don't need to know this translation rule, fink does this automatically for you. You only need to keep the "Trees:" line in /sw/etc/fink.conf in order.

After you change your /sw/etc/fink.conf, make sure to run

  sudo /sw/lib/fink/postinstall.pl

--
Martin


------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to