r00t87 wrote:Hi all,
[snip...]I can't install riot-web anymore and i wonder also config files are lost or are they exist still on my pc?
Before doing this the following steps are necessary:
Code: Select all
# wget -O /usr/share/keyrings/riot-im-archive-keyring.gpg https://packages.riot.im/debian/riot-im-archive-keyring.gpg
# apt install -y lsb-release apt-transport-https
# apt update
# echo "deb [signed-by=/usr/share/keyrings/riot-im-archive-keyring.gpg] https://packages.riot.im/debian/ $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/riot-im.list
apt install riot-web is the wrong way to go about it because, as the following command shows, "riot-web is a transitional package which can safely be deleted once riot-desktop is installed."
Code: Select all
$ apt-cache show riot-web
Package: riot-web
Version: 1.6.0
Architecture: all
Maintainer: support@riot.im
Installed-Size: 9
Depends: riot-desktop
Multi-Arch: foreign
Homepage: https://about.riot.im
Priority: extra
Section: net
Filename: pool/main/r/riot-web/riot-web_1.6.0_all.deb
Size: 2176
SHA256: c01516a16fc210497be1f056403c1c18571b812fd5b7830dc5e0e79c13cc8c46
SHA1: 458ad8e635c3eb702f8128480576020d71212637
MD5sum: c1a86ce2683b95bdeabb40473d3e8bfa
Description: feature-rich client for Matrix.org - transitional package
This package can be safely deleted once riot-desktop is installed.
Description-md5: 02e4cc415525947ce3c9c4f4d7b7064e
On the other hand, as the next command shows, the package riot-desktop, which conflicts with riot-web, replaces it.
Code: Select all
$ apt-cache show riot-desktop
Package: riot-desktop
License: Apache-2.0
Vendor: support@riot.im
Architecture: amd64
Maintainer: support@riot.im
Depends: libgtk-3-0, libnotify4, libnss3, libxss1, libxtst6, xdg-utils, libatspi2.0-0, libuuid1, libappindicator3-1, libsecret-1-0, libsqlcipher0
Provides: riot-web
Conflicts: riot-web
Replaces: riot-web
Homepage: https://riot.im/
Priority: extra
Section: net
Filename: pool/main/r/riot-desktop/riot-desktop_1.6.0_amd64.deb
Size: 61359510
SHA256: d768b227f916ef42aae46114340189349e1015516cb1ef16c2c0ec07efba5ca3
SHA1: 4a737ed337c71f2a50add695228ea5ecd04d6e57
MD5sum: 0c1dc45b093ee42101c6d32ac3e81e82
Description: A feature-rich client for Matrix.org
Description-md5: b73e630cc42c1341b7bf3e0d9cdde578
Version: 1.6.0
Therefore the right command to install riot, which I have simulated by appending -s to the command, is:
This results in:
Code: Select all
$ apt install -s riot-desktop
NOTE: This is only a simulation!
apt needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libsqlcipher0
The following NEW packages will be installed:
libsqlcipher0 riot-desktop
0 upgraded, 2 newly installed, 0 to remove and 38 not upgraded.
Inst libsqlcipher0 (3.4.1-1+b12 Debian:10.3/stable [amd64])
Inst riot-desktop (1.6.0 stable [amd64])
Conf libsqlcipher0 (3.4.1-1+b12 Debian:10.3/stable [amd64])
Conf riot-desktop (1.6.0 stable [amd64])
Similarly, using aptitude results in:
Code: Select all
# aptitude -s install riot-desktop
The following NEW packages will be installed:
libsqlcipher0{a} riot-desktop
0 packages upgraded, 2 newly installed, 0 to remove and 38 not upgraded.
Need to get 61.8 MB of archives. After unpacking 939 kB will be used.
Note: Using 'Simulate' mode.
Do you want to continue? [Y/n/?] Y
Would download/install/remove packages