I ran apt list --installed
command and got this output:
xterm/xenial,now 322-1ubuntu1 amd64 [installed]
xul-ext-ubufox/xenial,now 3.2-0ubuntu1 all [installed]
xz-utils/xenial,now 5.1.1alpha+20120614-2ubuntu2 amd64 [installed]
yelp/xenial,now 3.18.1-1ubuntu4 amd64 [installed]
yelp-xsl/xenial,now 3.18.1-1 all [installed]
zeitgeist-core/xenial,now 0.9.16-0ubuntu4 amd64 [installed]
zeitgeist-datahub/xenial,now 0.9.16-0ubuntu4 amd64 [installed]
zenity/xenial,now 3.18.1.1-1ubuntu2 amd64 [installed]
zenity-common/xenial,now 3.18.1.1-1ubuntu2 all [installed]
zip/xenial,now 3.0-11 amd64 [installed]
zlib1g/unknown,xenial-updates,now 1:1.2.8.dfsg-2ubuntu4.1 amd64 [installed]
Why unknown
instead of xenial
when updated from local repository?
What is this now
repository?
unknown
The
unknown
part comes from the entry forSuite
key inRelease
file for a debian repository. I think you've generated a local repository without properly setting the required keys for the Release (orInRelease
)file and that's whyapt
showsunknown
.For example, a typical standard Release file may have these entries (taken from Ubuntu's official repository's
InRelease
file)Check this section of debian wiki for more information about Release file format.
And check this slightly old but my favorite guide to create a proper Ubuntu local repository.
now
now
refers to the version of the package currently installed (and thus considered available). The info is maintained in/var/lib/dpkg/status
file. I have these entries inapt list --installed
As you can see
zsync
has anow
entry which means it's installed and available as such. If you see no other entries exceptnow
it would mean you have a package installed which isn't available to reinstall from any known repository.Here is the output of
apt policy zsync
again from the same system.As you can see
/var/lib/dpkg/status
was listed as a repo forzsync
which means it's currently installed.