<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Unity on wkqcosoft's Blog</title><link>https://wkqco33.github.io/wkqcosoft-docs/categories/unity/</link><description>Recent content in Unity on wkqcosoft's Blog</description><generator>Hugo</generator><language>ko-kr</language><copyright>Copyright @2024. wkqcosoft. All rights reserved.</copyright><lastBuildDate>Thu, 01 Feb 2024 04:32:34 +0000</lastBuildDate><atom:link href="https://wkqco33.github.io/wkqcosoft-docs/categories/unity/index.xml" rel="self" type="application/rss+xml"/><item><title>Unityhub Ubuntu legacy gpg key issue</title><link>https://wkqco33.github.io/wkqcosoft-docs/posts/unityhub/</link><pubDate>Thu, 01 Feb 2024 04:32:34 +0000</pubDate><guid>https://wkqco33.github.io/wkqcosoft-docs/posts/unityhub/</guid><description>&lt;h2 id="unity-hub-legacy-gpg-keyring-이슈-해결-방법">Unity Hub legacy gpg keyring 이슈 해결 방법&lt;/h2>
&lt;p>Ubuntu 에서 유니티 설치 후 apt 패키지 업데이트 시 아래와 같은 경고 메시지 발생&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>apt update
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>...
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>W: https://hub.unity3d.com/linux/repos/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring &lt;span style="color:#f92672">(&lt;/span>/etc/apt/trusted.gpg&lt;span style="color:#f92672">)&lt;/span>, see the DEPRECATION section in apt-key&lt;span style="color:#f92672">(&lt;/span>8&lt;span style="color:#f92672">)&lt;/span> &lt;span style="color:#66d9ef">for&lt;/span> details.
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>...
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="키-경고-해결-방법">키 경고 해결 방법&lt;/h3>
&lt;p>매번 apt 업데이트 시 매우 거슬리기 때문에 아래 방법으로 Key 업데이트&lt;/p>
&lt;ul>
&lt;li>&lt;code>wget -o-&lt;/code> 의 &lt;code>-o&lt;/code>(소문자)는 로그 파일을 지정하는 옵션이라 다운로드 내용이 아닌 로그가 stdout으로 출력됨. 공개키 내용을 stdout으로 받으려면 &lt;code>-O-&lt;/code>(대문자 O)를 사용해야 함&lt;/li>
&lt;li>이를 &lt;code>gpg --dearmor&lt;/code>로 바로 바이너리 키링으로 변환하면 별도의 keyring import/export 과정 없이 한 번에 처리 가능&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 공개키를 다운로드하여 바로 바이너리 keyring 형식으로 변환&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>wget -qO- https://hub.unity3d.com/linux/keys/public | gpg --dearmor &amp;gt; unity-archive-keyring.gpg
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>sudo mv unity-archive-keyring.gpg /etc/apt/trusted.gpg.d/
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>이후 실행 시 경고 메시지가 표시되지 않음&lt;/p></description></item></channel></rss>