In Ubuntu 13.04, cannot install libssl-dev [duplicate]
Solution 1:
Solution is to ensure that the software sources includes updates, like so:
$ sudo vi /etc/apt/sources.list
$ #add the following two lines to sources.list for raring-updates
deb http://ch.archive.ubuntu.com/ubuntu/ raring main restricted
deb-src http://ch.archive.ubuntu.com/ubuntu/ raring main restricted
+deb http://ch.archive.ubuntu.com/ubuntu/ raring-updates main restricted
+deb-src http://ch.archive.ubuntu.com/ubuntu/ raring-updates main restricted
$ sudo apt-get update
$ apt-cache policy libssl-dev
You should see output that includes raring-updates
$ sudo apt-get install libssl-dev
Should work this time!