Re: Upgrade to FC4 from RH9 can no longer print

From: Lenard (Lenard_at_127.0.0.1)
Date: 08/12/05


Date: Fri, 12 Aug 2005 13:56:02 GMT

Dante Bell wrote:

> Hi,
>
> I upgraded my dell inspiron 5100 from RH9 to FC4 and it went OK. Now,
> all
> my printing is totally hosed up. /usr/bin/lp or any /usr/bin/"lp"
> commands are broken links. There are /usr/bin/lp.cups like files that
> are
> OK, but I can't configure a printer, no matter what I do. Going to
> the system menu and clicking on Print Manager, opens up the print
> manager, but
> it doesn't find my old printers. Redhat-config-printers tells me that
> /usr/lib/ghostcript/??? isn't writable, but that directory doesn't
> even
> exist. Re-installed cups and ghostcript packages using yum, but
> nothing
> changed. HELP!!!!!

When you say you upgraded from RHL9 to FC4 was this a clean install or
not? If not, then you may have to do a lot of work to get everything
working (I have also read you other posting about no speakers).

The command redhat-config-printers is from RHL9 in FC4 it is now
system-config-printers, you might want to completely remove
your /etc/cups directory (after making a backup of course) and force
the removal of cups in order to fix this problem;

First get a list of the cups packages installed; rpm -qa 'cups*'

Example output;

$ rpm -qa 'cups*'
cups-1.1.23-16
cups-libs-1.1.23-16
cups-devel-1.1.23-16

Locate the rpm packages from the listed output from the above command
and place a copy of them in one common location. You will use this
location a bit later to re-install cups.

Then force them to be removed (from the example above);
# rpm -e cups cups-libs cups-devel --nodeps

You need the switch '--nodeps' because many other installed packages
have dependencies on the cups packages. While normally it is not a good
idea to force the removal of packages, in this case it is necessary. No
harm will come to your system as they will be re-installed in very
short order.

Then remove (or move) the /etc/cups directory, when done reboot the
system. After rebooting is complete and you are logged back on the
system go to the location where you stored the cups rpm packages and
install them (assuming the cups rpm packages are the only ones in the
location);

# rpm -ivh *.rpm

You should now be able to configure your printer[s] using the command;

system-config-printers

-- 
"They that can give up essential liberty to obtain a little temporary
 safety deserve neither liberty nor safety."     -- B. Franklin, 1759


Relevant Pages

  • Re: Redhat upgrade problem - packages fail rpm -Va
    ... > being owned by multiple packages, ... # rpm -V up2date ... {Only config files in verify error list. ... We can lean something from Microsoft's install process. ...
    (linux.redhat.install)
  • Re: Redhat upgrade problem - packages fail rpm -Va
    ... > being owned by multiple packages, ... # rpm -V up2date ... {Only config files in verify error list. ... We can lean something from Microsoft's install process. ...
    (comp.os.linux.setup)
  • Re: how to add rpm ?
    ... > I have install Fc2 from NFS. ... Get yourself a good installation of "apt for rpm." ... This will upgrade all existing packages on your system. ...
    (Fedora)
  • FW: [SLE] YaST Online Update Problem
    ... >>update one of the rpms manually to see if rpm will give you a better error ... >SuSE to try to apply one of the patches? ... >I've always used YaST for Online Updates and for installing new packages. ... Not only that, but at the end of the install, it ...
    (SuSE)
  • Re: [SLE] Help with using rpm
    ... You could make the changes there and 'customize' the rpm ... spec name. ... A good study is to install the source rpm for a package you ... Edit the spec file's configure command. ...
    (SuSE)