Harshith Reddy
Member
Hello. I'm using elementary OS hera(6), I tried to install elementary tweaks, but in return I got this response,
and after that I have tried doing,
And now I have no idea what to do
harshu@harshupc:~$ sudo apt install elementary-tweaks
[sudo] password for harshu:
Reading package lists... Done
Building dependency tree
Reading state information... Done
elementary-tweaks is already the newest version (1.0-0~202010170103~ubuntu6.0.1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
elementary-tweaks : Depends: libgranite5 (>= 0.2.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
and after that I have tried doing,
harshu@harshupc:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libgranite5
The following NEW packages will be installed:
libgranite5
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/167 kB of archives.
After this operation, 650 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 113422 files and directories currently installed.)
Preparing to unpack .../libgranite5_5.3.0-1_amd64.deb ...
Unpacking libgranite5:amd64 (5.3.0-1) ...
dpkg: error processing archive /var/cache/apt/archives/libgranite5_5.3.0-1_amd64.deb (--unpack):
trying to overwrite '/usr/share/metainfo/granite.appdata.xml', which is also in package libgranite-common 6.1.
1+r2107+pkg120~ubuntu6.1
Errors were encountered while processing:
/var/cache/apt/archives/libgranite5_5.3.0-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
harshu@harshupc:~$ sudo apt-get update
Hit:1 https://brave-browser-apt-nightly.s3.brave.com stable InRelease
Get:2 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist [331 B]
Hit:5 http://ppa.launchpad.net/elementary-os/stable/ubuntu focal InRelease
Hit:3 http://mirrors.piconets.webwerks.in/ubuntu-mirror/ubuntu focal InRelease
Hit:6 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu focal InRelease
Hit:7 http://ppa.launchpad.net/philip.scott/elementary-tweaks/ubuntu focal InRelease
Hit:4 http://ubuntu.hbcse.tifr.res.in/ubuntu focal-updates InRelease
Fetched 331 B in 2s (161 B/s)
Reading package lists... Done
harshu@harshupc:~$ sudo apt-get install libgranite5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libgranite5
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/167 kB of archives.
After this operation, 650 kB of additional disk space will be used.
(Reading database ... 113422 files and directories currently installed.)
Preparing to unpack .../libgranite5_5.3.0-1_amd64.deb ...
Unpacking libgranite5:amd64 (5.3.0-1) ...
dpkg: error processing archive /var/cache/apt/archives/libgranite5_5.3.0-1_amd64.deb (--unpack):
trying to overwrite '/usr/share/metainfo/granite.appdata.xml', which is also in package libgranite-common 6.1.1+r2107+pkg120~ubuntu6.1
Errors were encountered while processing:
/var/cache/apt/archives/libgranite5_5.3.0-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
And now I have no idea what to do