Re: [Printing-user-general] Foomatic-filters-ppds overwrites foomatic-filters!!!
Till Kamppeter <[email protected]> Tue, 18 Jul 2006 10:39:05 +0200
| Newsgroups | gmane.linux.printing.general |
|---|---|
| Message-ID | <[email protected]> |
foomatic-filters and foomatic-filters-ppds are not supposed to be
installed together.
foomatic-filters-ppds contains all PPDs pre-built and the
foomatic-filters. It does not use configure, make, ... it is simply
uncompressed on the target system and ready.
foomatic-filters contains foomatic-rip and foomatic-gswrapper, but here
the two scripts are adapted via configure and make.
If you have CUPS 1.2 you do not need foomatic-filters-ppds if you have
installed the other four packages, as CUPS 1.2 generates the Foomatic
PPDs from the XML database on the fly. You will see the printers listed
in the Foomatic database in the web interface of CUPS without having the
appropriate PPDs in /usr/share/cups/model
Till
Tarsier wrote:
> Hi all
>
> I tried to upgrade foomatic-db, foomatic-db-hpijs,
> foomatic-filters, foomatic-engine and
> foomatic-filters-ppds on Tomahawk Desktop (
> http://www.tomahawkcomputers.com/ ).
>
> I managed to upgrade foomatic-db, foomatic-db-hpijs,
> foomatic-filters and foomatic-engine without an issue
> to the latest.
>
> But when I try to install the latest
> foomatic-filters-ppds, the Tomahawk Desktop complains
> that /usr/bin/foomatic-rip and
> /usr/bin/foomatic-gswrapper are already installed by
> the foomatic-filters package
> (foomatic-filters-3.0-current.tar.gz).
>
> Thanks to the package user based package management
> system used in Tomahawk Desktop, I came to know this.
> In Tomahawk Desktop, people don't use root to install
> packages. If I had used root to install, I would have
> overwritten foomatic-rip, foomatic-gswrapper and their
> man pages with a wrong copy without even aware of
> it!!!
>
> Following diff shows that what is already installed is
> correct and should not be overwritten.
>
> diff foomatic-gswrapper /usr/bin/foomatic-gswrapper
> 15,16c15,16
> < my $prefix = "/usr/local";
> < my $configpath = "${prefix}/etc/foomatic";
> ---
>
>>my $prefix = "/usr";
>>my $configpath = "/etc/foomatic";
>
> 23c23
> < my $execpath =
> "NONE/bin:/usr/local/bin:/usr/bin:/bin";
> ---
>
>>my $execpath =
>
> "/usr/bin:/usr/local/bin:/usr/bin:/bin";
>
>
> Is the foomatic-filters should NOT be installed if you
> install foomatic-filters-ppds or vise versa?
>
> Best Regards
> Tarsier
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>