Problem while updating

Hello,

I’d like some help, I cannot update my OSMC, everytime I get this error :
“An error occured while installing the following package : (unknown package)”.

So I enabled the debug mode, did the update again, and send the logfile here : https://paste.ubuntu.com/23684487/
But it seems that the logfile only contains informations about the startup…
Thank you for your help :slight_smile:

Malone

https://osmc.tv/wiki/general/how-to-submit-a-useful-support-request/

We need the output of grab-logs -A please.

Oops, I’m sorry…
Here is the log : http://paste.osmc.io/erogulexaz
Hope it will help.

Thank you :slight_smile:

As you have been consistently using apt-get upgrade to in an attempt to keep your system upgraded, you’ve likely earned a re-install. We have only ever advised to use apt-get dist-upgrade for command line system maintenance.

https://osmc.tv/wiki/general/keeping-your-osmc-system-up-to-date/

Also, are you portforwarding 22 your ssh to the world?

Dec 25 23:06:18 Malone-RPI sshd[2017]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:06:21 Malone-RPI sshd[2019]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:06:22 Malone-RPI sshd[2021]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:06:24 Malone-RPI sshd[2019]: Failed password for root from 112.85.42.46 port 3969 ssh2
Dec 25 23:06:24 Malone-RPI sshd[2023]: Received disconnect from 221.194.44.195: 11:  [preauth]
Dec 25 23:06:26 Malone-RPI sshd[2019]: Failed password for root from 112.85.42.46 port 3969 ssh2
Dec 25 23:06:29 Malone-RPI sshd[2019]: Failed password for root from 112.85.42.46 port 3969 ssh2
Dec 25 23:06:32 Malone-RPI sshd[2019]: Failed password for root from 112.85.42.46 port 3969 ssh2
Dec 25 23:06:35 Malone-RPI sshd[2019]: Failed password for root from 112.85.42.46 port 3969 ssh2
Dec 25 23:06:38 Malone-RPI sshd[2019]: Failed password for root from 112.85.42.46 port 3969 ssh2
Dec 25 23:06:38 Malone-RPI sshd[2019]: Disconnecting: Too many authentication failures for root from 112.85.42.46 port 3969 ssh2 [preauth]
Dec 25 23:06:38 Malone-RPI sshd[2019]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:06:38 Malone-RPI sshd[2019]: PAM service(sshd) ignoring max retries; 6 > 3
Dec 25 23:06:48 Malone-RPI sshd[2025]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:06:49 Malone-RPI sshd[2025]: Failed password for root from 112.85.42.46 port 59485 ssh2
Dec 25 23:06:52 Malone-RPI sshd[2025]: Failed password for root from 112.85.42.46 port 59485 ssh2
Dec 25 23:06:55 Malone-RPI sshd[2025]: Failed password for root from 112.85.42.46 port 59485 ssh2
Dec 25 23:06:57 Malone-RPI sshd[2031]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:06:57 Malone-RPI sshd[2033]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:06:58 Malone-RPI sshd[2025]: Failed password for root from 112.85.42.46 port 59485 ssh2
Dec 25 23:06:59 Malone-RPI sshd[2037]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:07:00 Malone-RPI sshd[2035]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:07:00 Malone-RPI sshd[2025]: Failed password for root from 112.85.42.46 port 59485 ssh2
Dec 25 23:07:01 Malone-RPI sshd[2040]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:07:03 Malone-RPI sshd[2025]: Failed password for root from 112.85.42.46 port 59485 ssh2
Dec 25 23:07:03 Malone-RPI sshd[2025]: Disconnecting: Too many authentication failures for root from 112.85.42.46 port 59485 ssh2 [preauth]
Dec 25 23:07:03 Malone-RPI sshd[2025]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:07:03 Malone-RPI sshd[2025]: PAM service(sshd) ignoring max retries; 6 > 3
Dec 25 23:07:14 Malone-RPI sshd[2042]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:07:16 Malone-RPI sshd[2042]: Failed password for root from 112.85.42.46 port 52650 ssh2
Dec 25 23:07:19 Malone-RPI sshd[2042]: Failed password for root from 112.85.42.46 port 52650 ssh2
Dec 25 23:07:21 Malone-RPI sshd[2042]: Failed password for root from 112.85.42.46 port 52650 ssh2
Dec 25 23:07:24 Malone-RPI sshd[2042]: Failed password for root from 112.85.42.46 port 52650 ssh2
Dec 25 23:07:26 Malone-RPI sshd[2042]: Failed password for root from 112.85.42.46 port 52650 ssh2
Dec 25 23:07:31 Malone-RPI sshd[2042]: Failed password for root from 112.85.42.46 port 52650 ssh2
Dec 25 23:07:31 Malone-RPI sshd[2042]: Disconnecting: Too many authentication failures for root from 112.85.42.46 port 52650 ssh2 [preauth]
Dec 25 23:07:31 Malone-RPI sshd[2042]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:07:31 Malone-RPI sshd[2042]: PAM service(sshd) ignoring max retries; 6 > 3
Dec 25 23:07:41 Malone-RPI sshd[2046]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:07:41 Malone-RPI sshd[2048]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:07:41 Malone-RPI sshd[2050]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:07:43 Malone-RPI sshd[2044]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:07:43 Malone-RPI sshd[2052]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:07:45 Malone-RPI sshd[2055]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:07:45 Malone-RPI sshd[2044]: Failed password for root from 112.85.42.46 port 48611 ssh2
Dec 25 23:07:48 Malone-RPI sshd[2059]: Received disconnect from 121.18.238.114: 11:  [preauth]
Dec 25 23:07:48 Malone-RPI sshd[2044]: Failed password for root from 112.85.42.46 port 48611 ssh2
Dec 25 23:07:51 Malone-RPI sshd[2044]: Failed password for root from 112.85.42.46 port 48611 ssh2
Dec 25 23:07:53 Malone-RPI sshd[2044]: Failed password for root from 112.85.42.46 port 48611 ssh2
Dec 25 23:07:56 Malone-RPI sshd[2044]: Failed password for root from 112.85.42.46 port 48611 ssh2
Dec 25 23:07:59 Malone-RPI sshd[2044]: Failed password for root from 112.85.42.46 port 48611 ssh2
Dec 25 23:07:59 Malone-RPI sshd[2044]: Disconnecting: Too many authentication failures for root from 112.85.42.46 port 48611 ssh2 [preauth]
Dec 25 23:07:59 Malone-RPI sshd[2044]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:07:59 Malone-RPI sshd[2044]: PAM service(sshd) ignoring max retries; 6 > 3
Dec 25 23:08:12 Malone-RPI sshd[2062]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:08:14 Malone-RPI sshd[2062]: Failed password for root from 112.85.42.46 port 42778 ssh2
Dec 25 23:08:17 Malone-RPI sshd[2062]: Failed password for root from 112.85.42.46 port 42778 ssh2
Dec 25 23:08:22 Malone-RPI sshd[2062]: Failed password for root from 112.85.42.46 port 42778 ssh2
Dec 25 23:08:23 Malone-RPI sshd[2064]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:08:24 Malone-RPI sshd[2062]: Failed password for root from 112.85.42.46 port 42778 ssh2
Dec 25 23:08:27 Malone-RPI sshd[2068]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:08:27 Malone-RPI sshd[2062]: Failed password for root from 112.85.42.46 port 42778 ssh2
Dec 25 23:08:27 Malone-RPI sshd[2070]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:08:29 Malone-RPI sshd[2066]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:08:30 Malone-RPI sshd[2062]: Failed password for root from 112.85.42.46 port 42778 ssh2
Dec 25 23:08:30 Malone-RPI sshd[2062]: Disconnecting: Too many authentication failures for root from 112.85.42.46 port 42778 ssh2 [preauth]
Dec 25 23:08:30 Malone-RPI sshd[2062]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:08:30 Malone-RPI sshd[2062]: PAM service(sshd) ignoring max retries; 6 > 3
Dec 25 23:08:34 Malone-RPI sshd[2072]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:08:43 Malone-RPI sshd[2074]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:08:45 Malone-RPI sshd[2074]: Failed password for root from 112.85.42.46 port 37191 ssh2
Dec 25 23:08:48 Malone-RPI sshd[2074]: Failed password for root from 112.85.42.46 port 37191 ssh2
Dec 25 23:08:51 Malone-RPI sshd[2074]: Failed password for root from 112.85.42.46 port 37191 ssh2
Dec 25 23:08:54 Malone-RPI sshd[2074]: Failed password for root from 112.85.42.46 port 37191 ssh2
Dec 25 23:08:57 Malone-RPI sshd[2074]: Failed password for root from 112.85.42.46 port 37191 ssh2
Dec 25 23:09:00 Malone-RPI sshd[2074]: Failed password for root from 112.85.42.46 port 37191 ssh2
Dec 25 23:09:00 Malone-RPI sshd[2074]: Disconnecting: Too many authentication failures for root from 112.85.42.46 port 37191 ssh2 [preauth]
Dec 25 23:09:00 Malone-RPI sshd[2074]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:09:00 Malone-RPI sshd[2074]: PAM service(sshd) ignoring max retries; 6 > 3
Dec 25 23:09:08 Malone-RPI sshd[2077]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:09:09 Malone-RPI sshd[2079]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:09:09 Malone-RPI sshd[2082]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:09:10 Malone-RPI sshd[2081]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:09:12 Malone-RPI sshd[2084]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:09:14 Malone-RPI sshd[2084]: Failed password for root from 112.85.42.46 port 32042 ssh2
Dec 25 23:09:15 Malone-RPI sshd[2087]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:09:17 Malone-RPI sshd[2084]: Failed password for root from 112.85.42.46 port 32042 ssh2
Dec 25 23:09:20 Malone-RPI sshd[2084]: Failed password for root from 112.85.42.46 port 32042 ssh2
Dec 25 23:09:24 Malone-RPI sshd[2084]: Failed password for root from 112.85.42.46 port 32042 ssh2
Dec 25 23:09:26 Malone-RPI sshd[2084]: Failed password for root from 112.85.42.46 port 32042 ssh2
Dec 25 23:09:30 Malone-RPI sshd[2084]: Failed password for root from 112.85.42.46 port 32042 ssh2
Dec 25 23:09:30 Malone-RPI sshd[2084]: Disconnecting: Too many authentication failures for root from 112.85.42.46 port 32042 ssh2 [preauth]
Dec 25 23:09:30 Malone-RPI sshd[2084]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:09:30 Malone-RPI sshd[2084]: PAM service(sshd) ignoring max retries; 6 > 3
Dec 25 23:09:41 Malone-RPI sshd[2091]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:09:43 Malone-RPI sshd[2091]: Failed password for root from 112.85.42.46 port 26291 ssh2
Dec 25 23:09:46 Malone-RPI sshd[2091]: Failed password for root from 112.85.42.46 port 26291 ssh2
Dec 25 23:09:49 Malone-RPI sshd[2091]: Failed password for root from 112.85.42.46 port 26291 ssh2
Dec 25 23:09:49 Malone-RPI sshd[2096]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:09:51 Malone-RPI sshd[2099]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:09:51 Malone-RPI sshd[2094]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:09:52 Malone-RPI sshd[2101]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:09:52 Malone-RPI sshd[2091]: Failed password for root from 112.85.42.46 port 26291 ssh2
Dec 25 23:09:55 Malone-RPI sshd[2091]: Failed password for root from 112.85.42.46 port 26291 ssh2
Dec 25 23:09:58 Malone-RPI sshd[2091]: Failed password for root from 112.85.42.46 port 26291 ssh2
Dec 25 23:09:58 Malone-RPI sshd[2091]: Disconnecting: Too many authentication failures for root from 112.85.42.46 port 26291 ssh2 [preauth]
Dec 25 23:09:58 Malone-RPI sshd[2091]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:09:58 Malone-RPI sshd[2091]: PAM service(sshd) ignoring max retries; 6 > 3
Dec 25 23:10:11 Malone-RPI sshd[2105]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:10:13 Malone-RPI sshd[2103]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:10:13 Malone-RPI sshd[2105]: Failed password for root from 112.85.42.46 port 20068 ssh2
Dec 25 23:10:17 Malone-RPI sshd[2105]: Failed password for root from 112.85.42.46 port 20068 ssh2
Dec 25 23:10:20 Malone-RPI sshd[2105]: Failed password for root from 112.85.42.46 port 20068 ssh2
Dec 25 23:10:23 Malone-RPI sshd[2105]: Failed password for root from 112.85.42.46 port 20068 ssh2
Dec 25 23:10:27 Malone-RPI sshd[2105]: Failed password for root from 112.85.42.46 port 20068 ssh2
Dec 25 23:10:29 Malone-RPI sshd[2105]: Failed password for root from 112.85.42.46 port 20068 ssh2
Dec 25 23:10:29 Malone-RPI sshd[2105]: Disconnecting: Too many authentication failures for root from 112.85.42.46 port 20068 ssh2 [preauth]
Dec 25 23:10:29 Malone-RPI sshd[2105]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:10:29 Malone-RPI sshd[2105]: PAM service(sshd) ignoring max retries; 6 > 3
Dec 25 23:10:34 Malone-RPI sshd[2111]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:10:34 Malone-RPI sshd[2113]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:10:35 Malone-RPI sshd[2115]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:10:37 Malone-RPI sshd[2119]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:10:38 Malone-RPI sshd[2117]: Connection closed by 116.31.116.10 [preauth]
Dec 25 23:10:41 Malone-RPI sshd[2123]: Received disconnect from 121.18.238.104: 11:  [preauth]
Dec 25 23:10:41 Malone-RPI sshd[2121]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:10:43 Malone-RPI sshd[2121]: Failed password for root from 112.85.42.46 port 13657 ssh2
Dec 25 23:10:46 Malone-RPI sshd[2121]: Failed password for root from 112.85.42.46 port 13657 ssh2
Dec 25 23:10:49 Malone-RPI sshd[2121]: Failed password for root from 112.85.42.46 port 13657 ssh2
Dec 25 23:10:53 Malone-RPI sshd[2121]: Failed password for root from 112.85.42.46 port 13657 ssh2
Dec 25 23:10:56 Malone-RPI sshd[2121]: Failed password for root from 112.85.42.46 port 13657 ssh2
Dec 25 23:10:59 Malone-RPI sshd[2121]: Failed password for root from 112.85.42.46 port 13657 ssh2
Dec 25 23:10:59 Malone-RPI sshd[2121]: Disconnecting: Too many authentication failures for root from 112.85.42.46 port 13657 ssh2 [preauth]
Dec 25 23:10:59 Malone-RPI sshd[2121]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:10:59 Malone-RPI sshd[2121]: PAM service(sshd) ignoring max retries; 6 > 3
Dec 25 23:11:10 Malone-RPI sshd[2127]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:11:12 Malone-RPI sshd[2127]: Failed password for root from 112.85.42.46 port 8748 ssh2
Dec 25 23:11:15 Malone-RPI sshd[2127]: Failed password for root from 112.85.42.46 port 8748 ssh2
Dec 25 23:11:16 Malone-RPI sshd[2129]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:11:16 Malone-RPI sshd[2131]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:11:16 Malone-RPI sshd[2133]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:11:18 Malone-RPI sshd[2127]: Failed password for root from 112.85.42.46 port 8748 ssh2
Dec 25 23:11:18 Malone-RPI sshd[2135]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:11:20 Malone-RPI sshd[2137]: Received disconnect from 116.31.116.10: 11:  [preauth]
Dec 25 23:11:22 Malone-RPI sshd[2127]: Failed password for root from 112.85.42.46 port 8748 ssh2
Dec 25 23:11:25 Malone-RPI sshd[2127]: Failed password for root from 112.85.42.46 port 8748 ssh2
Dec 25 23:11:28 Malone-RPI sshd[2127]: Failed password for root from 112.85.42.46 port 8748 ssh2
Dec 25 23:11:28 Malone-RPI sshd[2127]: Disconnecting: Too many authentication failures for root from 112.85.42.46 port 8748 ssh2 [preauth]
Dec 25 23:11:28 Malone-RPI sshd[2127]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:11:28 Malone-RPI sshd[2127]: PAM service(sshd) ignoring max retries; 6 > 3
Dec 25 23:11:40 Malone-RPI sshd[2139]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root
Dec 25 23:11:42 Malone-RPI sshd[2139]: Failed password for root from 112.85.42.46 port 3155 ssh2
Dec 25 23:11:45 Malone-RPI sshd[2139]: Failed password for root from 112.85.42.46 port 3155 ssh2
Dec 25 23:11:48 Malone-RPI sshd[2139]: Failed password for root from 112.85.42.46 port 3155 ssh2
Dec 25 23:11:51 Malone-RPI sshd[2139]: Failed password for root from 112.85.42.46 port 3155 ssh2
Dec 25 23:11:53 Malone-RPI sshd[2139]: Failed password for root from 112.85.42.46 port 3155 ssh2
Dec 25 23:11:56 Malone-RPI sshd[2139]: Failed password for root from 112.85.42.46 port 3155 ssh2
Dec 25 23:11:56 Malone-RPI sshd[2139]: Disconnecting: Too many authentication failures for root from 112.85.42.46 port 3155 ssh2 [preauth]
Dec 25 23:11:56 Malone-RPI sshd[2139]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.46  user=root

You appear to be getting hammered by bots attempting to access your root account. Exposing SSH on the standard port (22) is literally a worst practice. You will be compromised at some point. If you must expose SSH, at the very least you should be doing so on a non-standard port.

Thank you, I just fixed that SSH problem :slight_smile: