Upgrade CUPS portupgradem

Kaminar Kaminar at seznam.cz
Sat Jul 1 12:45:21 CEST 2006


Ahoj.

Neupgradoval jste nekdo na tu novou verzi CUPS? Zkousel jsem to
na FR6.0 pres "porupgrade -R cups-base-1.1.23.0_9" a nepovedlo se.
Skocilo to - viz dole.
Tipoval bych, ze je to mozna tim, ze nemuze smazat ty /usr/local/share,
protoze je tam uchovana konfigurace tiskarny. Takze by to asi bylo
nejlepsi cele promazat, odinstalovat a pak znova nainstalovat.
Ale nerad bych zkousel nejake pokusy a pak zustal bez funkcni tiskarny.
Tak se ptam, jestli to nekdo uz nezkousel a jak dopadl nebo jestli nekdo
neco nevi, co s tim.

Jinak jeste bych mel podotazecku. Jak to tak vypada, tak nova verze
CUPS ma opet v balicku cups-base zase cups-lpr. Moje predchozi verze
cups-base-1.1.23.0_9 to mela oddlene. Jak si s tim poradi novy balik cups-base?
Nemel by se radeji predtim odinstalovat cups-lpr?

Dik za rady.
Karel


Vypis portupgrade:

pkg_delete: unable to completely remove directory '/usr/local/share/cups/model'
pkg_delete: unable to completely remove directory '/usr/local/share/cups'
pkg_delete: unable to completely remove directory '/usr/local/libexec/cups/filter'
pkg_delete: unable to completely remove directory '/usr/local/libexec/cups'
pkg_delete: unable to completely remove directory '/usr/local/etc/cups/ppd'
pkg_delete: unable to completely remove directory '/usr/local/etc/cups/certs'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
[Updating the pkgdb <format:dbm_hash> in /var/db/pkg ... - 360 packages found (-
1 +0) (...) done]
--->  Installing the new version via the port
===>  Installing for cups-base-1.2.0_2
===>   cups-base-1.2.0_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>   cups-base-1.2.0_2 depends on shared library: jpeg.9 - found
===>   cups-base-1.2.0_2 depends on shared library: png.5 - found
===>   cups-base-1.2.0_2 depends on shared library: tiff.4 - found
===>   cups-base-1.2.0_2 depends on shared library: gnutls-openssl.15 - found
===> Stopping cupsd ...
killall cupsd || true
No matching processes were found
===>   Generating temporary packing list
===>  Checking if print/cups-base already installed
===>   An older version of print/cups-base is already installed (cups-lpr-1.1.23
.0_1)
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of print/cups-base
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/print/cups-base.
*** Error code 1

Stop in /usr/ports/print/cups-base.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade583.1 make
reinstall
egrep: /var/db/pkg/cups-base-1.1.23.0_9/+CONTENTS: No such file or directory
--->  Restoring the old version
===> Stopping cupsd ...
No matching processes were found
mkdir: /usr/local/etc/cups/certs: File exists
mkdir: /usr/local/etc/cups/ppd: File exists
** Fix the installation problem and try again.
[Updating the pkgdb <format:dbm_hash> in /var/db/pkg ... - 361 packages found (-
0 +1) . done]
** Listing the failed packages (*:skipped / !:failed)
        ! print/cups-base (cups-base-1.1.23.0_9)        (install error)
--->  Packages processed: 0 done, 10 ignored, 0 skipped and 1 failed



More information about the Users-l mailing list