Jeff Abrahamson on Sat, 1 Sep 2001 12:20:10 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] debian upgrade confusion


> [Wherein I spoke of wanting to upgrade from potato to woody, and my
> fears and trepidations related thereto. And various people offered
> useful advice and comforting assurances that all would be well in
> the end.]

OK, I did it. Or, that is, I'm still doing it. But I've got a bit of a
problem.

The dist-upgrade terminated with

------------------------------------------------------------------
...
Selecting previously deselected package postgresql.
(Reading database ... 42027 files and directories currently installed.)
Unpacking postgresql (from .../postgresql_7.1release-4_i386.deb) ...

Found an existing database directory at /var/lib/postgres/data

Selecting previously deselected package libpgtcl.
Unpacking libpgtcl (from .../libpgtcl_7.1release-4_i386.deb) ...
(Reading database ... 42606 files and directories currently installed.)
Removing libpgsql2 ...
/var/lib/dpkg/info/libpgsql2.prerm: /etc/postgresql/postmaster.conf: No such file or directory
dpkg: error processing libpgsql2 (--remove):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 libpgsql2
E: Sub-process /usr/bin/dpkg returned an error code (1)
You have new mail in /var/spool/mail/jeff
diderot:~# 
------------------------------------------------------------------

So I tried again:

------------------------------------------------------------------
diderot:~# apt-get -u dist-upgrade
Reading Package Lists..Done
Building Dependency Tree...Done
You might want to run `apt-get -f install' to correct these.
Sorry, but the following packages have unmet dependencies:
  libpgtcl: Depends: libpgsql2.1 (>= 7.1) but it is not installed
            Depends: libreadline4 (>= 4.2-2) but 4.1-1 is installed
            Depends: tcl8.3 (>= 8.3.2) but it is not installed
            Depends: tk8.3 (>= 8.3.0) but it is not installed
            Depends: xlibs (> 4.0.3) but it is not installed
  postgresql: Depends: libpgsql2.1 (>= 7.1) but it is not installed
              Depends: libreadline4 (>= 4.2-2) but 4.1-1 is installed
              Depends: libpgsql2.1 but it is not installed
  postgresql-client: Depends: libpgsql2.1 (>= 7.1) but it is not installed
                     Depends: libreadline4 (>= 4.2-2) but 4.1-1 is installed
                     Depends: libpgsql2.1 (>= 7.1) but it is not installed
E: Unmet dependencies. Try using -f.
diderot:~# 
------------------------------------------------------------------

I try again with -f, but the results are almost identical.

An apt-get -f install yields the same problem as the first: fails to
remove libpgsql2. An apt-get remove of libpgsql2 also fails:

------------------------------------------------------------------
diderot:~# apt-get remove libpgsql2
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
Sorry, but the following packages have unmet dependencies:
  libpgtcl: Depends: libpgsql2.1 (>= 7.1) but it is not going to be installed
            Depends: libreadline4 (>= 4.2-2) but 4.1-1 is to be installed
  nethack: Depends: libxaw7 (>= 4.0.1-1) but it is not going to be installed
  postgresql: Depends: libpgsql2.1 (>= 7.1) but it is not going to be installed
              Depends: libreadline4 (>= 4.2-2) but 4.1-1 is to be installed
              Depends: libpgsql2.1 but it is not going to be installed
  postgresql-client: Depends: libpgsql2.1 (>= 7.1) but it is not going to be installed
                     Depends: libreadline4 (>= 4.2-2) but 4.1-1 is to be installed
                     Depends: libpgsql2.1 (>= 7.1) but it is not going to be installed
  wmaker: Depends: hermes1 (>= 1.3.2-1) but it is not going to be installed
          Depends: libproplist0 (>= 0.10.1) but 0.9.1-2 is to be installed
          Depends: libungif4g (>= 4.1-1) but it is not going to be installed
          Depends: libwraster2 (>= 0.65.0) but it is not going to be installed
  xfig: Depends: xaw3dg (>= 1.5-6) but 1.3-6.9potato1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
You have mail in /var/spool/mail/jeff
diderot:~# 
------------------------------------------------------------------

The irony is that I don't need postgresql for the moment (although
I'll want it later I'm sure), but I can't remove it because I'm told
to do an apt-get -f install first.

Now I'm in an odd state, as I can't launch new X clients, probably
because of the upgrade of XFree86 from 3.x to 4.1.

------------------------------------------------------------------
jeff@diderot:Mutt $ netscape
/usr/lib/netscape/477/communicator/communicator-smotif.real: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory
jeff@diderot:Mutt $ xterm
xterm: error while loading shared libraries: libXmu.so.6: cannot open shared object file: No such file or directory
jeff@diderot:Mutt $ 
------------------------------------------------------------------


Ay! Help!

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>



______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug