rodrigodlima
October 30th, 2017, 06:14 PM
Hi all,
As a security team issue, I need to be able to downgrade packages that have been updated. But I'm having problems with some versions of packages that are no longer in the repositories.
For example, I installed a new server Ubutnu Xenial (16.04 LTS) with a ISO media. The package wget installed was 1.17.1-1ubuntu1.2. Then, I update wget to version 1.17.1-1ubuntu1.3. When I tried to downgrade the wget for version 1.17.1-1ubuntu1.2, this version doesn't exists more.
# apt-cache policy wget
wget:
Installed: 1.17.1-1ubuntu1.2
Candidate: 1.17.1-1ubuntu1.3
Version table:
1.17.1-1ubuntu1.3 500
500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
*** 1.17.1-1ubuntu1.2 100
100 /var/lib/dpkg/status
1.17.1-1ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
# apt-cache policy wget
wget:
Installed: 1.17.1-1ubuntu1.3
Candidate: 1.17.1-1ubuntu1.3
Version table:
*** 1.17.1-1ubuntu1.3 500
500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
100 /var/lib/dpkg/status
1.17.1-1ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
# apt-get install wget=1.17.1-1ubuntu1.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.17.1-1ubuntu1.2' for 'wget' was not found
There is a way to install the last version for this package from some repository?
As a security team issue, I need to be able to downgrade packages that have been updated. But I'm having problems with some versions of packages that are no longer in the repositories.
For example, I installed a new server Ubutnu Xenial (16.04 LTS) with a ISO media. The package wget installed was 1.17.1-1ubuntu1.2. Then, I update wget to version 1.17.1-1ubuntu1.3. When I tried to downgrade the wget for version 1.17.1-1ubuntu1.2, this version doesn't exists more.
# apt-cache policy wget
wget:
Installed: 1.17.1-1ubuntu1.2
Candidate: 1.17.1-1ubuntu1.3
Version table:
1.17.1-1ubuntu1.3 500
500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
*** 1.17.1-1ubuntu1.2 100
100 /var/lib/dpkg/status
1.17.1-1ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
# apt-cache policy wget
wget:
Installed: 1.17.1-1ubuntu1.3
Candidate: 1.17.1-1ubuntu1.3
Version table:
*** 1.17.1-1ubuntu1.3 500
500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
100 /var/lib/dpkg/status
1.17.1-1ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
# apt-get install wget=1.17.1-1ubuntu1.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.17.1-1ubuntu1.2' for 'wget' was not found
There is a way to install the last version for this package from some repository?