[Pkg-zope-developers] Re: Zope 2.7 packages for testing purpose?
Gregor Hoffleit
gregor@hoffleit.de
Tue, 4 May 2004 17:58:00 +0200
* Andreas Tille <tillea@rki.de> [040504 12:08]:
> On Tue, 4 May 2004, A Mennucc wrote:
>
> > I need access to aliot, and some explanations on how/what/where
> > to upload
> I added you to the list of developers. I have no idea whether these
> permissions suffice. I'm an Alioth-Newcommer myself.
>
> > they are in
> > http://tonelli.sns.it/pub/zope/debian/sid
>
> Comments:
>
> 1. Just from memory: There were some issues with /etc/logrotate.d/zope
> fixed in one of the latest uploads. I just want to be sure that
> you kept these changes ...
>
> 2. I Tried
>
> # dpkg --remove --force-depends zopectl
> # dpkg -i zope_2.7.0-0.13_i386.deb
> (Reading database ... 175564 files and directories currently installed.)
> Preparing to replace zope 2.7.0-0.13 (using zope_2.7.0-0.13_i386.deb) ...
> Zope stoping all instances....
> 'default' is an old/purged instance, not stoped
> Unpacking replacement zope ...
> Setting up zope (2.7.0-0.13) ...
> Zope: this zope uses a newer python. Deleting all python-compiled files in /usr/lib/zope and /var/lib/zope
> dpkg: error processing zope (--install):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> zope
>
> I guess there is some conflict in stoping old Zope instance once zopectl
> is removed. Any hint to do this cleanly?
Try to add the zope package to an local apt repository, like
mkdir /tmp/zope
mv zope_2.7.0*deb /tmp/zope
cd /tmp/zope
dpkg-scanpackages . >Packages
echo "deb file:///tmp/zope ./" >>/etc/apt/sources.list
Then you see that apt-get does the right thing:
apt-get install zope
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
zopectl
The following packages will be upgraded:
zope
1 upgraded, 0 newly installed, 1 to remove and 391 not upgraded.
Need to get 0B/2560kB of archives.
After unpacking 1167kB disk space will be freed.
Do you want to continue? [Y/n]
Gregor