Sorry, sent the reply to the wrong email address.
On Tuesday 18 March 2008, Daniel Baumann wrote:
> Chris Knadle wrote:
> > Daniel, please look again: this bug has not been fixed. Version
> > 0.2+20080219-1 is the package with the bug. The reason the bug is filed
> > against 0.2+20080118-1 is that 0.2+20080219-1 WILL NOT INSTALL,
> > and 'reportbug' files the bug for the currently installed version.
>
> I can install 0.2+20080219-1 without any problem (sid/i386), that's why
> i closed it.
That doesn't address the problem that happens during upgrade -- which is
repeatable. If you remove gitosis_0.2+20080219-1 and then install
gitosis_0.2_20080118-1 and try to upgrade, you will see the same problem;
because gitosis_0.2+20080118-1 *depends* on python-setuptools, and yet
gitosis_0.2+20080219-1 *conflicts* with python-setuptools.
Proof below -- I've removed gitosis and python-setuptools and try to
install gitosis_0.2+20080118-1 :
# dpkg -i gitosis_0.2+20080118-1_all.deb
Selecting previously deselected package gitosis.
(Reading database ... 342724 files and directories currently installed.)
Unpacking gitosis (from gitosis_0.2+20080118-1_all.deb) ...
dpkg: dependency problems prevent configuration of gitosis:
gitosis depends on python-setuptools; however:
Package python-setuptools is not installed.
Now I use aptitude to install python-setuptools and complete the
installation of gitosis_0.2+20080118-1 :
Selecting previously deselected package python-setuptools.
(Reading database ... 342779 files and directories currently installed.)
Unpacking python-setuptools (from .../python-setuptools_0.6c8-2_all.deb) ...
Setting up python-setuptools (0.6c8-2) ...
Setting up gitosis (0.2+20080118-1) ...
Adding system user `git' (UID 110) ...
Adding new group `git' (GID 124) ...
Adding new user `git' (UID 110) with group `git' ...
Not creating home directory `/var/cache/git'.
Press return to continue.
Now I go try to upgrade gitosis to gitosis_0.2+20080219-1:
database /var/lib/apt/listchanges.db failed to load.
(Reading database ... 342838 files and directories currently installed.)
Preparing to replace gitosis 0.2+20080118-1
using .../gitosis_0.2+20080219-1_all.deb) ...
Unpacking replacement gitosis ...
dpkg: error
processing /var/cache/apt/archives/gitosis_0.2+20080219-1_all.deb (--unpack):
trying to overwrite `/usr/bin/easy_install-2.4', which is also in package
python-setuptools
Errors were encountered while processing:
/var/cache/apt/archives/gitosis_0.2+20080219-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Press return to continue.
Please update your gitosis package such that the control information shows
that it conflicts with python-setuptools, or else anybody using the old
gitosis package will have a an upgrade failure.
If you're able to upgrad from gitosis 0.2+20080118-1 -> 0.2+20080219-1 without
manual intervention, please show it. Prove me wrong.
As far as I can see, no matter what way I look at it, your pacakge has a bug,
because it fails to upgrade cleanly. Better to fix it now than leave the
problem until the realease time of Lenny.
-- Chris
--
Chris Knadle
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]