apt
[dpkg](https://texonom.com/dpkg-c6870baae78e4986b3b2570047e37c67) 


### Default
```typesudo apt updatesudo apt upgradesudo apt autoremove```
```typesudo nano /etc/apt/source.list```

```typesudo apt dist-upgradereboot```

### install lasteset kernal package
```typesudo apt install linux-headers-$(uname -r)```
## duplicated package error
```typewget https://github.com/davidfoerster/aptsources-cleanup/releases/download/v0.1.7.2/aptsources-cleanup.pyz -P /tmpsudo apt install python3-aptsudo python3 -OEs /tmp/aptsources-cleanup.pyz```

[apt initramfs-tools error](https://texonom.com/apt-initramfs-tools-error-8e0e6b977f574132a86645ebeac57437)



> [How can I fix apt error "W: Target Packages ... is configured multiple times"?](https://askubuntu.com/questions/760896/how-can-i-fix-apt-error-w-target-packages-is-configured-multiple-times)

> [davidfoerster/aptsources-cleanup](https://github.com/davidfoerster/aptsources-cleanup/releases/tag/v0.1.7.2)

### public key error
> [apt-get update에서 발생하는 GPG public key 오류 해결 방법.](https://dreamlog.tistory.com/76)






