On 30 October 2014 10:52, Fernando de Oliveira <[email protected]> wrote:
> I am copying and pasting from the web to reply, problems receiving the
> messages.
>
> On Thu Oct 30 02:50:42 PDT 2014, Richard Melville wrote:
> > On 30 October 2014 00:00, Fernando de Oliveira wrote:
>
>
> >
> >
> > Thanks for the exhaustive tests Fernando -- that's really interesting. I
> > have to say that I'm still using the final version of paco -- I haven't
> yet
> > tried porg.
> >
> > I have found paco to be pretty reliable but I don't have any Mozilla
> > applications installed, so I guess it depends on your installation.
>
> Perhaps, but I can't see how. I forgot to tell the reason of the paco
> failure:
>
> Mozilla applications call nsinstall and it does severall things, some of
> them, paco logs, others, it doesn't:
>
> {{{
> ...
> WARNING: Found 41 duplicated files taking 296972 bytes (uncompressed)
> ../../dist/bin/nsinstall -D /usr/lib/firefox-33.0.2
> (cd ../../dist/firefox && tar --exclude=precomplete
> --exclude=.mkdir.done -chf - .) | \
> (cd /usr/lib/firefox-33.0.2 && tar -xf -)
> ../../dist/bin/nsinstall -D /usr/bin
> rm -f -f /usr/bin/firefox
> ln -s /usr/lib/firefox-33.0.2/firefox /usr/bin
> ...
> }}}
>
> The "tar" part is not logged by paco, the "ln -sv" is logged.
>
> I created the following test case:
>
> # tar tf test.tar.xz
> test/
> test/watch-sensors-core.sh
>
> and installed with
>
> paco -lp test-paco "tar xf test.tar.xz -C / &&
> mkdir -vp /test/bin &&
> ln -sv ../watch-sensors-core.sh /test/bin"
>
> # paco -sMFCndd test-paco
> 0 [ ] 1 [ ] ( ) 30-Oct-2014 07:25 test-paco
> paco -fy test-paco
> test-paco:
> /test/bin/watch-sensors-core.sh -> ../watch-sensors-core.sh
>
> Now the error removing:
>
> # paco -r test-paco
> Remove package test-paco (y/N) ? y
> # find /test
> /test
> /test/watch-sensors-core.sh
>
> It only removed the link, ignored the files installed with tar.
>
> which proofs what I am saying it easy for you to reproduce, please, do
> and report.
>
> Now, the same test with porg.
>
> # porg -lp test-paco "tar xf test.tar.xz -C / &&
> mkdir -vp /test/bin &&
> ln -sv ../watch-sensors-core.sh /test/bin"
> mkdir: foi criado o diretório "/test/bin"
> "/test/bin/watch-sensors-core.sh" -> "../watch-sensors-core.sh"
> # porg -sFdd test-paco
> 78 2 10/30/14 07:34 test-paco
> # porg -fy test-paco
> test-paco:
> /test/bin/watch-sensors-core.sh -> ../watch-sensors-core.sh
> /test/watch-sensors-core.sh
> # porg -r test-paco
> The following packages will be removed:
> test-paco
> Do you want to proceed (y/N) ? y
> # porg -fy test-paco
> # env LC_ALL=C ls /test
> ls: cannot access /test: No such file or directory
>
>
> So, porg installs, log and remove correctly.
>
> You can install porg without problem with paco.
>
> Paco logs are at /var/log/paco
>
> Porg logs are at /var/log/porg.
>
> Then, please, reproduce these two tests.
>
>
Fernando, I've just finished running your tests on Paco-2.0.7 and
Porg-0.7. I replicated your tests exactly; I created similar files and
directories, and named them with similar names. For some reason on my
system *both* Paco and Porg install and log correctly, and remove *all*
instances using the -r option.
I'm not sure what to suggest -- maybe you have some ideas.
Richard
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page