[X2Go-User] How to configure 'unattened-upgrades' on debian squeeze to upgrade x2go packages?
Holger Krause
Holger.Krause at med.uni-duesseldorf.de
Thu Apr 4 17:04:00 CEST 2013
Dear all,
I'd like to have all installed packages on my debian squeeze systems upgraded
automatically whenever newer versions are available. For this, I utilize apt's
'unattended-upgrade' functionality and the corresponding package 'unattended-
upgrades' (http://packages.debian.org/squeeze/unattended-upgrades). For most
included apt sources this works flawlessly. However, I didn't manage yet to
have 'unattended-upgrades' also pick up changes of X2Go packages. In the
configuration file for 'unattended-upgrades'
('/etc/apt/apt.conf.d/50unattended-upgrades') one has to identify 'Allowed-
Origins' by an (origin, archive) duple (according to the comment):
----- /etc/apt/apt.conf.d/50unattended-upgrades -----
// Automatically upgrade packages from these (origin, archive) pairs
Unattended-Upgrade::Allowed-Origins {
"${distro_id} stable";
"${distro_id} ${distro_codename}-security";
"X2Go stable";
};
[...]
----- /etc/apt/apt.conf.d/50unattended-upgrades -----
For other sources I use field 'Origin:' from the Release file as 'origin', and
filed 'Suite:' as 'archive'. Unfortunately, the X2Go Release file
<http://packages.x2go.org/debian/dists/squeeze/InRelease> does not have a
'Suite:' field. I tried 'stable' (as shown above), 'squeeze' and
'${distro_codename}', but none matches.
In <http://wiki.debian.org/RepositoryFormat#A.22Release.22_files> I found this
remark: "These fields are optional. They may be displayed to the user by
package management tool or used for pinning. It is suggested that any
repository published for other users to use fills meaningful information in
these fields so that the user can tell apart different repositories.
Description
Origin
Label
Version
Suite
Codename"
Would it be possible to add the 'Suite:' field to X2Go's Release files? Or
does anyone know how to make 'unattended-upgrades' taking X2Go into account?
Thanks for any response in advance,
Holger
More information about the x2go-user
mailing list