Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Same question as how-to-downgrade-a-package-via-apt-get, except what if it's on a newly deployed server and the archived .deb is not there?

For example, tells me the previous version is 1.13.4-1ubuntu2, and I have 1.13.4-2ubuntu installed:

$ dpkg -l | grep wget
ii  wget                            1.13.4-2ubuntu1            retrieves files from the web

When I try to force the version:

vagrant@es2:~$ sudo apt-get install wget=1.13.4-1ubuntu2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Version '1.13.4-1ubuntu2' for 'wget' was not found

Is there a way to "ask" apt-get update to fetch information/URLs/etc. about older versions?

Is the solution to run my own apt repository with the versions I want?

share|improve this question
up vote 2 down vote accepted


           => `wget_1.13.4-1ubuntu2_i386.deb'
Connecting to||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 282,988 (276K) [application/x-debian-package]

100%[====================================================>] 282,988      445.03K/s

08:29:46 (443.76 KB/s) - `wget_1.13.4-1ubuntu2_i386.deb' saved [282988/282988]

As long as you have an internet connection you can wget all the debs you want. After this you can try to install it with USC (might not work due to dependencies) or with dpkg but you might need to wget the dependencies 1st too.

In this case wget ...

Package relationships. Depends on

dpkg (>= 1.15.4)
libc6 (>= 2.11)
libidn11 (>= 1.13)
libssl1.0.0 (>= 1.0.0)

Package relationships. Conflicts


By the way: I searched for wget 1.13.4-1ubuntu2 and use the link on this page to locally download the file named wget_1.13.4-1ubuntu2_i386.deb (276.4 KiB).

In theory you can create the download from memory for other files.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.