Mencoba untuk menjalankan sudo apt update; sudo apt upgrade
hari lain dan mendapat kesalahan tentang dpkg yang belum pernah saya lihat sebelumnya dan google tampaknya juga tidak banyak membantu.
Saya hanya akan menempelkan output karena saya tidak tahu apa yang sedang terjadi:
sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
steam:i386 : Depends: steam-devices:i386
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
hunspell-bn hunspell-bs hunspell-gu hunspell-hi hunspell-is hunspell-si hunspell-te
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
steam-devices
The following NEW packages will be installed:
steam-devices
0 upgraded, 1 newly installed, 0 to remove and 98 not upgraded.
20 not fully installed or removed.
Need to get 0 B/26.0 kB of archives.
After this operation, 79.9 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 531568 files and directories currently installed.)
Preparing to unpack .../steam-devices_1.0.0.59-2_all.deb ...
Unpacking steam-devices (1.0.0.59-2) ...
dpkg: error processing archive /var/cache/apt/archives/steam-devices_1.0.0.59-2_all.deb (--unpack):
trying to overwrite '/lib/udev/rules.d/60-steam-input.rules', which is also in package steam-launcher 1.0.0.59
Errors were encountered while processing:
/var/cache/apt/archives/steam-devices_1.0.0.59-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Bisakah seseorang yang lebih akrab dengan manajemen apt dan paket daripada saya sendiri menjelaskan apa arti kesalahan ini dan bagaimana saya bisa mendiagnosis / memperbaiki masalah. Secara harfiah tidak tahu harus mulai dari mana dengan ini.
Sistem adalah debian 9 (saya pikir)