-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 5/22/11 5:05 PM, Richard Miles wrote:
> Here is what happens:
> -bash3.2 rmiles $sudo dpkg -r --force-depends texlive-texmf;fink install 
> texlive-texmf
> /sw32/bin/dpkg: error processing texlive-texmf (--remove):
>  Package is in a very bad inconsistent state - you should
>  reinstall it before attempting a removal.
> Errors were encountered while processing:
>  texlive-texmf
> Information about 10258 packages read in 2 seconds.
> The following package will be installed or updated:
>  texlive-texmf
> Reading buildlock packages...
> Could not resolve inconsistent dependencies!
> 
> Fink isn't sure how to install the above packages safely. You may be able to
> fix things by running:
> 
>   fink scanpackages
>   sudo apt-get update
>   sudo apt-get install texlive-texmf=0.20100722-5
> 
> Failed: Fink::SysState: Could not resolve inconsistent dependencies
> -bash3.2 rmiles $sudo dpkg -r --force-depends texlive-texmf
> /sw32/bin/dpkg: error processing texlive-texmf (--remove):
>  Package is in a very bad inconsistent state - you should
>  reinstall it before attempting a removal.
> Errors were encountered while processing:
>  texlive-texmf
> -bash3.2 rmiles $fink install texlive-texmf
> Information about 10258 packages read in 1 seconds.
> The following package will be installed or updated:
>  texlive-texmf
> Reading buildlock packages...
> Could not resolve inconsistent dependencies!
> 
> Fink isn't sure how to install the above packages safely. You may be able to
> fix things by running:
> 
>   fink scanpackages
>   sudo apt-get update
>   sudo apt-get install texlive-texmf=0.20100722-5
> 
> Failed: Fink::SysState: Could not resolve inconsistent dependencies
> -bash3.2 rmiles $fink scanpackages
> Updating the list of locally available binary packages.
> Scanning dists/local/main/binary-darwin-i386
> Scanning dists/stable/main/binary-darwin-i386
> Scanning dists/stable/crypto/binary-darwin-i386
> Scanning dists/unstable/main/binary-darwin-i386
> Scanning dists/unstable/crypto/binary-darwin-i386
> -bash3.2 rmiles $sudo apt-get update
> Reading Package Lists... Done     
> Building Dependency Tree... Done
> -bash3.2 rmiles $sudo apt-get install texlive-texmf=0.20100722-5
> Reading Package Lists... Done
> Building Dependency Tree... Done
> You might want to run `apt-get -f install' to correct these:
> Sorry, but the following packages have unmet dependencies:
>   tetex-base: Depends: tetex-texmf (>= 3.0-1)
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify 
> a solution).
> -bash3.2 rmiles $apt-get -f install
> E: Could not open lock file /sw32/var/lib/dpkg/lock - open (13 Permission 
> denied)
> E: Unable to lock the administration directory (/sw32/var/lib/dpkg/), are you 
> root?
> -bash3.2 rmiles $sudo apt-get -f install
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Correcting dependencies... Done
> The following packages will be REMOVED:
>   texlive-texmf 
> 0 packages upgraded, 0 newly installed, 1 to remove and 0  not upgraded.
> 2 packages not fully installed or removed.
> Need to get 0B of archives. After unpacking 0B will be used.
> Do you want to continue? [Y/n] 
> /sw32/bin/dpkg: error processing texlive-texmf (--remove):
>  Package is in a very bad inconsistent state - you should
>  reinstall it before attempting a removal.
> Errors were encountered while processing:
>  texlive-texmf
> E: Sub-process /sw32/bin/dpkg returned an error code (1)
> 
> On May 22, 2011, at 1:28 PM, Alexander Hansen wrote:
> 

OK. The situation is clearer for me now.
You've got two separate issues here.  Let's decouple them.

1)  The "inconsistent dependencies" error.  Use

sudo dpkg --remove --force-depends tetex-base

to get rid of that (to avoid removing a bunch of other stuff, which is
what apt-get would do).

2)  Now you should be able to use

fink install texlive-texmf

to clear the dpkg gripes.


After that, you should be able to install texlive or texlive-nox.

- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3ZkJcACgkQB8UpO3rKjQ8bNACglgT0n74k6jH3LRlUirDG3LOZ
MhAAnieR8WygEdp005Mjq6nGn3GU7XVz
=owGw
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to