Yast2 hangs on "Building database of drivers..."

Hi,

This issue is with Suse Desktop 10 SP2.

I attempted to install printer drivers for a new Canon MP610.
btw Great printer.

It all didn’t go as planned, and ended screwing up the printer database in Cups. I read an article somewhere telling me to reinstall Cups and dependencies all together, which I did. However, the same problem persists.

When in Yast2, clicking on printers, it goes through a series of initialisation and then checks the printer database. It does so for four (4) percent and then hangs for eternity.
This renders me unable to do anything with any printer. Like I said, reinstalling Cups didn’t work, but maybe someone has come across this as well and found a solution.

Is anyone of you able to guide me here?:\

Cheers,
Johan

A bit of a SUSE nubie here, but did you try to find the DB, rename it and then reinstall cups? Maybe it is seeing a DB there and not adding a new one but appending your old one and not fixing the messed up record in the database.

Not sure if it will work, but just a thought.

John

I have contemplated that as well, but don’t know what to look for and where. I suspect that the DB lives somewhere the /etc/ directory, but then again.
Would you perhaps happen to know?

I will do some more research on that tonight.
Thanks for the suggestion.:wink:

iwadmin wrote:

>
> A bit of a SUSE nubie here, but did you try to find the DB, rename it
> and then reinstall cups? Maybe it is seeing a DB there and not adding a
> new one but appending your old one and not fixing the messed up record
> in the database.
>
> Not sure if it will work, but just a thought.
>
> John
>
>
iwadmin;
Most of the CUPS information resides in:
/usr/share/cups
John’s idea looks good, but I’ve never tried it.

However, this is an OpenSuse Forum. SLED/SLES have their own forums at:
http://forums.novell.com/
I’m thinking you might get better information by posting there.

Good luck;

P. V.
Cogito cogito ergo cogito sum.

PV wrote:

<snip>
> iwadmin;
<snip>

This should have been addressed to “hovmannj”. Will both please accept my
apology.


P. V.
Cogito cogito ergo cogito sum.

It’s all good! Thanks for trying to help out.

It would be good if hovmannj could find more info on the DB issue, I agree!

I would not know where to look for the DB specifically, but I would start in the /var/ dir. Sorry I can’t be of more help.

Hey, thanks guys for responding so quickly.
I will take your advice on board and experiment a little tonight.

As soon as I have this fixed (or any other progress made!) I will post this on this forum as well. might come in handy for other people having the same trouble.

Cheers,

Is there a way to open the RPM for cups and take a look at the files? Find the DB name and do a search.

Let us know what you come up with.

John

Hi
YaST shows you a list of the installed files if you select the rpm or
from the cli rpm -ql <name_of_rpm>

To the OP, what happens if you try with the printer disconnected?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 9:49, 2 users, load average: 0.12, 0.12, 0.12
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

That’s cool, I’ll have to remember that!

Thanks Malcolm!

Hi,

You probably thought you wouldn’t hear from me, but there is some development in this issue.


I completely uninstalled Cups and dependencies; removed related files and directory apart from the /etc/cups subdirectory.
Then reinstalled cups using yast.
They initial problem persists (see title).
However, I found a good set of drivers specifically for my Canon Pixma MP610 printer, unpacked them and installed the RPM. configured the printer by using a set of dialogs that came up when I installed the driver.
These dialogs allowed me to see the discovered printer on the USB port and specify printer settings like paper etc.
After that I launched Cups in yast again, which still hangs at the same point.
But I can use the printer in most of the programs (OO, kwrite, konqueror, gedit, evolution), it seems to work well.
Only one package doesn’t print at all, and that is Firefox (v2.xxxxx). This may have something to do with Firefox using lpr to print. Haven’t figured that one out yet, perhaps you guys have some idea about that?

So, yes I can print mostly, but managing cups through yast is still an obscurity in my system.
Suse 10.2 - AMD 2xAthlon-64.

I also posted this on the support forum of Novell, but nobody has reacted.
So, thanks guys so far and if you have a point of view on this situation please post it.

Cheers,
Johan:sarcastic::\