On Thu, 07 Oct 2010 14:52:37 -0600 Orion Poplawski <orion@xxxxxxxxxxxxx> wrote: > In paraview 3.8.0, %{_libdir}/paraview/paraview is a directory: > > ls -l /usr/lib64/paraview/paraview > total 660 > -rw-r--r--. 1 root root 4213 Aug 2 15:35 benchmark.py > -rw-r--r--. 2 root root 4202 Aug 2 16:20 benchmark.pyc > -rw-r--r--. 2 root root 4202 Aug 2 16:20 benchmark.pyo > .... > > In paraview 3.8.1, it is a file. > > It fails to upgrade with: > > Error unpacking rpm package paraview-3.8.1-2.fc14.x86_64 > error: unpacking of archive failed on > file /usr/lib64/paraview/paraview: cpio: rename > paraview-3.8.0-4.fc14.x86_64 was supposed to be removed but is not! > > Anything I can do to fix? Test for %{_libdir}/paraview/paraview being a directory in %pre and renaming/removing it if it is? Paul. -- packaging mailing list packaging@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/packaging