The following packages have been kept back:
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.
apt-get install rails libapache2-mod-fcgid libfcgi-ruby1.8 libmysql-ruby
3 Replies
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.
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.orgdebiandiststestingmainbinary-i386Packages)
0.5.3-1(/var/lib/apt/lists/ftp.us.debian.orgdebiandistsstablemainbinary-i386Packages)(/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:
> …how to specify the correct one.
This will probably do the job for you:
sudo apt-get install rake/testing rails
Regards,
Cliff