Check and see whether /sw/var/lib/dpkg/availble-old is good (It should
look similar to your new /sw/var/lib/dpkg/status).  If so, then copy it
over /sw/var/lib/dpkg/available .
--
Alexander K. Hansen
Associate Research Scientist, Columbia University
visiting MIT Plasma Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA  02139-4213

On Sat, 18 Jan 2003, Philip Trauring wrote:

> That seems to have worked, but when it goes to update a package
> (after running update-all as suggested), I get this:
>
> >Information about 940 packages read in 0 seconds.
> >
> >The following package will be installed or updated:
> >  dict
> >dpkg -i
> 
>>/sw/fink/dists/stable/main/binary-darwin-powerpc/text/dict_1.7.1-1_darwin-powerpc.deb
> >dpkg: parse error, in file `/sw/var/lib/dpkg/available' near line 1:
> >  field name `rai' must be followed by colon
> >### execution of dpkg failed, exit code 2
> >Failed: can't install package dict-1.7.1-1
>
> I tried updating another package an got a similar response. I tried a
> third (xpilot) and it seemed to compile okay, but at the end I got:
>
> >Writing control file...
> >mkdir -p /sw/fink/dists/stable/main/binary-darwin-powerpc/games
> >dpkg-deb -b root-xpilot-4.5.4-1
> >/sw/fink/dists/stable/main/binary-darwin-powerpc/games
> >dpkg-deb: building package `xpilot' in
> 
>>`/sw/fink/dists/stable/main/binary-darwin-powerpc/games/xpilot_4.5.4-1_darwin-powerpc.deb'.
> >ln -sf
> 
>>/sw/fink/dists/stable/main/binary-darwin-powerpc/games/xpilot_4.5.4-1_darwin-powerpc.deb
> >/sw/fink/debs/
> >rm -rf /sw/src/root-xpilot-4.5.4-1
> >dpkg -i
> 
>>/sw/fink/dists/stable/main/binary-darwin-powerpc/games/xpilot_4.5.4-1_darwin-powerpc.deb
> >dpkg: parse error, in file `/sw/var/lib/dpkg/available' near line 1:
> >  field name `rai' must be followed by colon
> >### execution of dpkg failed, exit code 2
> >Failed: can't install package xpilot-4.5.4-1
>
>  From one problem to the next it seems...
>
> Philip
>
> At 6:57 PM -0500 1/18/03, Alexander Hansen wrote:
> >OK.  You should be able to try
> >
> >sudo cp /sw/var/lib/dpkg/status-old /sw/var/lib/dpkg/status
> >
> >and then try updating again.
> >
> >--
> >Alexander K. Hansen
> >Associate Research Scientist, Columbia University
> >visiting MIT Plasma Science and Fusion Center
> >Levitated Dipole Experiment
> >175 Albany Street, NW17-219
> >Cambridge, MA  02139-4213
> >
> >On Sat, 18 Jan 2003, Philip Trauring wrote:
> >
> >>  I got:
> >>
> >>  >Package: lame-shlibs
> >>  >Status: install ok installed
> >>  >Maintainer: Sylvain Cuaz <[EMAIL PROTECTED]>
> >>  >Source: lame-shlibs
> >>  >Version: 3.92-4
> >>  >Replaces: lame
> >>  >Description: MP3 encoder and graphical frame analyzer
> >>  >   LAME (LAME Ain't an MP3 Encoder) is a research project for
> >>learning about
> >>  >   and improving MP3 encoding technoligy. LAME includes an mp3 encoding
> >>  >   library, simple front end application, a much-improved psycho-acoustic
> >>
> >>  Philip
> >>
> >>  At 3:30 PM -0500 1/17/03, Alexander Hansen wrote:
> >>  >Hmm.  it looks like the file got corrupted somehow.  It should have showed
> >>  >something like this (from my system):
> >>  >...
> >>  >[ldx3:var/lib/dpkg] hansen% head status
> >>  >Package: qt3
> >>  >Status: install ok installed
> >>  >Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
> >>  >Source: qt3
> >>  >Version: 3.1.1-3
> >>  >Replaces: qt, qt2, qt3-doc, qt3-bin, qt3-dev
> >>  >Provides: qt3-bin
> >>  >Depends: qt3-shlibs, qt3-designer, qt3-linguist, qt3-doc
> >>  >Suggests: libpng3, libjpeg, freetype2
> >>  >Conflicts: qt, qt2
> >>  >...
> >>  >Try "head /sw/var/lib/dpkg/status-old"
> >>  >--
> >>  >Alexander K. Hansen
> >>  >Associate Research Scientist, Columbia University
> >>  >visiting MIT Plasma Science and Fusion Center
> >>  >Levitated Dipole Experiment
> >>  >175 Albany Street, NW17-219
> >>  >Cambridge, MA  02139-4213
> >>  >
> >>  >On Fri, 17 Jan 2003, Philip Trauring wrote:
> >>  >
> >>  >>  All I got was:
> >>  >>
> >>  >>  emboi^tab
> >>  >>
> >>  >>  Philip
> >>  >>
> >>  >>  At 1:06 PM -0500 1/17/03, Alexander Hansen wrote:
> >>  >>  >Let's see what the file looks like.  Post (on-list) the
> >>results of doing
> >  > >  > >
> >  > >  > >head /sw/var/lib/dpkg/status
> >  > >  > >
> >  > >  > >--
> >  > >  > >Alexander K. Hansen
> >  > >  >
> >  >
> >  >
> >  >
> >  > -------------------------------------------------------
> >  > This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
> >>  allow you to extend the highest allowed 128 bit encryption to all your
> >>  clients even if they use browsers that are limited to 40 bit encryption.
> >>  Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
> >>  _______________________________________________
> >  > Fink-users mailing list
> >>  [EMAIL PROTECTED]
> >>  https://lists.sourceforge.net/lists/listinfo/fink-users
> >>
> >
> >
> >-------------------------------------------------------
> >This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
> >allow you to extend the highest allowed 128 bit encryption to all your
> >clients even if they use browsers that are limited to 40 bit encryption.
> >Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
> >_______________________________________________
> >Fink-users mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/fink-users
>


-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to