Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Oct 04, 2006 10:52 am 
Offline
Senior Newbie

Joined: Thu Mar 16, 2006 2:22 pm
Posts: 6
I am running Debian, and get the following message when I do an apt-get upgrade

The following packages have been kept back:
rails

What does this message mean, and how can I upgrade rails?

This is the command I used to install rails. Before doing this I added
testing to my /etc/apt/sources.list using apt-setup.

Code:
apt-get install rails libapache2-mod-fcgid libfcgi-ruby1.8 libmysql-ruby


Top
   
 Post subject: "Kept-back"
PostPosted: Wed Oct 04, 2006 11:11 am 
Offline
Senior Member
User avatar

Joined: Mon Sep 08, 2003 4:49 pm
Posts: 62
Location: Bucharest
It means that the new rails package has different dependencies that the older one which is installed, and that at least one of the dependencies of the new rails package is not installed. Just run "apt-get install rails" and you'll see that in addition to the new rails package, there are other packages which need to be installed.


Top
   
 Post subject:
PostPosted: Wed Oct 04, 2006 12:57 pm 
Offline
Senior Newbie

Joined: Thu Mar 16, 2006 2:22 pm
Posts: 6
OK, I tried running apt-get install rails and got the following message:

The following packages have unmet dependencies:
rails: Depends: rake (> 0.7.0) but 0.5.3-1 is to be installed
E: Broken packages

OK, so I tried to install rake.

Code:
ed@linode:~$ sudo apt-get --simulate install rake
Reading Package Lists... Done
Building Dependency Tree... Done
rake is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.


Here is what I get with showpkg. I'm not sure which rake is installed, or how to specify the correct one.

ed@linode:~$ apt-cache showpkg rake
Package: rake
Versions:
0.7.1-1(/var/lib/apt/lists/ftp.us.debian.org_debian_dists_testing_main_binary-i386_Packages)
0.5.3-1(/var/lib/apt/lists/ftp.us.debian.org_debian_dists_stable_main_binary-i386_Packages)(/var/lib/dpkg/status)

Reverse Depends:
rails,rake
rails,rake 0.7.0
Dependencies:
0.7.1-1 - ruby (4 1.8)
0.5.3-1 - ruby (4 1.8)
Provides:
0.7.1-1 -
0.5.3-1 -
Reverse Provides:


Top
   
 Post subject:
PostPosted: Wed Oct 04, 2006 4:33 pm 
Offline
Senior Member

Joined: Thu Sep 23, 2004 8:35 pm
Posts: 73
Location: The Hague, Netherlands
Quote:
...how to specify the correct one.


This will probably do the job for you:

Code:
sudo apt-get install rake/testing rails


Regards,

Cliff


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group