LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-10-2007, 04:41 AM   #1
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Rep: Reputation: 30
Unhappy cups upgrade went pear shaped


Hi again, must stop saying that. Well, I was doing a cups upgrade to help with printer problems. The version I had was 1.1.23-i486-4.
Slackware had a newer version so I opted for an upgrade. The newer version is 1.2.10-i486-1. The install seemed to go ok until I tried to start cups. The diagnostic code that came up was "libgnutils.so.13" Cannot open shared object file - doesn't exist bla,bla,. I know that cups has later upgrades - opted for the slackware one to minimize problems-Ha,Ha.

Why am I getting this error code?
As always, appreciate a little help with this one.

bookie

P.S. I think I'm going senile.

Last edited by bookie; 05-10-2007 at 04:43 AM.
 
Old 05-10-2007, 05:45 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Because you grabbed the binary package out of current? Use
the source package, run the build-script and then it should
be all sweet. In fact, I grabbed the source package for cups
1.2.11 today, replaced the source in the slack-source with
that and edited the build-script to use 1.2.11 instead just
today :} ... all well with the world.


Cheers,
Tink
 
Old 05-10-2007, 07:20 AM   #3
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Smile update success

Thanks Tinkster, you took the words right out of my mouth. I looked at cups and downloaded the 1.2.11. I have always had a bit of a problem when the files don't end in tgz. It is easy with the pkgtool when installing the tgz files - one doesn't have to worry about where they end up.
Well, because it was a source file - and me trying to be a smart arse - I created a file in src
mkdir /usr/src/cups
called it cups for ease of finding the file ok. Moved the file from desktop to cups
mv Desktop/cups-1.2.11-source.tar.gz /usr/src/cups
This went ok I then tared the file
cd /usr/src/cups
/usr/src/cups# tar -xvzf cups-1.2.11-source.tar.gz

This also went ok. I then cd into the cups directory and started the install according to cups install file
cd cups-1.2.11
cups-1.2.11#./configure
This went ok. I then run make and make install all without problems. My cups is working fine - but, sorry, I'm getting to the point. Thought I'd check the package handler to see if it was in the list. No dice. Obviously when we run pkginstall tgz it puts all the files where they should be and one can find them in the package handler.
Can you tell me where I should put the files from start to finish. I accept this is all part of the learning process - it's just that I would like to put all my files, as root, where they should be before going back to user. I haven't been so successful in removing the tar files after installation using the command console? End up sending them to the trash bin as a last result!!

Sorry to be so long winded - just like to do everything right from word go.

Last edited by bookie; 05-10-2007 at 07:21 AM.
 
Old 05-10-2007, 02:29 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
If you just compile CUPS from source you loose the configuration,
the files will end-up in the /usr/local directory.

I (again) recommend using the source package with build-script
from Slackware-current.
Code:
wget -r -np -nH  http://<Your favourite mirror>/linux/slackware/slackware-current/source/a/cups/
Re-pack your 1.2.11 package:
Code:
tar xf cups-1.2.11-source.tar.gz
tar cjf cups-1.2.11-source.tar.bz2 cups-1.2.11
Move the new cups-1.2.11-source.tar.bz2 into the directory
that wget created for you .../source/a/cups/ ... cd there.

Edit cups.Slackbuild, find 1.2.10 and replace it with 1.2.11

su root
sh cups.Slackbuild
installpkg /tmp/cups-1.2.11*tgz



Cheers,
Tink
 
Old 05-12-2007, 02:45 PM   #5
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
update

Thanks Tinkster, been a little busy with re-installing slackware 11. I will use your info a little later. I will post eventually - when everything else is up and running again.

Until then - thanks again.

bookie
 
Old 05-17-2007, 02:35 AM   #6
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Re - cups problems

Hi Tinkster, I must confess that I tried to use your info - using wget - didn't have any luck at all. I tried my mirrors close to me - they couldn't find anything?! I even tried to find slackbuild no dice. I finally went to slackware and took the tgz file from current. I then used the upgradepkg tool and installed the file. After reboot cupsd couldn't start there was a problem with the lidbus-1.so3 no file or directory!! I would really like to understand why the upgradepkg cannot upgrade cups? Sorry to be a pain. I appreciate all you have tried to do for me - just cannot seem to understand what I'm doing wrong.

Would you like to try again? I now have cups 1.2.11 installed. My package manager confirms that. I am certain it is a case, as you say of updating some info - it's just the how is the bit that escapes me.

bookie

Last edited by bookie; 05-17-2007 at 04:22 AM.
 
Old 05-17-2007, 01:27 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Because new dependencies have been introduced in current
that your old install doesn't satisfy. Which is where the
source comes in.
http://slackware.cs.utah.edu/pub/sla...source/a/cups/

Get the stuff (everything but the actual cups-source, cups-1.2.11-source.tar.bz2)
from there. Put it in a directory, edit the build-script (cups.SlackBuild) to
point at your newly created 1.2.12 tar.bz2.



Cheers,
Tink
 
Old 05-18-2007, 02:23 AM   #8
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
update

Thanks Tinkster, sorry to say I so not follow what you are trying to say. What directory do I move these packages to? How do I edit cups slackbuild? Please don't worry - I am not cut out for linux -too much to learn. Going back to windows. Don't like windows, but one doesn't have to spend days, weeks, trying to understand the most basic of commands.

Thanks again.
bookie
 
Old 05-18-2007, 06:28 AM   #9
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Sorry Tinkster

Sorry Tinkster - bit tetchy today. Broke a tooth yesterday - costs a fortune here in Sweden!! Anyway, doing a re-install and will have cups-1.1.23-i486-4 on the computer that I would like to upgrade to the latest or next latest. I have downloaded the source file from slackware-current cups- 1-2-11-source.tar.bz and is now currently on the desktop. I work as root when installing and then return to user afterwards. Ihave spent so much time on this my girlfriend is losing her patience. I have tried everything your have written - even though I don't really understand. I cannot get any where!! If I can't find a straight forward version of installing from scratch or upgrading that I can understand - then I will have to go back to windows. Run build script??? replace the source in slackware source??? Nothing makes any sense. Getting really fedup with re-installing because of lack of knowledge.
If you don't want to help, then I will understand. I only wish I could understand what you have said already?!!

I am a novice and canīt understand all the dialogue. It is why we are called newbies.

bookie
 
Old 05-18-2007, 04:04 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Realistically you can use ANY directory to do this. Commonly I'll
work in /tmp or my users ~/tmp ... as for the editing: the script
is a plain ASCII file, any editor (not word processor) will do.
kate, emacs, nano, vi .... whatever blows your skirt. I'm tempted
to re-build my package and run that all under script so you can
*see* what I did.


Cheers,
Tink


P.S.: You won't learn to swim if you avoid water.
 
Old 05-18-2007, 05:11 PM   #11
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
update

Hi Tinkster, I feel like some one who is about to learn to ride a bike. We all know that it is easy when you know how - it's the learning that doesn't always go according to plan.
It is hard for some one who "can" to imagine the frustration that someone else can feel who "can't". Am I making sense? I am hoping that there will come a time when I can ride my bike and can help others that can't. Some times I can't see the wood for the trees. If you are willing to try something else, then I am very grateful. Let's just say that you have been riding your bike for quite some time and I have a long way to go.

If you wont give up, then how can I?



P.s. Glad to see you have a sense of humor.
Thanks
bookie

Last edited by bookie; 05-18-2007 at 05:14 PM.
 
Old 05-18-2007, 05:36 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by bookie
Hi Tinkster, I feel like some one who is about to learn to ride a bike. We all know that it is easy when you know how - it's the learning that doesn't always go according to plan.
It is hard for some one who "can" to imagine the frustration that someone else can feel who "can't". Am I making sense? I am hoping that there will come a time when I can ride my bike and can help others that can't. Some times I can't see the wood for the trees. If you are willing to try something else, then I am very grateful. Let's just say that you have been riding your bike for quite some time and I have a long way to go.
That's a nice comparison, and even though I've been using
Linux for quite some time now I can still remember my initial
frustration when I moved over from OS/2. :}

Quote:
If you wont give up, then how can I?



P.s. Glad to see you have a sense of humor.
Thanks
bookie
That's the spirit, mate. Hang in there. And if you're happy
to wait until Sunday or Monday I'm happy to do the "script" thing.
I won't be able to do it today, too much other stuff to do.
script (in case you haven't guessed it or looked it up) allows you
to record *ALL* steps that you're taking in a shell.



Cheers,
Tink
 
Old 05-18-2007, 05:40 PM   #13
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Thanks Tinkster

Just post when you have the time. I have other issues to deal with.

bookie

PS
What do you mean you have a lot to do to day? My day is almost over. 22:45 in the evening here in Sweden.

Last edited by bookie; 05-18-2007 at 05:42 PM.
 
Old 05-18-2007, 05:59 PM   #14
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Saturday morning in NZ ;}

Shopping, washing, vacuuming and other cleaning activities, .... I'm
on and off the browser between loads of washing atm :}


Cheers,
Tink
 
Old 05-19-2007, 04:14 AM   #15
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Hi Tinkster

Well, please don't think that I am impatient, but I started the upgrade process by configuring, make, and make installing to see if there was something I missed. I couldn't see any thing, so I un-installed. Obviously some thing went wrong with that because the standard version of cups doesn't want to work now. I will leave it to you have more time - don't relish the idea of re-installing slackware again- Need to learn how to deal with problems at ground level!!

bookie
PS Not much into house work at the mo.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP5 Upgrade Error: Missing Dependency: php = 4.3.x is needed by package php-pear vsystems Linux - Server 1 05-02-2007 08:17 AM
install Pear Net/SMTP, Pear Log and Pear DB modules cccc Debian 0 02-26-2007 09:33 AM
Looking for Shaped Window Tutorial raxxor Programming 1 08-12-2004 10:17 PM
And now it goes pear shaped Jongi Linux - Newbie 1 02-21-2004 08:58 PM
Red Hat installation gone Pear Shaped troopship 7 Linux - General 2 10-10-2003 09:04 AM


All times are GMT -5. The time now is 06:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration