Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28827 - Corrupted hpijs.xml file after an update of foomatic db
Summary: Corrupted hpijs.xml file after an update of foomatic db
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-15 14:51 UTC by Fabio Frumento
Modified: 2003-09-26 12:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Frumento 2003-09-15 14:51:05 UTC
After latest emerge of footmatic db the
/usr/share/foomatic/db/source/driver/hpijs.xml,
/usr/share/foomatic/db/source/opt/hpijs-* are broken...

'HP970C' should be replaced with '186729' in the files to use the driver.

the http://www.gentoo.org/doc/en/printing-howto.xml how-to state

# grep $printer_model /usr/share/foomatic/db/source/printer/* 
# grep $printer_ID /usr/share/foomatic/db/source/driver/* 
# foomatic-configure -s cups -p $printer_model_number -c $print_device_path -n
queue name -d driver 

using 970C as $printer_model the 'model' file should be 186729.xml but if using
it to find a driver

# grep 186729 /usr/share/foomatic/db/source/driver/* 

it produce the output:

/usr/share/foomatic/db/source/driver/cdj550.xml:   <id>printer/186729</id><!--
HP DeskJet 970C -->
/usr/share/foomatic/db/source/driver/cdj970.xml:   <id>printer/186729</id><!--
HP DeskJet 970C -->
/usr/share/foomatic/db/source/driver/pcl3.xml:   <id>printer/186729</id><!-- HP
DeskJet 970C -->

As you can see non hpijs driver is shown...  but 970C (and 970C?? models) are
well supported...

the foomatic was merged at end of august 2003 but i've not used the printer for
some time so i've found this bug only now.

greetings
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-09-16 04:10:57 UTC
it seems that you are using an old version of hpijs, please provide the versions of "cups, foomatic 
and hpijs" 
Comment 2 Fabio Frumento 2003-09-16 13:50:50 UTC
Ok the packages are:

net-print/cups-1.1.19-r1
net-print/foomatic-db-engine-3.0.0
net-print/foomatic-2.0.0
net-print/foomatic-filters-3.0.0
net-print/hpijs-1.4.1

I can't figure out how they could be obsolete... i've always used "emerge -sync" o update the portage tree and "emerge -u world" to install new packages...

thanks for the help
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2003-09-16 14:16:22 UTC
at least foomatic is outdated, it should be version 3.0.0, please upgrade 
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2003-09-16 14:16:33 UTC
and then remerge hpijs 
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2003-09-25 06:45:04 UTC
any news?
Comment 6 Fabio Frumento 2003-09-25 08:07:28 UTC
Ok I'm back, i was out for job...

I've updated foomatic to version 3.0 an now all is working fine...

still i can't figure out how the foomatic db could have been outdated, i
always use

emerge rsync 
emerge -up world
emerge -u world 

from now on i'll use 

emerge -up --deep world , to be sure to have a complete view of updates.

thanks to all for the help, and sorry for boring
Comment 7 Fabio Frumento 2003-09-25 08:08:41 UTC
Ok I'm back, i was out for job...

I've updated foomatic to version 3.0 an now all is working fine...

still i can't figure out how the foomatic db could have been outdated, i
always use

emerge rsync 
emerge -up world
emerge -u world 

from now on i'll use 

emerge -up --deep world , to be sure to have a complete view of updates.

thanks to all for the help, and sorry for boring

Comment 8 Heinrich Wendel (RETIRED) gentoo-dev 2003-09-26 12:02:53 UTC
...