Updating novena repo key

From Studio Kousagi Wiki
Jump to: navigation, search

Manually download and install the latest package with the kosagi signing keys:

wget http://repo.novena.io/debian/pool/main/k/kosagi-repo/kosagi-repo_1.2-r1_all.deb
sudo dpkg -i kosagi-repo_1.2-r1_all.deb

Then do a package update. If it all works you'll see this:

bunnie@bunnie-heirloom:~$ sudo apt-get update
Get:1 http://repo.novena.io jessie InRelease [2353 B]
Get:2 http://repo.novena.io jessie InRelease [2353 B]                                                          
Ign http://repo.novena.io jessie InRelease                                                                     
Get:3 http://repo.novena.io jessie/main Sources [7173 B]                                                       
Ign http://ftp.us.debian.org jessie InRelease                                                                  
Get:4 http://repo.novena.io jessie/main armhf Packages [7491 B]                         
Get:26 http://ftp.us.debian.org jessie/main Translation-en [4585 kB]                                           
Get:27 http://ftp.us.debian.org jessie/non-free Translation-en [72.2 kB]                                       
Fetched 19.2 MB in 2min 23s (134 kB/s)                                                                         
Reading package lists... Done
W: GPG error: http://repo.novena.io jessie InRelease: The following signatures were invalid: KEYEXPIRED 1446629246 KEYEXPIRED  1446629246 KEYEXPIRED 1446629246 KEYEXPIRED 1446629246
W: There is no public key available for the following key IDs:
9D6D8F6BC857C906
W: There is no public key available for the following key IDs:
7638D0442B90D010

The above errors are due to both the old and the new repos being included in the v1.2 of the kosagi-repo package. You can safely ignore the keyexpired errors.

Next perform an upgrade (dist-upgrade) and confirm that the package "linux-image-novena" is included in the list of packages to be upgraded, as shown below. This means that the new repo has been validated and is being used. This confirms that the above error is purely related to an out of date repo.

bunnie@bunnie-heirloom:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  libical1
The following NEW packages will be installed:
  gstreamer1.0-libav gstreamer1.0-plugins-good gstreamer1.0-x libical1a
The following packages will be upgraded:
  android-tools-adb android-tools-fastboot android-tools-fsutils apt apt-utils avahi-daemon avahi-dnsconfd
  base-files bind9-host binutils bluez bluez-hcidump bluez-obexd bsd-mailx bsdutils busybox bzip2 clang
  libwind0-heimdal libx264-142 libxaw7 libxdamage1 libxdmcp6 libxfixes3 libxfont1 libxi6 libxml2 libxpm4
  ...
  lightdm lightdm-gtk-greeter linux-firmware-image-novena linux-headers-novena linux-image-novena
  linux-libc-dev llvm-3.5 llvm-3.5-dev llvm-3.5-runtime locales login make man-db mime-support mount
  ...

(The actual list of packages to be upgraded varies depending on what you have installed - obviously :)).