Hi Dan,

Am 14.02.19 um 17:28 schrieb 積丹尼 Dan Jacobson:
> # apt-show-versions -r -p "^linux-(doc|image)-[0-9]+\."
> Use of uninitialized value in hash element at /usr/bin/apt-show-versions line 
> 578, <FILE> line 26850.
> linux-doc-4.19:all/unstable 4.19.20-1 uptodate
> linux-image-4.19.0-2-686-pae:i386 4.19.16-1 installed: No available version 
> in archive
> linux-image-4.19.0-3-686-pae:i386/unstable 4.19.20-1 uptodate
> 
> This is line 578:
> 
>      $packages->{$package->{$PACKAGE}}{$package->{$ARCH}} = $package;
> 
> Can you please not use an uninitialized value.
> 
> Please?
> 
> Just initialize everything to "" first or something.
> 
> Yes after a few more runs it goes away.
> 

It seams like you have a corrupt /var/lib/dpkg/status file. The above
error can only happen, if you have a section in this file with either no
Package: or no Status: line.

Christoph

-- 
============================================================================
Christoph Martin, Leiter Unix-Systeme
Zentrum für Datenverarbeitung, Uni-Mainz, Germany
 Anselm Franz von Bentzel-Weg 12, 55128 Mainz
 Telefon: +49(6131)3926337
 Instant-Messaging: Jabber/XMPP: mar...@jabber.uni-mainz.de




Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to