Saturday, November 16, 2019

how to find out what versions of a package from a launchpad repository are available with apt-get

If I go to the following web page



https://launchpad.net/ubuntu/+source/gedit/+publishinghistory




there are a number of versions of gedit listed for the distribution "raring" (3.6.0-0ubuntu1, 3.6.1-0ubuntu2, 3.6.1-0ubuntu3, and 3.6.2-0ubuntu1), however, when i issue the command "apt-cache -f showpkg gedit", the only version it lists is "3.6.2-0ubuntu1". The "Synaptic Package Manager" GUI also only lists this version. How do I know what versions are available for download using the syntax explained in the question



How to install specific Ubuntu packages, with exact version?



by looking at the launchpad.net web page listed above?



My ultimate goal is to learn how to specify a specifc version of a package to install from an older release than what I have installed, but I can't even figure out how to install a different package version on the release I am already running.



Note, I am just using gedit as an example here because it is a package that I found to have multiple versions listed on launchpad.net for the release "raring". The package I really want to install is https://launchpad.net/ubuntu/+source/gnome-disk-utility/3.0.2-2ubuntu8/+build/3485589, but it is also of a different release, so I decided to try the simpler gedit case which is of the same release. The latest gnome-disk-utility package has a very dumbed down user interface and many features removed (although some new features have been added). I can manually install the old gnome-disk-utility version by downloading .deb files and installing them by double clicking, but I want to be able to do everything using apt-get.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...