[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Repeatable apt-get WARNING: The following packages cannot be authenticated!



Richard Owlett wrote:
[SNIP]
I will try to give enough detail that someone could duplicate
what I've done.

My environment:
   1. Lenovo R61 ThinkPad with intentionally no network connectivity
   2. 64 GB USB flash drive
   3. Set of physical install DVDs (Debian 6.0.5 was all
      available when I started)
   4. A reasonably typical install of Squeeze using Gnome2 DE

My procedure:
   1. Copy DVD 1 of 8 to beginning of flash drive using dd
   2. Create an ext2 partition on remainder of drive using
      Gparted, labeling it squeeze_dvds
   3. Copy each of the 8 DVDs to that partition using dd
      I now have files dvd1.iso thru dvd8.iso on that partition.
   4. Create mount points with
          mkdir /home/richard/tst/dvd1
                      thru
          mkdir /home/richard/tst/dvd8
    5. Loop mount the files with
mount -t iso9660 -o ro,loop /media/squeeze_dvds/dvd1.iso
/home/richard/tst/dvd1
                      thru
mount -t iso9660 -o ro,loop /media/squeeze_dvds/dvd8.iso
/home/richard/tst/dvd8
    6.  Replace contents of /etc/apt/sources.list with
deb file:/home/richard/tst/dvd1 squeeze contrib main
                      thru
deb file:/home/richard/tst/dvd7 squeeze contrib main
deb file:/home/richard/tst/dvd8 squeeze main
     NOTE - {no "contrib" files exist on last DVD}
    7. In Synaptic type Ctrl+R to reload package information
    8. Install desired additional packages

*UNRESOLVED PROBLEM*
When marking a package as "to install", a warning message is
triggered saying the package cannot be authenticated. I don't
understand. I assumed that by copying with dd all relevant
information would  be available.

Google search not very useful. Lots of hits on the general structure of repositories and creating personally signed private repositories. Only fount one hit relevant to diagnosing error message when repository is apparently fully legitimate clone of official repo.

I found a thread titled "How to use the debian installation iso for installing packages using aptitude". The relevant diagnostic suggestions began near end of https://lists.debian.org/debian-user/2013/08/msg00554.html .

I found no indication that the problem was ever resolved.
Suggestions please.

Below is transcript of following suggestions from that and subsequent posts.
*NOTE* I've inserted blank lines to make it more readable

root@debian:/home/richard# mount -t iso9660 -o ro,loop /media/squeeze_dvds/dvd1.iso /home/richard/tst/dvd1 root@debian:/home/richard# mount -t iso9660 -o ro,loop /media/squeeze_dvds/dvd2.iso /home/richard/tst/dvd2 root@debian:/home/richard# mount -t iso9660 -o ro,loop /media/squeeze_dvds/dvd3.iso /home/richard/tst/dvd3 root@debian:/home/richard# mount -t iso9660 -o ro,loop /media/squeeze_dvds/dvd4.iso /home/richard/tst/dvd4 root@debian:/home/richard# mount -t iso9660 -o ro,loop /media/squeeze_dvds/dvd5.iso /home/richard/tst/dvd5 root@debian:/home/richard# mount -t iso9660 -o ro,loop /media/squeeze_dvds/dvd6.iso /home/richard/tst/dvd6 root@debian:/home/richard# mount -t iso9660 -o ro,loop /media/squeeze_dvds/dvd7.iso /home/richard/tst/dvd7 root@debian:/home/richard# mount -t iso9660 -o ro,loop /media/squeeze_dvds/dvd8.iso /home/richard/tst/dvd8


root@debian:/home/richard# apt-get install pforth
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  pforth
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/81.2 kB of archives.
After this operation, 291 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  pforth
Install these packages without verification [y/N]?
E: Some packages could not be authenticated



root@debian:/home/richard# find /home/richard/tst/dvd1 -name 'debian-archive-keyring_*_all.deb'
/home/richard/tst/dvd1/pool/main/d/debian-archive-keyring/debian-archive-keyring_2010.08.28_all.deb
root@debian:/home/richard# dpkg -i /home/richard/tst/dvd1/pool/main/d/debian-archive-keyring/debian-archive-keyring_2010.08.28_all.deb (Reading database ... 116472 files and directories currently installed.) Preparing to replace debian-archive-keyring 2010.08.28 (using .../debian-archive-keyring_2010.08.28_all.deb) ...
Unpacking replacement debian-archive-keyring ...
Setting up debian-archive-keyring (2010.08.28) ...
gpg: key F42584E6: "Lenny Stable Release Key <debian-release@lists.debian.org>" not changed gpg: key 55BE302B: "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" not changed gpg: key 6D849617: "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" not changed gpg: key B98321F9: "Squeeze Stable Release Key <debian-release@lists.debian.org>" not changed gpg: key 473041FA: "Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>" not changed
gpg: Total number processed: 5
gpg:              unchanged: 5


root@debian:/home/richard# dpkg --status debian-archive-keyring
Package: debian-archive-keyring
Status: install ok installed
Priority: important
Section: misc
Installed-Size: 64
Maintainer: Debian Release Team <packages@release.debian.org>
Architecture: all
Version: 2010.08.28
Depends: gnupg
Description: GnuPG archive keys of the Debian archive
 The Debian project digitally signs its Release files. This package
 contains the archive keys used for that.


root@debian:/home/richard# apt-get install pforth
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  pforth
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/81.2 kB of archives.
After this operation, 291 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  pforth
Install these packages without verification [y/N]?
E: Some packages could not be authenticated


root@debian:/home/richard# apt-key update
gpg: key F42584E6: "Lenny Stable Release Key <debian-release@lists.debian.org>" not changed gpg: key 55BE302B: "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" not changed gpg: key 6D849617: "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" not changed gpg: key B98321F9: "Squeeze Stable Release Key <debian-release@lists.debian.org>" not changed gpg: key 473041FA: "Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>" not changed
gpg: Total number processed: 5
gpg:              unchanged: 5


root@debian:/home/richard# apt-get update
Ign file: squeeze Release.gpg
Ign file:/home/richard/tst/dvd1/ squeeze/contrib Translation-en
Ign file:/home/richard/tst/dvd1/ squeeze/contrib Translation-en_US
Ign file:/home/richard/tst/dvd1/ squeeze/main Translation-en
Ign file:/home/richard/tst/dvd1/ squeeze/main Translation-en_US
Ign file: squeeze Release.gpg
Ign file:/home/richard/tst/dvd2/ squeeze/contrib Translation-en
Ign file:/home/richard/tst/dvd2/ squeeze/contrib Translation-en_US
Ign file:/home/richard/tst/dvd2/ squeeze/main Translation-en
Ign file:/home/richard/tst/dvd2/ squeeze/main Translation-en_US
Ign file: squeeze Release.gpg
Ign file:/home/richard/tst/dvd3/ squeeze/contrib Translation-en
Ign file:/home/richard/tst/dvd3/ squeeze/contrib Translation-en_US
Ign file:/home/richard/tst/dvd3/ squeeze/main Translation-en
Ign file:/home/richard/tst/dvd3/ squeeze/main Translation-en_US
Ign file: squeeze Release.gpg
Ign file:/home/richard/tst/dvd4/ squeeze/contrib Translation-en
Ign file:/home/richard/tst/dvd4/ squeeze/contrib Translation-en_US
Ign file:/home/richard/tst/dvd4/ squeeze/main Translation-en
Ign file:/home/richard/tst/dvd4/ squeeze/main Translation-en_US
Ign file: squeeze Release.gpg
Ign file:/home/richard/tst/dvd5/ squeeze/contrib Translation-en
Ign file:/home/richard/tst/dvd5/ squeeze/contrib Translation-en_US
Ign file:/home/richard/tst/dvd5/ squeeze/main Translation-en
Ign file:/home/richard/tst/dvd5/ squeeze/main Translation-en_US
Ign file: squeeze Release.gpg
Ign file:/home/richard/tst/dvd6/ squeeze/contrib Translation-en
Ign file:/home/richard/tst/dvd6/ squeeze/contrib Translation-en_US
Ign file:/home/richard/tst/dvd6/ squeeze/main Translation-en
Ign file:/home/richard/tst/dvd6/ squeeze/main Translation-en_US
Ign file: squeeze Release.gpg
Ign file:/home/richard/tst/dvd7/ squeeze/contrib Translation-en
Ign file:/home/richard/tst/dvd7/ squeeze/contrib Translation-en_US
Ign file:/home/richard/tst/dvd7/ squeeze/main Translation-en
Ign file:/home/richard/tst/dvd7/ squeeze/main Translation-en_US
Ign file: squeeze Release.gpg
Ign file:/home/richard/tst/dvd8/ squeeze/main Translation-en
Ign file:/home/richard/tst/dvd8/ squeeze/main Translation-en_US
Get:1 file: squeeze Release [4,206 B]
Get:2 file: squeeze Release [3,234 B]
Get:3 file: squeeze Release [3,234 B]
Get:4 file: squeeze Release [3,234 B]
Get:5 file: squeeze Release [3,234 B]
Get:6 file: squeeze Release [3,234 B]
Get:7 file: squeeze Release [3,234 B]
Ign file: squeeze/contrib i386 Packages
Ign file: squeeze/main i386 Packages
Ign file: squeeze/contrib i386 Packages
Ign file: squeeze/main i386 Packages
Ign file: squeeze/contrib i386 Packages
Ign file: squeeze/main i386 Packages
Ign file: squeeze/contrib i386 Packages
Ign file: squeeze/main i386 Packages
Ign file: squeeze/contrib i386 Packages
Ign file: squeeze/main i386 Packages
Ign file: squeeze/contrib i386 Packages
Get:8 file: squeeze Release [2,374 B]
Ign file: squeeze/main i386 Packages
Ign file: squeeze/contrib i386 Packages
Ign file: squeeze/main i386 Packages
Ign file: squeeze/main i386 Packages
Reading package lists... Done


root@debian:/home/richard# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


root@debian:/home/richard# apt-get install pforth
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  pforth
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/81.2 kB of archives.
After this operation, 291 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  pforth
Install these packages without verification [y/N]?
E: Some packages could not be authenticated
root@debian:/home/richard#





Reply to: