|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
dpkg lockHi,
I'm trying to install textex-base in my laptop (leopard), which in turn was required to install powerdot/prosper. The installation stops by reporting "execution of /sw/bin/dpkg-lockwait failed, exit code 1". I saw an empty file /sw/var/lib/dpkg/lock. I removed it as sudo, and re-ran fink install textex-base, but the same thing repeated. What could be the actual problem? Thanks, ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-beginners mailing list Fink-beginners@... http://news.gmane.org/gmane.os.apple.fink.beginners |
|
|
Re: dpkg lockvagabond wrote:
> Hi, > > I'm trying to install textex-base in my laptop (leopard), which in turn was required to install > powerdot/prosper. The installation stops by reporting > "execution of /sw/bin/dpkg-lockwait failed, exit code 1". > > I saw an empty file /sw/var/lib/dpkg/lock. I removed it as sudo, and re-ran fink install textex-base, > but the same thing repeated. What could be the actual problem? Thanks, Impossible to say without a little more context. -- Martin ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-beginners mailing list Fink-beginners@... http://news.gmane.org/gmane.os.apple.fink.beginners |
|
|
Re: dpkg lockMartin Costabel <costabel <at> wanadoo.fr> writes:
> Impossible to say without a little more context. > Of all tetex packages list, I've tetex-texmf 3.0.1 installed. I'm now installing tetex-base 3.0-1005 The installation runs for a few seconds. In the verbose created I see fmtutil fails:- fmtutil: Error! Not all formats have been built successfully. But many .fmt files, metafun.mem, mpost.mem and mf.base are installed in /sw/var/lib/texmf/web2c by fmtutil before this message appears. Following that, a summary of failed messages and warnings are given:- `pdfetex -ini -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' possibly failed. `pdfetex -ini -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' possibly failed. `omega -ini -jobname=lambda -progname=lambda lambda.ini' possibly failed. `aleph -ini -jobname=lamed -progname=lamed *lambda.ini' possibly failed. Apart from that I see two 'false' flags on texhash and dvips fonts. texhash enabled: `false' download standard fonts (dvips): `false' And finally, the installation stops by reporting:- /sw/bin/dpkg: error processing tetex-base (--install): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: tetex-base ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 Failed: can't install package tetex-base-3.0-1005 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-beginners mailing list Fink-beginners@... http://news.gmane.org/gmane.os.apple.fink.beginners |
|
|
Re: dpkg lockvagabond wrote:
> Martin Costabel <costabel <at> wanadoo.fr> writes: > >> Impossible to say without a little more context. >> >> > > Of all tetex packages list, I've tetex-texmf 3.0.1 installed. > I'm now installing tetex-base 3.0-1005 > The installation runs for a few seconds. > > In the verbose created I see fmtutil fails:- > > fmtutil: Error! Not all formats have been built successfully. > > But many .fmt files, metafun.mem, mpost.mem and mf.base > are installed in /sw/var/lib/texmf/web2c > > by fmtutil before this message appears. > > Following that, a summary of failed messages and warnings are given:- > > `pdfetex -ini -jobname=latex -progname=latex > -translate-file=cp227.tcx *latex.ini' > possibly failed. > > `pdfetex -ini -jobname=pdflatex -progname=pdflatex > -translate-file=cp227.tcx *pdflatex.ini' > possibly failed. > `omega -ini -jobname=lambda > -progname=lambda lambda.ini' > possibly failed. > `aleph -ini -jobname=lamed > -progname=lamed *lambda.ini' > possibly failed. > > Apart from that I see two 'false' flags on texhash and dvips fonts. > > texhash enabled: `false' > download standard fonts (dvips): `false' > > And finally, the installation stops by reporting:- > > /sw/bin/dpkg: error processing tetex-base (--install): > subprocess post-installation script returned error exit status 1 > Errors were encountered while processing: > tetex-base > ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 > Failed: can't install package tetex-base-3.0-1005 > > > > first, since the current version is 3.0-2, and then you should be able to do tetex-base. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-beginners mailing list Fink-beginners@... http://news.gmane.org/gmane.os.apple.fink.beginners |
|
|
Re: dpkg lock> I believe you mean "3.0-1" as the version for tetex-texmf. Update that > first, since the current version is 3.0-2, and then you should be able > to do tetex-base. I did that and ended up in a more severe problem. After doing fink update, texlive-texmf got installed and tetex-texmf disappeared. Now I can not run even regular latex files. Latex complaints that format file 'latex.fmt' is not present. The following error occurs when I try to compile a regular latex file: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Error: `pdftex -ini -jobname=latex -progname=latex -translate-file =cp227.tcx *latex.ini' failed fmtutil: Error! Not all formats have been built successfully. Visit the log files in directory /Users/resmi/.texmf-var/web2c for details. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! (I don't see any files in that directory) !!!!!!!!!!!!!!!!!!!!!!!!!!! No pages of output. Transcript written on latex.log.' instead of a filename. I can't find the format file `latex.fmt'! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I guess there is some conflict between various packages. How can I remove and reinstall all latex? I earlier did not have texlive. I would like to get back to the earlier configuration with tetex-texmf. Some help will be appreciated. Thanks, ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-beginners mailing list Fink-beginners@... http://news.gmane.org/gmane.os.apple.fink.beginners |
|
|
Re: dpkg lockvagabond wrote:
[] > I guess there is some conflict between various packages. > How can I remove and reinstall all latex? > I earlier did not have texlive. > I would like to get back to the earlier configuration with tetex-texmf. I am not sure if going back to tetex is still supported. I would rather suggest to make sure that your texlive installation is complete. Do you have texlive-base installed? The ~/.texmf-var and ~/.texmf-config directories might also get in the way, they should be removed. -- Martin ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-beginners mailing list Fink-beginners@... http://news.gmane.org/gmane.os.apple.fink.beginners |
|
|
Re: dpkg lock> I am not sure if going back to tetex is still supported. I would rather > suggest to make sure that your texlive installation is complete. Do you > have texlive-base installed? The ~/.texmf-var and ~/.texmf-config > directories might also get in the way, they should be removed. Was already in my way to cleaning up : Well I removed texmf directories from /sw/ subdirectories. Was it foolish, oh no!! Now I also removed the .texmf-var directory from home. There was no .texmf-config present though. To start with I do not have either tetex or texlive installed. I first tried to see whether I can go back to tetex 3.0-1006 !!!!!!!!!!!!!!!!!!!!!!!!!!! dpkg: serious warning: files list file for package `ggv' missing, assuming package has no files currently installed. 20414 files and directories currently installed.) Unpacking tetex-texmf (from .../tetex-texmf_3.0-2_darwin-i386.deb) ... /sw/bin/dpkg: error processing /sw/fink/dists/unstable/main/binary-darwin-i386/text/ tetex-texmf_3.0-2_darwin-i386.deb (--install): trying to overwrite `/sw/share/texmf/ls-R', which is also in package texlive-base /sw/bin/dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /sw/fink/dists/unstable/main/binary-darwin-i386/text/ tetex-texmf_3.0-2_darwin-i386.deb ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 Failed: can't install package tetex-texmf-3.0-2 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Then I tried to install texlive texlive 0.20080816 The same warning above ggv appeared. Apart from that !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! /sw/bin/fmtutil: line 337: /texconfig/tcfmgr: No such file or directory fmtutil: config file `fmtutil.cnf' not found. /sw/bin/dpkg: error processing texlive-base (--install): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of texlive: texlive depends on texlive-base (= 0.20080816-1); however: Package texlive-base is not configured yet. /sw/bin/dpkg: error processing texlive (--install): dependency problems - leaving unconfigured Errors were encountered while processing: texlive-base texlive ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 Failed: can't batch-install packages: /sw/fink/dists/unstable/main/binary-darwin- i386/text/texlive_0.20080816-1_darwin-i386.deb /sw/fink/dists/unstable/main/binary-darwin-i386/text/ texlive-base_0.20080816-1_darwin-i386.deb !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I am not able to find tcfmgr in /sw/share/texmf-dist/texconfig as the error message says. Also no fmtutil.cnf in /sw/share/texmf-dist/fmtutil But it is present in the web2pc directory. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-beginners mailing list Fink-beginners@... http://news.gmane.org/gmane.os.apple.fink.beginners |
|
|
Re: dpkg lockvagabond wrote:
[] > Was already in my way to cleaning up : > Well I removed texmf directories from /sw/ subdirectories. > Was it foolish, oh no!! Yes. Removing anything inside /sw should only be done if you know *exactly* what you are doing. What you now have is a system where the Fink tools like dpkg do not have correct information about what is really present on your disk. It is not surprising that they run into errors. These tools do not look on the disk what is really there, they rely on their internal data bases. And if the two do not agree, you are in trouble. [] > To start with I do not have either tetex or texlive installed. No quite true, as the following message shows: [] > /sw/bin/dpkg: error processing > /sw/fink/dists/unstable/main/binary-darwin-i386/text/ > tetex-texmf_3.0-2_darwin-i386.deb (--install): > trying to overwrite `/sw/share/texmf/ls-R', which is also in package texlive-base This means that [dpkg thinks that] texlive-base is installed. It is not "configured", though, as further messages show. You will first have to fix this situation before you can do anything else. [] > texlive depends on texlive-base (= 0.20080816-1); however: > Package texlive-base is not configured yet. [] > I am not able to find tcfmgr in /sw/share/texmf-dist/texconfig This is because you manually removed files without informing dpkg about it. What I would suggest is to 1. find out which tex packages are installed, according to the Fink tools: dpkg -l \*texlive\* \*tetex\* | egrep '^i' 2. Then remove all these packages, using the dpkg tool: sudo dpkg --force-all --purge texlive-base Repeat this for all the tetex and texlive packages that are installed according to point 1, as well as for libkpathsea4 and libkpathsea4-shlibs if they are installed. 3. Finally reinstall texlive: fink install texlive texlive-texmf libkpathsea4 -- Martin ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-beginners mailing list Fink-beginners@... http://news.gmane.org/gmane.os.apple.fink.beginners |
|
|
Re: dpkg lockThanks for the instructions.
Partly successful, but still troubles. > 1. find out which tex packages are installed, according to the Fink tools: I find the lists with the following flags: iU texlive 0.20080816-1 iF texlive-base 0.20080816-1 ii texlive-texmf 0.20080822-1 in tetex-texmf 3.0-2 ii libkpathsea4 3.5.7-1 ii libkpathsea4-s 3.5.7-1 [Btw, what does these flags mean?] > 2. Then remove all these packages I got a message that "ignoring request to remove tetex-texmf which isn't installed." I could remove texlive and texlive-texmf But not texlive-base. It complained about a command update-alternatives:- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Removing texlive-base ... /sw/var/lib/dpkg/info/texlive-base.prerm: line 8: update-alternatives: command not found /sw/bin/dpkg: error processing texlive-base (--purge): subprocess pre-removal script returned error exit st atus 127 /sw/var/lib/dpkg/info/texlive-base.postinst: line 7: update-alternatives: command not found dpkg: error while cleaning up: subprocess post-installation script returned error exit status 127 Errors were encountered while processing: texlive-base !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! However, when I did dpkg -l again, I only could see tetex-texmf, texlive-base was not present. Similarly, I could remove libkpathsea4, but not libkpathsea4-s, which dpkg ignored like tetex-texmf (confusing -- the flags aren't same for both). [Snowflake:~]% dpkg -l \*libkpathsea4\* | egrep '^i' ii libkpathsea4-s 3.5.7-1 [Snowflake:~]% dpkg -l \*texlive\* \*tetex\* | egrep '^i' in tetex-texmf 3.0-2 > 3. Finally reinstall texlive: > fink install texlive texlive-texmf libkpathsea4 So I am not sure whether the cleaning up was complete. If not I do not know how to go pass these error messages. Nevertheless I tried to install texlive using the above command, and it returned with the same error message on fmtutil.cnf and dpkg-lock. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-beginners mailing list Fink-beginners@... http://news.gmane.org/gmane.os.apple.fink.beginners |
|
|
Re: dpkg lockvagabond wrote:
> Thanks for the instructions. > > Partly successful, but still troubles. > >> 1. find out which tex packages are installed, according to the Fink tools: > > I find the lists with the following flags: > > iU texlive 0.20080816-1 > iF texlive-base 0.20080816-1 > ii texlive-texmf 0.20080822-1 > in tetex-texmf 3.0-2 > ii libkpathsea4 3.5.7-1 > ii libkpathsea4-s 3.5.7-1 The last one's name is truncated; it is called libkpathsea4-shlibs. > > [Btw, what does these flags mean?] If you issue just one "dpkg -l" command, like dpkg -l tetex-texmf then you see a header explaining the names of the flags: Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description (this is probably mangled by the mailer software) Thus, 'in' means "scheduled for installation, but not installed". What these actions, like "installed", "unpacked", "configured" etc mean, can be understood from reading "man dpkg". >> 2. Then remove all these packages > > I got a message that > "ignoring request to remove tetex-texmf which isn't installed." > > I could remove texlive and texlive-texmf > > But not texlive-base. > It complained about a command update-alternatives:- > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > Removing texlive-base ... > /sw/var/lib/dpkg/info/texlive-base.prerm: line 8: > update-alternatives: command not found This is bad, because update-alternatives is a basic part of the dpkg tool. What I suspect is that you do have the command, whose entire name is /sw/sbin/update-alternatives, but you do not have /sw/sbin in your PATH environment variable, probably because you didn't let Fink set PATH for you but set it by hand in one of your shell startup scripts. [] > [Snowflake:~]% dpkg -l \*libkpathsea4\* | egrep '^i' > ii libkpathsea4-s 3.5.7-1 > [Snowflake:~]% dpkg -l \*texlive\* \*tetex\* | egrep '^i' > in tetex-texmf 3.0-2 > >> 3. Finally reinstall texlive: >> fink install texlive texlive-texmf libkpathsea4 > > So I am not sure whether the cleaning up was complete. > If not I do not know how to go pass these error messages. First make sure that the update-alternatives command is present in your shell environment. Then remove libkpathsea4-shlibs and tetex-texmf, and then start the reinstallation command. -- Martin ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-beginners mailing list Fink-beginners@... http://news.gmane.org/gmane.os.apple.fink.beginners |
|
|
Re: dpkg lock> First make sure that the update-alternatives command is present in your > shell environment. Then remove libkpathsea4-shlibs and tetex-texmf, and > then start the reinstallation command. Done! I had set paths in my shell environment myself, and that is why update-alternatives were not seen by dpkg. I included /sw/sbin and it worked. No more dpkg-lock complaints. Now I've tex (including prosper, powerdot etc) installed. Many thanks Martin. It was indeed a great help!!! ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-beginners mailing list Fink-beginners@... http://news.gmane.org/gmane.os.apple.fink.beginners |
| Free embeddable forum powered by Nabble | Forum Help |