linuxmint / mintupdate

The Linux Mint Update Manager
320 stars 156 forks source link

Can't install mintupdate. #697

Closed K0-RR closed 3 years ago

K0-RR commented 3 years ago

Describe the bug Error while installing package: trying to overwrite /usr/share/icons/hicolor/16x16/apps/software-properties.png which is also in package software-properties-gtk. I tried renaming the file to software-properties.png.OLD but it didn't help.

Distribution: Ubuntu Cinnamon

Logs:

The following additional packages will be installed:
  mintupdate
The following NEW packages will be installed:
  mintupdate
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
25 not fully installed or removed.
Need to get 0 B/615 kB of archives.
After this operation, 5 425 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 612151 files and directories currently installed.)
Preparing to unpack .../mintupdate_5.7.8_all.deb ...
Unpacking mintupdate (5.7.8) ...
dpkg: error processing archive /var/cache/apt/archives/mintupdate_5.7.8_all.deb (--unpack):
 trying to overwrite '/usr/share/icons/hicolor/16x16/apps/software-properties.png', which is also in package software-properties-gtk 0.99.10
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/mintupdate_5.7.8_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
mtwebster commented 3 years ago

Do NOT try to install mintupdate on Ubuntu - they have an update manager already. If you want to use it, install Mint next time (which may happen sooner than you'd like if you continue this path).

K0-RR commented 3 years ago

I only wanted to install mintupdate because I added the mint package repository to get a more recent version of Cinnamon Desktop from Uma and now it's required by mint-meta-core. Will creating a dummy package via equivs be enough to get it working or it may have unwanted consequences and I should restore a timeshift backup?

mtwebster commented 3 years ago

You can try the daily build PPA: https://launchpad.net/~linuxmint-daily-build-team/+archive/ubuntu/daily-builds. It's bleeding edge but is usually relatively stable, and using a ppa is much safer to use than adding a full repository. There used to be 'stable' ppas but I couldn't seem to find any that have 5.0 packages.

Since you've got a backup, you could always try to continue I suppose, but honestly I'd restore the backup and try the ppa. There are a number of 'under the hood' differences between mint and ubuntu, that aren't necessarily handled by simple package installs/removals, I think you'll end up with issues no matter what.