dpkg add i386 broke apt update?

Forum Forums New users New Users and General Questions dpkg add i386 broke apt update?

  • This topic has 1 reply, 1 voice, and was last updated Feb 15-7:12 pm by nbah.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6619
    Member
    nbah

      some reference: https://www.linuxquestions.org/questions/linux-newbie-8/debian-9-stretch-why-‘apt-get-update’-cannot-write-tmp-files-4175619721/

      $ dpkg --print-foreign-archtectures
      i386
      $ dpkg --print-architecture
      amd64 

      I added i386 arch to allow run a ntfs defragmenter bin from a usb multi-boot creation tool. Right after dpkg cmd i ran:

      $ apt-get update
      Get:1 http://security.debian.org stretch/updates InRelease [63.0 kB]        
      Ign:3 http://ftp.br.debian.org/debian stretch InRelease                        
      Hit:4 http://repo.antixlinux.com/stretch stretch InRelease                     
      Get:2 http://ftp.br.debian.org/debian stretch-updates InRelease [91.0 kB]
      Err:4 http://repo.antixlinux.com/stretch stretch InRelease                               
        Couldn't create temporary file /tmp/apt.conf.YftnHJ for passing config to apt-key
      Err:1 http://security.debian.org stretch/updates InRelease                               
        Couldn't create temporary file /tmp/apt.conf.xFcC6L for passing config to apt-key
      Err:2 http://ftp.br.debian.org/debian stretch-updates InRelease
        Couldn't create temporary file /tmp/apt.conf.C7gVOU for passing config to apt-key
      Hit:5 http://ftp.br.debian.org/debian stretch Release
      Err:6 http://ftp.br.debian.org/debian stretch Release.gpg
        Couldn't create temporary file /tmp/apt.conf.J7tJP2 for passing config to apt-key
      Fetched 154 kB in 0s (175 kB/s)
      Reading package lists... Done
      W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.antixlinux.com/stretch stretch InRelease: Couldn't create temporary file /tmp/apt.conf.YftnHJ for passing config to apt-key
      W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org stretch/updates InRelease: Couldn't create temporary file /tmp/apt.conf.xFcC6L for passing config to apt-key
      W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.br.debian.org/debian stretch-updates InRelease: Couldn't create temporary file /tmp/apt.conf.C7gVOU for passing config to apt-key
      W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.br.debian.org/debian stretch Release: Couldn't create temporary file /tmp/apt.conf.J7tJP2 for passing config to apt-key
      W: Failed to fetch http://repo.antixlinux.com/stretch/dists/stretch/InRelease  Couldn't create temporary file /tmp/apt.conf.YftnHJ for passing config to apt-key
      W: Failed to fetch http://ftp.br.debian.org/debian/dists/stretch-updates/InRelease  Couldn't create temporary file /tmp/apt.conf.C7gVOU for passing config to apt-key
      W: Failed to fetch http://security.debian.org/dists/stretch/updates/InRelease  Couldn't create temporary file /tmp/apt.conf.xFcC6L for passing config to apt-key
      W: Failed to fetch http://ftp.br.debian.org/debian/dists/stretch/Release.gpg  Couldn't create temporary file /tmp/apt.conf.J7tJP2 for passing config to apt-key
      W: Some index files failed to download. They have been ignored, or old ones used instead. 

      This is so unfortunate! Where I could report a bug about this? Please suggestions at your will, let’s bring this down! *sigh*

      #6624
      Member
      nbah
        Helpful
        Up
        0
        ::

        i was so upset, got blinded.
        here is the solution

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.