Connect and share knowledge within a single location that is structured and easy to search. If you have the version number, or the target release, apt-get supports choosing a particular version or target release.
More details can be found on manual page of apt-get. It can also be accessed from terminal by typing man apt-get. If you have upgraded software using ppa you can downgrade it by using ppa-purge. First you have to install ppa-purge using this code:.
Then, you may download the version you would like to install and keep it in a folder, say abc. Open terminal, move to the folder using cd command and install the previous version using dpkg :. Or else, there is a small utility called ppa-purge if you mean to downgrade packages updated via PPAs. This question is old but Google led me here and I didn't find simple solution that does't require manual version passing when downgrading a bunch of packages to an older release.
There's a tool called apt-show-versions that shows versions installed. To install it:. Ubuntu Community Ask! Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. How to downgrade a package via apt-get? Ask Question. Asked 9 years, 8 months ago. Active 8 months ago. It would be a waste of time to run before every apt-get invocation, which was what the question was asking. Many computers used as workstations are not connected to the Internet for all or even most of the time they are running, or are configured not to check for updates automatically.
Many server systems are configured not to do so either and there, software is rarely installed using graphical tools that automatically update first.
Is it because of package dependencies and such, that may come from other sources? I don't like that I query a bunch of different places needlessly every time I want to install something and on that note, I feel like having an auto-update-when-installing-from-source feature would be intuitive.
Community Bot 1. Eliah Kagan Eliah Kagan k 51 51 gold badges silver badges bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.
Linked 2. Related 7. Hot Network Questions. Question feed. Let us look at how dpkg works in Ubuntu, its syntax, and how you can use it to find out where apt-get installs packages. We will understand how one can use dpkg and apt-get to install packages and learn where the packages are installed in the following sections.
By this point, we all know that apt-get can be used to install, remove, and upgrade Linux packages. We also learned that it serves as the front-end for dpkg, the native package management utility for Ubuntu and Debian. But how does it really work? And what happens to the files that are installed by it?
Let us start by installing a test package called ack. For this purpose, we will use apt-get, and later we will trace the files installed by it to their specific locations. The next step is to make sure you have the multiverse repository added.
Without that, you cannot install ack. You are, obviously, free to use any other package of your choice. Note that instead of ack-grep, ack was installed. This is why we will be modifying the next commands we execute.
The installation will be complete within a few seconds. Having done that, we now investigate the package with the help of our package manager, dpkg.
We will find out where the files of the package were installed and how to access them. Recall the general syntax of the dpkg command that we described in the earlier sections.
0コメント