On 9/7/06, Troy Payne <[EMAIL PROTECTED]> wrote:
> Total newbie question that I couldn't find answered in the FAQ or archives:
>
> I have a problem with my /sw/var/lib/dpkg/status file - one package doesn't
> have a version after a failed installation.  I've tried reinstalling,
> removing, and purging the offending package, all to no avail.
> /sw/var/lib/dpkg/status-old contains the same lines that I'm having trouble
> with, so I can't revert to it.
>
> Seems I need to edit my /sw/var/lib/dpkg/status file... But I can't save
> files in /sw/var/lib/dpkg/ with TextEdit.app because I don't have
> permission.  What's the best way to edit /sw/var/lib/dpkg/status?
>
> Thanks,
>
> Troy
>
>
>
Don't use TextEdit, for one thing. :-)

You need to use an editor that handles Unix line endings and also lets
you edit root-owned stuff.  TextWrangler (
http://www.barebones.com/products/textwrangler/ ) is a nice editor for
that, and it lets you edit root-owned documents if you supply an
administrative password.

You can also use one of the various built-in Unix editors as well, as
long as you preface their commands with "sudo", e.g.

sudo pico /sw/var/lib/dpkg/status
-- 
Alexander K. Hansen
Fink Documenter (still)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to