LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 12:36 PM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Rep: Reputation: 46
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, 12:47 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
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, 04:28 PM   #3
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
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, 02:38 PM   #4
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
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, 01:01 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
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, 09:07 AM   #6
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
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, 08:17 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
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


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


All times are GMT -5. The time now is 04:56 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