LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-03-2010, 11:36 AM   #1
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Rep: Reputation: 49
cups update stuck


What i thought was my putty session freezing up may not have been that. I'm trying to update cups, and it just hangs here.

Code:
  Updating       : cups [######################################           ] 1/2
I restarted my putty session, then tried to run a yum-complete-transaction and got the following

Code:
Loaded plugins: rhnplugin
There are 1 outstanding transactions to complete. Finishing the most recent one
The remaining transaction had 3 elements left to run
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package cups.i386 1:1.3.7-18.el5_5.4 set to be erased
--> Processing Dependency: /usr/bin/lp for package: redhat-lsb
--> Processing Dependency: /usr/bin/lpr for package: redhat-lsb
---> Package cups-libs.i386 1:1.3.7-18.el5_5.4 set to be erased
--> Running transaction check
---> Package redhat-lsb.i386 0:3.1-12.3.EL set to be erased
--> Finished Dependency Resolution


Transaction size changed - this means we are not doing the
same transaction as we were before. Aborting.
To remove, use: yum-complete-transaction --cleanup


You could try running: package-cleanup --problems
                       package-cleanup --dupes
                       rpm -Va --nofiles --nodigest
I then did a cleanup and tried to yum install cups, and it is now hanging at the same spot. Any ideas how to fix this or see what's wrong?
 
Old 12-05-2010, 11:47 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Since yum isn't being especially informative, have you tried downloading the packages, then manually install the packages and watch for error messages during installation.
 
Old 12-05-2010, 03:28 PM   #3
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
Haven't tried that because I don't know how to. If someone call tell me how I can try it.
 
Old 12-08-2010, 01:38 PM   #4
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
Can anyone tell me how to do this, or is there a log i can look in to see why its not completing?
 
Old 12-09-2010, 12:01 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
I'd seriously consider

yum remove cups

ie totally remove, then

yum install cups


http://kbase.redhat.com/faq/docs/DOC-2531
 
1 members found this post helpful.
Old 12-09-2010, 08:07 AM   #6
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
Chris, that worked! I'm not sure why cups is even installed on here to be honest, i thought cups was just for printing, and this is a standalone FTP server. Do you think I even need it on there?
 
Old 12-09-2010, 07:17 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
If you're not doing ANY printing on that computer, you don't need cups. It's purely for print ctrl.
Most people do need it, so it's part of the std/default install.
 
  


Reply



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
Update error, probably nothing but stuck! mattjohnstone22 Linux - Newbie 1 03-26-2007 03:45 PM
trying to update kernel before installing fglrx.. stuck jacksmash Linux - Hardware 5 03-03-2007 09:54 AM
Printing job stuck with CUPS 1.3 SVN-r5805 g4j31a5 Linux - Hardware 1 09-14-2006 08:33 PM
SuSE 9.1 Online Update Gets Stuck at 96% soopafresh Linux - Newbie 3 08-09-2004 06:55 PM
GTK Doesn't Update? Stuck on 1.2.7 GT_Onizuka Linux - Software 3 11-22-2003 02:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:29 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
Open Source Consulting | Domain Registration