Hi All,
Heads up it seems with the recent perl update when you do an apt-get update you will get this error at the end of the output.
keys on reference is experimental at /usr/bin/apt-show-versions line 264.
keys on reference is experimental at /usr/bin/apt-show-versions line 359.
The relevant bug report
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758287 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758287)
its save to ignore, but apparently it may cause aptitude to appear to be be hung.
I just du which included new libperl5.20 with no such error. I du with apt-get, the bug report only mentions the problem is specifically with aptitude.
I do get this message with apt-show-versions
apt-show-versions > /dev/null
keys on reference is experimental at /usr/bin/apt-show-versions line 264.
keys on reference is experimental at /usr/bin/apt-show-versions line 359.
I only use apt-get and have just got the error
Apologies, I du last night and didn't notice the error and upgrade completed successfully. I just ran apt-get update and do have that message.
You could patch apt-show-versions with this diff, then the message is gone.
--- apt-show-versions.orig 2014-08-18 14:38:10.791635143 +0200
+++ apt-show-versions 2014-08-18 14:36:10.753920168 +0200
@@ -261,7 +261,7 @@
or $cache_file_corrupt) {
my ($href, $release) = &parse_file ($_);
foreach my $pkg (keys %$href) {
- foreach my $arch (keys $href->{$pkg}) {
+ foreach my $arch (keys %{ $href->{$pkg} }) {
$apackages->{$pkg}{$arch}{$release} = $href->{$pkg}{$arch};
}
}
@@ -356,7 +356,7 @@
printf("%s not installed (not available)\n", $pkgname);
}
} else {
- foreach my $arch ($archname or sort keys $pkgs->{$pkgname}) {
+ foreach my $arch ($archname or sort keys % {$pkgs->{$pkgname}}) {
print_package_internal($pkgname, $arch);
}
}
For a "noobie" like me a tutorial on applying patches from diff. If there's some guide easier than this, I'll really appreciate!
http://jungels.net/articles/diff-patch-ten-minutes.html (http://jungels.net/articles/diff-patch-ten-minutes.html)
Save the patch from the post into a text file in your home directory and name it apt-show-patch
# cd /usr/bin
# patch apt-show-versions < ~/apt-show-patch
The updated apt-show-versions was pushed out last week. You shouldn't have to patch it.
Quote from: terroreek on 2014/09/02, 18:10:41
The updated apt-show-versions was pushed out last week. You shouldn't have to patch it.
Thanks. I can't du yet. I'm waiting for kmail2 to get caught up.