Hello Martin,
On Thu, Jun 29, 2006 at 10:12:23PM +0200, Martin Pitt wrote:
> Helge Kreutzmann [2006-06-29 21:33 +0200]:
> > > postgresql-8.1 is completely independent of postgresql-7.4, and I
> > > would like to completely drop the knowledge (and code) to support the
> > > old sarge layout at some point.
> > 
> > Well, technically speaking this would be Etch+epsilon, as skipping stable
> > releases is not supported.
> 
> Right; that's what we did in Ubuntu, we could drop the transitional
> package after the first stable release with the new infrastructure,
> and all that was left was a clean packaging. :)

Any reason (besides the different release cycles) speaking against the
same for Debian?

> Great! Then I'm going to implement it.

Great.

> > Do I understand correctly. To properly fix this, I simply issue
> > apt-get install postgresql
> > apt-get --purge remove postgresql
> 
> Either is fine. Both purging the 7.4.x postgresql package (which will
> remove the conffiles and data) and installing the transitional 7.5.x
> package (which will move them to their new places and such) will
> result in a clean system.

Nope, unless I missed something, you cannot purge a non-installed
package (sometimes I wish one could):
remaxp:~# env LANG=C apt-get --purge remove postgresql
Reading package lists... Done
Building dependency tree... Done
Package postgresql is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.


Also I cannot install postgresql:
remaxp:~# apt-cache policy postgresql
postgresql:
  Installiert:(keine)
  Mögliche Pakete:7.5.19
  Versions-Tabelle:
     7.5.19 0
        500 http://127.0.0.1 etch/main Packages
     7.4.7-6sarge1 0
        100 /var/lib/dpkg/status
remaxp:~# env LANG=C apt-get install postgresql
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  postgresql: Depends: postgresql-7.4 but it is not installable
              Depends: postgresql-client (>= 7.5) but it is not going to be 
installed
E: Broken packages

I'll check tomorrow if I did something stupid (which I don't think I 
did), but on first glance I don't see anything. Could this be because
of the move of amd64 onto debian.org (but I tried it with sarge
security in my source.list also with no change).

> Indeed RC is the *only* issue here. Up-to-date installed and purged
> are fine, and old-installed (7.4.x) is covered with the Conflicts: and
> apt automatically upgrading.

Yes, I see.

Greetings

         Helge

-- 
      Dr. Helge Kreutzmann                     [EMAIL PROTECTED]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to