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

Re: Authentication doesn't work



Dear All,

the problem is solved. In /etc/apt/apt.conf I found this:

APT::Install-Recommends "false";
APT::Get::AllowUnauthenticated "false";
APT::Get::AllowUnauthenticated "true";

AllowUnauthenticated had one "true", one "false"!
I dont know why! I dont remember if I ever edited that apt.conf, I believe 
not. However, after deleting the third argument

APT::Get::AllowUnauthenticated "true";

APT-GET and MUON check the files without complaining they would not be 
authenticated.
Thanks a lot,
marwell


> Dear All,
> 
> using APT-GET or MUON installing packages both are complaining about
> installing unauthenticated packages. As a test here using APT-GET installing
> aften package shows:
> > Checking index: http://archive.ubuntu.com/ubuntu/ quantal/universe amd64
> 
> Packages
> (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_quantal_universe_binary-
> amd64_Packages)(Trusted=1)
> 
> > ...
> > WARNING: The following packages cannot be authenticated!
> > 
> >   aften
> > 
> > Authentication warning overridden.
> 
> (more at the end of this post)
> 
> I first tried  to find a solution on the german ubuntu forum (see in German
> http://forum.ubuntuusers.de/topic/apt-get-warnung-nicht-authentifizierte-
> pakete/ ). I think all signing-key related problems are checked. Any idea,
> why I get this authentication warnings all the time?
> Any help very much appreciated.
> marwell
> 
> $ export LC_ALL=C
> 
> $ apt-get --version
> apt 0.9.7.5ubuntu5.1 for amd64 compiled on Nov 19 2012 20:19:52
> Supported modules:
> *Ver: Standard .deb
> *Pkg:  Debian dpkg interface (Priority 30)
>  Pkg:  Debian APT solver interface (Priority -1000)
>  S.L: 'deb' Standard Debian binary tree
>  S.L: 'deb-src' Standard Debian source tree
>  Idx: Debian Source Index
>  Idx: Debian Package Index
>  Idx: Debian Translation Index
>  Idx: Debian dpkg status file
>  Idx: EDSP scenario file
> 
> $ apt-config dump
> APT "";
> APT::Architecture "amd64";
> APT::Build-Essential "";
> APT::Build-Essential:: "build-essential";
> APT::Install-Recommends "false";
> APT::Install-Suggests "0";
> APT::Authentication "";
> APT::Authentication::TrustCDROM "true";
> APT::NeverAutoRemove "";
> APT::NeverAutoRemove:: "^firmware-linux.*";
> APT::NeverAutoRemove:: "^linux-firmware$";
> APT::NeverAutoRemove:: "^linux-image.*";
> APT::NeverAutoRemove:: "^kfreebsd-image.*";
> APT::NeverAutoRemove:: "^linux-restricted-modules.*";
> APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*";
> APT::NeverAutoRemove:: "^gnumach$";
> APT::NeverAutoRemove:: "^gnumach-image.*";
> APT::Never-MarkAuto-Sections "";
> APT::Never-MarkAuto-Sections:: "metapackages";
> APT::Never-MarkAuto-Sections:: "restricted/metapackages";
> APT::Never-MarkAuto-Sections:: "universe/metapackages";
> APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
> APT::Never-MarkAuto-Sections:: "oldlibs";
> APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
> APT::Never-MarkAuto-Sections:: "universe/oldlibs";
> APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
> APT::Periodic "";
> APT::Periodic::Update-Package-Lists "1";
> APT::Periodic::Download-Upgradeable-Packages "1";
> APT::Periodic::AutocleanInterval "0";
> APT::Periodic::Unattended-Upgrade "1";
> APT::Update "";
> APT::Update::Post-Invoke-Success "";
> APT::Update::Post-Invoke-Success:: "touch /var/lib/apt/periodic/update-
> success-stamp 2>/dev/null || true";
> APT::Update::Post-Invoke-Success:: "[ ! -f /var/run/dbus/system_bus_socket ]
> || /usr/bin/dbus-send --system --dest=org.debian.apt --type=signal
> 
> /org/debian/apt org.debian.apt.CacheChanged || true";
> APT::Archives "";
> APT::Archives::MaxAge "30";
> APT::Archives::MinAge "2";
> APT::Archives::MaxSize "500";
> APT::Changelogs "";
> APT::Changelogs::Server "http://changelogs.ubuntu.com/changelogs";;
> APT::Get "";
> APT::Get::AllowUnauthenticated "true";
> APT::Architectures "";
> APT::Architectures:: "amd64";
> APT::Architectures:: "i386";
> APT::Compressor "";
> APT::Compressor::. "";
> APT::Compressor::.::Name ".";
> APT::Compressor::.::Extension "";
> APT::Compressor::.::Binary "";
> APT::Compressor::.::Cost "1";
> APT::Compressor::gzip "";
> APT::Compressor::gzip::Name "gzip";
> APT::Compressor::gzip::Extension ".gz";
> APT::Compressor::gzip::Binary "gzip";
> APT::Compressor::gzip::Cost "2";
> APT::Compressor::gzip::CompressArg "";
> APT::Compressor::gzip::CompressArg:: "-9n";
> APT::Compressor::gzip::UncompressArg "";
> APT::Compressor::gzip::UncompressArg:: "-d";
> APT::Compressor::bzip2 "";
> APT::Compressor::bzip2::Name "bzip2";
> APT::Compressor::bzip2::Extension ".bz2";
> APT::Compressor::bzip2::Binary "bzip2";
> APT::Compressor::bzip2::Cost "3";
> APT::Compressor::bzip2::CompressArg "";
> APT::Compressor::bzip2::CompressArg:: "-9";
> APT::Compressor::bzip2::UncompressArg "";
> APT::Compressor::bzip2::UncompressArg:: "-d";
> APT::Compressor::xz "";
> APT::Compressor::xz::Name "xz";
> APT::Compressor::xz::Extension ".xz";
> APT::Compressor::xz::Binary "xz";
> APT::Compressor::xz::Cost "4";
> APT::Compressor::xz::CompressArg "";
> APT::Compressor::xz::CompressArg:: "-6";
> APT::Compressor::xz::UncompressArg "";
> APT::Compressor::xz::UncompressArg:: "-d";
> APT::Compressor::lzma "";
> APT::Compressor::lzma::Name "lzma";
> APT::Compressor::lzma::Extension ".lzma";
> APT::Compressor::lzma::Binary "xz";
> APT::Compressor::lzma::Cost "5";
> APT::Compressor::lzma::CompressArg "";
> APT::Compressor::lzma::CompressArg:: "--format=lzma";
> APT::Compressor::lzma::CompressArg:: "-9";
> APT::Compressor::lzma::UncompressArg "";
> APT::Compressor::lzma::UncompressArg:: "--format=lzma";
> APT::Compressor::lzma::UncompressArg:: "-d";
> APT::Compressor::::Name "";
> APT::Compressor::::Extension ".";
> APT::Compressor::::Binary "";
> APT::Compressor::::Cost "100";
> APT::Compressor::::CompressArg "";
> APT::Compressor::::CompressArg:: "-9";
> APT::Compressor::::UncompressArg "";
> APT::Compressor::::UncompressArg:: "-d";
> Dir "/";
> Dir::State "var/lib/apt/";
> Dir::State::lists "lists/";
> Dir::State::cdroms "cdroms.list";
> Dir::State::mirrors "mirrors/";
> Dir::State::extended_states "extended_states";
> Dir::State::status "/var/lib/dpkg/status";
> Dir::Cache "var/cache/apt/";
> Dir::Cache::archives "archives/";
> Dir::Cache::srcpkgcache "srcpkgcache.bin";
> Dir::Cache::pkgcache "pkgcache.bin";
> Dir::Etc "etc/apt/";
> Dir::Etc::sourcelist "sources.list";
> Dir::Etc::sourceparts "sources.list.d";
> Dir::Etc::vendorlist "vendors.list";
> Dir::Etc::vendorparts "vendors.list.d";
> Dir::Etc::main "apt.conf";
> Dir::Etc::netrc "auth.conf";
> Dir::Etc::parts "apt.conf.d";
> Dir::Etc::preferences "preferences";
> Dir::Etc::preferencesparts "preferences.d";
> Dir::Etc::trusted "trusted.gpg";
> Dir::Etc::trustedparts "trusted.gpg.d";
> Dir::Bin "";
> Dir::Bin::methods "/usr/lib/apt/methods";
> Dir::Bin::solvers "";
> Dir::Bin::solvers:: "/usr/lib/apt/solvers";
> Dir::Bin::dpkg "/usr/bin/dpkg";
> Dir::Bin::bzip2 "/bin/bzip2";
> Dir::Bin::xz "/usr/bin/xz";
> Dir::Media "";
> Dir::Media::MountPath "/media/cdrom";
> Dir::Log "var/log/apt";
> Dir::Log::Terminal "term.log";
> Dir::Log::History "history.log";
> Dir::Ignore-Files-Silently "";
> Dir::Ignore-Files-Silently:: "~$";
> Dir::Ignore-Files-Silently:: "\.disabled$";
> Dir::Ignore-Files-Silently:: "\.bak$";
> Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
> Dir::Ignore-Files-Silently:: "\.save$";
> Dir::Ignore-Files-Silently:: "\.orig$";
> Dir::Ignore-Files-Silently:: "\.distUpgrade$";
> Acquire "";
> Acquire::cdrom "";
> Acquire::cdrom::mount "/media/cdrom";
> Acquire::Languages "";
> Acquire::Languages:: "en";
> Acquire::Languages:: "none";
> Acquire::Languages:: "de";
> Aptitude "";
> Aptitude::Get-Root-Command "sudo:/usr/bin/sudo";
> Aptitude::Keep-Unused-Pattern "^linux-image.*$ |
> ^linux-restricted-modules.*$
> | ^linux-ubuntu-modules.*$";
> 
> Unattended-Upgrade "";
> Unattended-Upgrade::Allowed-Origins "";
> Unattended-Upgrade::Allowed-Origins:: "${distro_id}:${distro_codename}-
> security";
> DPkg "";
> DPkg::Pre-Install-Pkgs "";
> DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
> DPkg::Post-Invoke "";
> DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID |
> egrep -c '(remove|purge)') != 1 ]; then /usr/sbin/localepurge; else exit 0;
> fi";
> DPkg::Post-Invoke:: "if [ -d /var/lib/update-notifier ]; then touch
> /var/lib/update-notifier/dpkg-run-stamp; fi; if [ -e /var/lib/update-
> notifier/updates-available ]; then echo > /var/lib/update-notifier/updates-
> available; fi ";
> CommandLine "";
> CommandLine::AsString "apt-config dump";
> 
> $ sudo apt-get -o Debug::pkgAcquire::Auth=true --assume-no install aften
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following NEW packages will be installed:
>   aften
> 0 upgraded, 1 newly installed, 0 to remove and 18 not upgraded.
> Checking index: http://archive.ubuntu.com/ubuntu/ quantal/universe amd64
> Packages
> (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_quantal_universe_binary-
> amd64_Packages)(Trusted=1)
> Need to get 0 B/182 kB of archives.
> After this operation, 479 kB of additional disk space will be used.
> WARNING: The following packages cannot be authenticated!
>   aften
> Authentication warning overridden.
> Selecting previously unselected package aften.
> (Reading database ... 532311 files and directories currently installed.)
> Unpacking aften (from .../aften_0.0.8+git20100105-0ubuntu2_amd64.deb) ...
> Setting up aften (0.0.8+git20100105-0ubuntu2) ...
> localepurge: Disk space freed in /usr/share/locale: 0 KiB
> localepurge: Disk space freed in /usr/share/man: 0 KiB
> localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
> localepurge: Disk space freed in /usr/share/omf: 0 KiB
> localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB
> 
> Total disk space freed by localepurge: 0 KiB


Reply to: