apt_dpkg.md (241B)
1 # apt / dpkg 2 3 - if error code (1) on `apt-get upgrade` [ref_1](#ref#1) 4 ``` 5 sudo dpkg --configure -a 6 ``` 7 8 - list installed packages 9 ``` 10 dpkg --get-selections 11 ``` 12 13 ## ref 14 - :1: https://itsfoss.com/dpkg-returned-an-error-code-1/