[KLUG Members] -U flag was lpr and cups wrapper install problem

Peter Bart peter at petertheplumber.net
Fri Aug 4 10:36:26 EDT 2006



Nikolas Reist wrote:
> :: Forgive top reply I use yahoo ::
> 
> MOST of the printer config with cups is automated through yast.  If you 
> type:
> 
> man rpm
> 
> in the console it will tell you commonly used flags for it and a basic 
> description of their meaning.  -i means Install package and -U means 
> Upgrade an exisiting package (from my former and personal experiences 
> anyway).  Like the how-to for installing the older Radeon drivers would 
> tell you to use rpm -Uvh because they assumed that all the tech heads 
> were using an existing driver and that they couldn't possibly be using a 
> brand new computer they just dumped the Window$ o/s on.  I always, no 
> matter what start with rpm -ivh (install, verify, hash progress '#') and 
> for the most part it will tell me if there is an existing package 
> already.  I don't know how old your printer is, but if the drivers are 
> much older than SuSE 10, I would suggest using the --nodeps flag at the 
> end since cups and lpd are installed from setup (since yast modules 
> depend on it, Novell wants them installed for stability).  If you have 
> any other questions let me know. 
> 
> ----- Original Message ----
> From: Peter Bart <peter at petertheplumber.net>
> To: The main KLUG mailing list. <members at kalamazoolinux.org>
> Sent: Thursday, August 3, 2006 2:20:40 PM
> Subject: Re: [KLUG Members] -U flag was lpr and cups wrapper install problem
> 
> 
> 
> Nikolas Reist wrote:
>  > I know with my Dell 720 I had to download the lexmark drivers and force
>  > them to install because even though it fit the requirements, SuSE had it
>  > set up weird.  Try with rpm -ivh file.rpm --nodeps.  I know if you use
>  > the -U flag and don't have it installed already that can cause issue.
>  >
>  > ----- Original Message ----
>  > From: Peter Bart <peter at petertheplumber.net>
>  > To: members at kalamazoolinux.org
>  > Sent: Thursday, August 3, 2006 10:27:08 AM
>  > Subject: [KLUG Members] lpr and cups wrapper install problem
>  >
>  > Hello All,
>  >     I have a Brother DCP7020 printer/scanner that I am trying to
>  > install the lpr driver and the cups wrapper on my SUSE 10.0
>  > distribution installed on and IBM T30. I've downloaded the rpm's
>  > and tried to install them with YAST. YAST told me the
>  > installation source was not refreshed. I was told by Novell they
>  > didn't know how to solve that. STFW revealed lots of similar
>  > problems. I did go to the YAST control center, installation
>  > source and found the directory's listed but was unable to refresh
>  > any except the SUSE Linux entry with the url of cd:///. Okay, I
>  > can go to software management from the YAST control center, click
>  > the filter to package groups and then scroll all the way down
>  > where i find an entry called utilities with both the lpr and cups
>  > wrapper listed with the lpr package with a padlock icon. So the
>  > lpr is installed?? However when I try to install the cups wrapper
>  > YAST tells me i have a dependency conflict, that
>  > cupswrapperDCP7020 requires lpr. Okay, so I'll venture into the
>  > land of command line, start a root terminal, change to the proper
>  > directory and install lpr. Then I try for the cups wrapper and
>  > this is what I get:
>  >
>  >
>  >  > linux:/home/peter/downloads # rpm -Uvh brdcp7020lpr-1.1.2-4.i386.rpm
>  >  >
>  > Preparing...                ###########################################
>  > [100%]
>  >  >    1:brdcp7020lpr          
>  > ########################################### [100%]
>  >  > linux:/home/peter/downloads # rpm -Uvh
>  > cupswrapperdcp7020-1.0.1-2.i386.rpm
>  >  > error: open of cupswrapperdcp7020-1.0.1-2.i386.rpm failed: No such
>  > file or directory
>  >  > linux:/home/peter/downloads # rpm -Uvh
>  > cupswrapperDCP7020-1.0.1-2.i386.rpm
>  >  > error: Failed dependencies:
>  >  >         lpr is needed by cupswrapperDCP7020-1.0.1-2
>  >
>  >     I then installed the scanner driver successfully, this is what i
>  > saw:
>  >
>  >  > linux:/home/peter/downloads # rpm -Uvh brscan-0.2.1-0.i386.rpm
>  >  >
>  > Preparing...                ###########################################
>  > [100%]
>  >  >         package brscan-0.2.1-0 is already installed
>  >
>  >     From past recent experience I know it's something that I'm
>  > doing/not doing that will be painfully obvious to even me
>  > probably as soon as tomorrow.
>  > <sigh>
>  > begin:vcard
>  > fn:Peter Bart
>  > n:Bart;Peter
>  > adr:;;;Livonia;MI;;USA
>  > email;internet:peter at petertheplumber.net
>  > title:Plumber/Backflow Device Tester
>  > tel;work:1.313.215.5175
>  > tel;fax:1.248.474.8769
>  > note;quoted-printable:Licensed Plumber=0D=0A=
>  >     State of Michigan Certified Backflow Device Tester
>  > x-mozilla-html:FALSE
>  > url:http://petertheplumber.net <http://petertheplumber.net/>
>  > version:2.1
>  > end:vcard
>  > _______________________________________________
>  > Members mailing list
>  > Members at kalamazoolinux.org
>  > 
>  >
>  >
>  > ------------------------------------------------------------------------
>  >
>  > _______________________________________________
>  > Members mailing list
> 
>     Okay, now I need to know if the -U flag will cause me problems.
> One of my printed references suggests that I use that flag at all
> times if I'm not sure. Am I missing something? SUSE does have it
> set up different, I had to stand on my head and mumble the
> password backwards to access the CUPS configuration.
> Peter
> begin:vcard
> fn:Peter Bart
> n:Bart;Peter
> adr:;;;Livonia;MI;;USA
> email;internet:peter at petertheplumber.net
> title:Plumber/Backflow Device Tester
> tel;work:1.313.215.5175
> tel;fax:1.248.474.8769
> note;quoted-printable:Licensed Plumber=0D=0A=
>     State of Michigan Certified Backflow Device Tester
> x-mozilla-html:FALSE
> url:http://petertheplumber.net
> version:2.1
> end:vcard
> 
> _______________________________________________
> Members mailing list
> Members at kalamazoolinux.org
> 

Nikolas,
	Yes most of the printer config is automated but because I have a 
printer that is not supported out of the box and I had trouble 
with YAST not refreshing/not recognizing required drivers 
allready installed I chose to do it from the root shell. It seems 
I will need to know how to do things from a shell anyway so a 
refresher on shells and an introduction by fire to *nix commands 
was in order. I will have to be more careful in the future about 
the -U and -i flags. I used that partly because YAST told me that 
lpd was installed yet issued me a dependency conflict when I 
tried to install cups. I did use the --nodeps flag. I followed 
brothers instructions to the tee after Eric pointed me in the 
right direction. It's interesting you say that about cups and 
lpd, because neither was installed, which is academic now. I 
think part of my problem was the printer going to sleep as I 
slowly slogged through the installation.
	Thanks for your help.
Peter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: peter.vcf
Type: text/x-vcard
Size: 360 bytes
Desc: not available
Url : http://www.kalamazoolinux.org/pipermail/members/attachments/20060804/5bcd2bda/peter.vcf


More information about the Members mailing list