Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
tim@management.db:/etc/apt$ cat preferences 
Explanation: Packages from the Kumina repository get priority over packages from official
Explanation: Debian repositories.
Package: *
Pin: release lenny-kumina
Pin-Priority: 999

Explanation: The default Lenny libvirt packages are broken.
Package: libvirt-bin
Pin: release a=lenny-backports
Pin-Priority: 999

Package: libvirt-doc
Pin: release a=lenny-backports
Pin-Priority: 999

Package: libvirt0
Pin: release a=lenny-backports
Pin-Priority: 999

Package: facter
Pin: release a=lenny-backports
Pin-Priority: 999

Package: virt-manager
Pin: release a=lenny-backports
Pin-Priority: 999

Package: rails
Pin: release a=lenny-backports
Pin-Priority: 999
tim@management.db:/etc/apt$ cat sources.list.d/*
# Local repository, for packages maintained by Kumina.
deb	http://apt-proxy:9999/kumina/	lenny-kumina	main
# Repository for packages which have been backported to lenny.
deb	http://apt-proxy:9999/backports	lenny-backports	main
# The main repository for the installed Debian release: Debian GNU/Linux 5.0.4 (lenny).
deb	http://apt-proxy:9999/debian/	lenny	main
# Security updates for lenny.
deb	http://apt-proxy:9999/security/	lenny/updates	main
# Repository for volatile packages in lenny, such as SpamAssassin and Clamav
deb	http://apt-proxy:9999/debian-volatile/	lenny/volatile	main
tim@management.db:/etc/apt$ cat apt.conf.d/*
APT::Authentication::TrustCDROM "true";
APT
{
  NeverAutoRemove  
  { 
	"^linux-image.*";  
	"^linux-restricted-modules.*";
  };
};
APT::Cache-Limit "33554432";
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
DPkg::Post-Invoke { "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi"; };
APT::Install-Recommends "false";
APT::Install-Suggests "false";
tim@management.db:/etc/apt$ dpkg -l | grep puppet
ii  puppet                                  0.25.4-2                 centralised configuration management for net
ii  puppet-common                           0.25.4-2                 common files for puppet and puppetmaster
ii  puppetmaster                            0.25.4-2                 centralised configuration management control
ii  vim-puppet                              0.25.4-1                 Vim syntax highlighting for puppet manifests
tim@management.db:/etc/apt$ apt-cache policy puppet
puppet:
  Installed: 0.25.4-2
  Candidate: 0.25.4-2
  Version table:
 *** 0.25.4-2 0
        100 /var/lib/dpkg/status
     0.25.1-2~bpo50+1 0
          1 http://apt-proxy lenny-backports/main Packages
     0.24.8-0.rc1.kumina.lenny1 0
        999 http://apt-proxy lenny-kumina/main Packages
     0.24.5-3 0
        500 http://apt-proxy lenny/main Packages
tim@management.db:/etc/apt$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  puppet
The following packages will be REMOVED:
  puppet
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 524kB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 29250 files and directories currently installed.)
Removing puppet ...
Stopping puppet configuration management tool.
Processing triggers for man-db ...
tim@management.db:/etc/apt$ sudo dpkg -i ~/puppet_0.25.4-2_all.deb 
Selecting previously deselected package puppet.
(Reading database ... 29183 files and directories currently installed.)
Unpacking puppet (from .../tim/puppet_0.25.4-2_all.deb) ...
Setting up puppet (0.25.4-2) ...
Starting puppet configuration management tool.
Processing triggers for man-db ...
tim@management.db:/etc/apt$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  puppet
The following packages will be REMOVED:
  puppet
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 524kB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
tim@management.db:/etc/apt$