Thursday, August 16, 2012

Where can I get the old repositories puppet 2.6 for Ubuntu 12?

SkyHi @ Thursday, August 16, 2012

Your system is End-of-Line (EOL), therefore not officially supported. Unless you have a good reason for sticking with 9.04, upgrade to a newer version. 10.04 is the next long-term supported release for Ubuntu, which will continue to receive updates.
To access old Ubuntu repositories, take a look at http://old-releases.ubuntu.com/.
There is
They say you should be able to access your packages by putting the following into/etc/apt/sources.listImportant: Change CODENAME to your distribution's code name, e.g.jaunty.
## EOL upgrade sources.list
# Required
deb http://old-releases.ubuntu.com/ubuntu/ CODENAME main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-security main restricted universe multiverse

# Optional
#deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-backports main restricted universe multiverse
Just run apt-get update and you can use them.


[user1@upuppetc01 ~]$ sudo vi /etc/apt/sources.list

#deb http://ca.archive.ubuntu.com/ubuntu/ maverick universe
#deb-src http://ca.archive.ubuntu.com/ubuntu/ maverick universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse


[user1@upuppetc01 ~]$  sudo apt-get update


[user1@upuppetc01 ~]$ apt-cache showpkg puppet
Package: puppet
Versions:
2.7.11-1ubuntu2.1 (/var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-amd64_Packages) (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_main_binary-amd64_Packages)
 Description Language:
                 File: /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages
                  MD5: 1dc71ec043c0ade030b8a9e18410f9ef
 Description Language: en
                 File: /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en
                  MD5: 1dc71ec043c0ade030b8a9e18410f9ef

2.7.11-1ubuntu2 (/var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages)
 Description Language:
                 File: /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages
                  MD5: 1dc71ec043c0ade030b8a9e18410f9ef
 Description Language: en
                 File: /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en
                  MD5: 1dc71ec043c0ade030b8a9e18410f9ef

2.6.1-0ubuntu2.6 (/var/lib/apt/lists/old-releases.ubuntu.com_ubuntu_dists_maverick-updates_main_binary-amd64_Packages) (/var/lib/apt/lists/old-releases.ubuntu.com_ubuntu_dists_maverick-security_main_binary-amd64_Packages)
 Description Language:
                 File: /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages
                  MD5: 1dc71ec043c0ade030b8a9e18410f9ef
 Description Language: en
                 File: /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en
                  MD5: 1dc71ec043c0ade030b8a9e18410f9ef

2.6.1-0ubuntu2 (/var/lib/apt/lists/old-releases.ubuntu.com_ubuntu_dists_maverick_main_binary-amd64_Packages)
 Description Language:
                 File: /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages
                  MD5: 1dc71ec043c0ade030b8a9e18410f9ef
 Description Language: en
                 File: /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en
                  MD5: 1dc71ec043c0ade030b8a9e18410f9ef


Reverse Depends:
  vim-puppet,puppet 2.6.1-0ubuntu2.6
  puppet-testsuite,puppet 2.6.1-0ubuntu2.6
  puppet-el,puppet 2.6.1-0ubuntu2.6
  puppetmaster-common,puppet 0.24.7-1
  puppetmaster,puppet 0.24.7-1
  puppet-common,puppet 2.6.0~rc2-1
  vim-puppet,puppet 2.6.1-0ubuntu2
  puppet-testsuite,puppet 2.6.1-0ubuntu2
  puppet-el,puppet 2.6.1-0ubuntu2
  puppetmaster-common,puppet 0.24.7-1
  puppetmaster,puppet 0.24.7-1
  puppet-common,puppet 2.6.0~rc2-1
  vim-puppet,puppet 0.25.4-1
  puppet-el,puppet 0.25.4-1
  mcollective-plugins-service,puppet
  mcollective-plugins-puppetral,puppet
  mcollective-plugins-puppetd,puppet
  mcollective-plugins-package,puppet
  puppetmaster-common,puppet 0.24.7-1
  puppetmaster,puppet 0.24.7-1
  puppet-common,puppet 2.7.5-3
  vim-puppet,puppet 0.25.4-1
  puppet-el,puppet 0.25.4-1
  mcollective-plugins-service,puppet
  mcollective-plugins-puppetral,puppet
  mcollective-plugins-puppetd,puppet
  mcollective-plugins-package,puppet
  puppetmaster-common,puppet 0.24.7-1
  puppetmaster,puppet 0.24.7-1
  puppet-common,puppet 2.7.5-3
Dependencies:
2.7.11-1ubuntu2.1 - puppet-common (5 2.7.11-1ubuntu2.1) ruby1.8 (0 (null)) dpkg (2 1.15.7.2) puppet-el (0 (null)) vim-puppet (0 (null)) etckeeper (0 (null)) rdoc (0 (null))
2.7.11-1ubuntu2 - puppet-common (5 2.7.11-1ubuntu2) ruby1.8 (0 (null)) dpkg (2 1.15.7.2) puppet-el (0 (null)) vim-puppet (0 (null)) etckeeper (0 (null)) rdoc (0 (null))
2.6.1-0ubuntu2.6 - ruby1.8 (0 (null)) libxmlrpc-ruby (0 (null)) libopenssl-ruby (0 (null)) libshadow-ruby1.8 (0 (null)) adduser (0 (null)) facter (0 (null)) lsb-base (0 (null)) puppet-common (5 2.6.1-0ubuntu2.6) puppet-el (0 (null)) vim-puppet (0 (null)) libselinux-ruby1.8 (0 (null)) etckeeper (0 (null)) rdoc (0 (null)) libaugeas-ruby1.8 (0 (null))
2.6.1-0ubuntu2 - ruby1.8 (0 (null)) libxmlrpc-ruby (0 (null)) libopenssl-ruby (0 (null)) libshadow-ruby1.8 (0 (null)) adduser (0 (null)) facter (0 (null)) lsb-base (0 (null)) puppet-common (5 2.6.1-0ubuntu2) puppet-el (0 (null)) vim-puppet (0 (null)) libselinux-ruby1.8 (0 (null)) etckeeper (0 (null)) rdoc (0 (null)) libaugeas-ruby1.8 (0 (null))
Provides:
2.7.11-1ubuntu2.1 -
2.7.11-1ubuntu2 -
2.6.1-0ubuntu2.6 -
2.6.1-0ubuntu2 -
Reverse Provides:

[ user1@upuppetc01 ~]$ sudo apt-get install puppet=2.6.1-0ubuntu2.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
 puppet : Depends: puppet-common (= 2.6.1-0ubuntu2.6) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

[ user1@upuppetc01 ~]$ sudo apt-get install puppet=2.6.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '2.6.1' for 'puppet' was not found
[root@upuppetc01 ~]# sudo apt-get install puppet=2.6.1-0ubuntu2.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
 puppet : Depends: puppet-common (= 2.6.1-0ubuntu2.6) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
[ user1@upuppetc01 ~]$ sudo apt-get install puppet=2.6.1-0ubuntu2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
 puppet : Depends: puppet-common (= 2.6.1-0ubuntu2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


[user1@upuppetc01 ~]$ sudo apt-get install puppet-common=2.6.1-0ubuntu2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libaugeas-ruby1.8 libaugeas0 augeas-lenses ruby
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  facter libshadow-ruby1.8
Suggested packages:
  ruby-json
The following NEW packages will be installed:
  facter libshadow-ruby1.8 puppet-common
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
Need to get 798 kB of archives.
After this operation, 4,553 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://old-releases.ubuntu.com/ubuntu/ maverick/main puppet-common all 2.6.1-0ubuntu2 [743 kB]
Get:2 http://ca.archive.ubuntu.com/ubuntu/ precise/main facter all 1.6.5-1ubuntu1 [44.9 kB]
Get:3 http://ca.archive.ubuntu.com/ubuntu/ precise/main libshadow-ruby1.8 amd64 1.4.1-8build1 [9,416 B]
Fetched 798 kB in 2s (295 kB/s)
Selecting previously unselected package facter.
(Reading database ... 49894 files and directories currently installed.)
Unpacking facter (from .../facter_1.6.5-1ubuntu1_all.deb) ...
Selecting previously unselected package libshadow-ruby1.8.
Unpacking libshadow-ruby1.8 (from .../libshadow-ruby1.8_1.4.1-8build1_amd64.deb) ...
Unpacking puppet-common (from .../puppet-common_2.6.1-0ubuntu2_all.deb) ...
Processing triggers for man-db ...
Setting up facter (1.6.5-1ubuntu1) ...
Setting up libshadow-ruby1.8 (1.4.1-8build1) ...
Setting up puppet-common (2.6.1-0ubuntu2) ...
[root@upuppetc01 ~]# sudo apt-get install puppet=2.6.1-0ubuntu2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  puppet-el vim-puppet libselinux-ruby1.8 etckeeper
The following NEW packages will be installed:
  puppet
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 210 kB of archives.
After this operation, 373 kB of additional disk space will be used.
Get:1 http://old-releases.ubuntu.com/ubuntu/ maverick/main puppet all 2.6.1-0ubuntu2 [210 kB]
Fetched 210 kB in 1s (133 kB/s)
Selecting previously unselected package puppet.
(Reading database ... 50699 files and directories currently installed.)
Unpacking puppet (from .../puppet_2.6.1-0ubuntu2_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up puppet (2.6.1-0ubuntu2) ...
 * Starting puppet agent

puppet not configured to start, please edit /etc/default/puppet to enable
   ...done.



 245  dpkg --force-depends --purge puppet
  246  dpkg --force-depends --purge facter
  247  dpkg --force-depends --purge libshadow-ruby1.8
  248  dpkg --force-depends --purge ruby1.8



REFERENCES
http://superuser.com/questions/339537/where-can-i-get-theold-repositories-for-ubuntu-9-04-jaunty