# APT dont work when i reinstall Gameshell system!

**URL:** <https://forum.clockworkpi.com/t/apt-dont-work-when-i-reinstall-gameshell-system/7971>\
**Category:** 中文\
**Tags:** software\
**Created:** [January 20, 2022, 4:59am UTC](https://forum.clockworkpi.com/t/apt-dont-work-when-i-reinstall-gameshell-system/7971 "2022-01-20T04:59:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![frozen5293](https://avatars.discourse-cdn.com/v4/letter/f/5f8ce5/32.png) [@frozen5293](https://forum.clockworkpi.com/u/frozen5293)\
**Post date:** [January 20, 2022, 4:59am UTC](https://forum.clockworkpi.com/t/apt-dont-work-when-i-reinstall-gameshell-system/7971/1 "2022-01-20T04:59:58Z")

</div>

```auto
MD5 hash of .\clockworkos_v0.4.img.bz2:
06a8c5907f1e5b3451118eb86ae0fc92
CertUtil: -hashfile command completed successfully.

```

```
I finished reinstall system and run "sudo apt update"
Shell display this

```

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/e/e8efc05f1ad6823643994571c3173c7afc7be027.png)  
Ok…,then add public key right? I do it.  
 ![image](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/5/5b0eefc5413a47143b6102d402302a8d2c09462c.png)  
but I have not “dirmngr” too , and i download offline package of dirmngr but I cant install so many depends.  
PS: 0.5version system is also tryed.  
I am so sorry for my bad english. (╥\_╥)

---

<div class="post-metadata">

**Author:** ![frozen5293](https://avatars.discourse-cdn.com/v4/letter/f/5f8ce5/32.png) [@frozen5293](https://forum.clockworkpi.com/u/frozen5293)\
**Post date:** [January 20, 2022, 5:03am UTC](https://forum.clockworkpi.com/t/apt-dont-work-when-i-reinstall-gameshell-system/7971/2 "2022-01-20T05:03:36Z")

</div>

中文版:  
重装了gameshell的系统之后,apt就不能用了,提示我没有公钥,  
但是我也不能添加,因为我没有添加公钥的软件,我需要apt装上这个软件(dirmngr ),  
我就下载了离线版,但是依赖太多解决不了,大家有没有什么好的解决办法?  
跪求!!!

---

<div class="post-metadata">

**Author:** ![Petrakis](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/petrakis/32/256_2.png) [@Petrakis](https://forum.clockworkpi.com/u/Petrakis)\
**Post date:** [January 20, 2022, 9:07am UTC](https://forum.clockworkpi.com/t/apt-dont-work-when-i-reinstall-gameshell-system/7971/3 "2022-01-20T09:07:14Z")

</div>

> wget -O - [https://raw.githubusercontent.com/clockworkpi/apt/main/debian/KEY.gpg](https://raw.githubusercontent.com/clockworkpi/apt/main/debian/KEY.gpg) | sudo apt-key add -  
> sudo apt-key del 57B7A98BBEBA8C10CA4458810DD08811478B1249  
> sudo apt update

---

<div class="post-metadata">

**Author:** ![frozen5293](https://avatars.discourse-cdn.com/v4/letter/f/5f8ce5/32.png) [@frozen5293](https://forum.clockworkpi.com/u/frozen5293)\
**Post date:** [January 21, 2022, 3:57am UTC](https://forum.clockworkpi.com/t/apt-dont-work-when-i-reinstall-gameshell-system/7971/4 "2022-01-21T03:57:04Z")

</div>

As you see,it also dont work.

 ![图片](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/2/2e01bee6294e56234f64153d674868d966206aa2.png)

 ![图片](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/e/eeb6394fccdbc63e0772f6149456a168fa97e584.png)

---

<div class="post-metadata">

**Author:** ![frozen5293](https://avatars.discourse-cdn.com/v4/letter/f/5f8ce5/32.png) [@frozen5293](https://forum.clockworkpi.com/u/frozen5293)\
**Post date:** [January 21, 2022, 4:41am UTC](https://forum.clockworkpi.com/t/apt-dont-work-when-i-reinstall-gameshell-system/7971/5 "2022-01-21T04:41:06Z")

</div>

But you remind me, Why not download pub key directly and transmit to Gameshell from another machine.

---

<div class="post-metadata">

**Author:** ![frozen5293](https://avatars.discourse-cdn.com/v4/letter/f/5f8ce5/32.png) [@frozen5293](https://forum.clockworkpi.com/u/frozen5293)\
**Post date:** [January 21, 2022, 4:50am UTC](https://forum.clockworkpi.com/t/apt-dont-work-when-i-reinstall-gameshell-system/7971/6 "2022-01-21T04:50:34Z")

</div>

another machine

```auto
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys <what you have not key >
sudo apt-key export <what you need key> > k1.txt

```

and then you can transmit the TXT FILE to Gameshell  
Gameshell

```auto
sudo apt-key add k1.txt

```

so

```auto
sudo apt update
sudo apt upgrade

```

---

<div class="post-metadata">

**Author:** ![frozen5293](https://avatars.discourse-cdn.com/v4/letter/f/5f8ce5/32.png) [@frozen5293](https://forum.clockworkpi.com/u/frozen5293)\
**Post date:** [January 21, 2022, 4:52am UTC](https://forum.clockworkpi.com/t/apt-dont-work-when-i-reinstall-gameshell-system/7971/7 "2022-01-21T04:52:01Z")

</div>

Thanks for you help 😁

---

<div class="post-metadata">

**Author:** ![ameliataylor](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@ameliataylor](https://forum.clockworkpi.com/u/ameliataylor)\
**Post date:** [April 14, 2025, 6:49am UTC](https://forum.clockworkpi.com/t/apt-dont-work-when-i-reinstall-gameshell-system/7971/8 "2025-04-14T06:49:14Z")

</div>

The apt command not found or apt get not found error usually tells you that your system doesn’t recognize the apt command. This could be related to several reasons. You’re using a non-Debian based distribution that doesn’t support apt. For example, you may be using Fedora or Arch. The apt command was designed as a more user-friendly alternative to apt-get, combining the functionality of multiple package [XXL WINE](https://wines123.blogspot.com/2024/12/xxl-wine.html) management tools for user convenience. However, this does not guarantee the latest version of the Go will be installed. Alternatively, you can download remote files using the wget method, a command line utility.
