I messed up the packages. What can i do?
Tofloor
poster avatar
savanweylyn
deepin
2017-09-04 12:20
Author
Hi,

I insalled MEGAsync from it's officail debian "PA" (deb https://mega.nz/linux/MEGAsync/Debian_8.0/ ./) and now whe i tried to update it via sudo apt install megasync, it run into a dependency issue; it required libqt5core5a >=5.6.0, but it couldn't be installed, so i downloaded it from Debain's repo and installed it with gdebi without any problem. Now when i try to update anything i run into another dependency issue, this time with qtbase-abi-5-6-1. libqt5core5a contains qtbase-abi-5-6-1, but when i try to remove it and reinstall it from Deepin's repo it fails, becuse a lot of packages depend on qtbase-abi-5-6-1. And if i try to fix this sudo apt --fix-broken install, it warns me that these packages will be removed:
    Copy the Code
And i don't dare to remove them, because i don't know if i will be able to reinstall all of them bu i don't want to risk it. Is there a way to solve this without removing those packages?

If not or if it would be way too difficult, will i be able to reinstall all the removed packages?

Reply Favorite View the author
All Replies
bobo
deepin
2017-09-04 13:02
#1
Hi savanweyln,

Please don't remove dde-*, otherwise your system would be broken. PPA is "supported" by Deepin, but mess up the system very easily. I would suggest first t remove the ppa and MEGA. Then update and fix dependency problem. Finally, download the deb package of MEGA from the PPA, and install it. When you install MEGA, please pay attention to any messages of potential package conflicts.

Best
Reply View the author
jingle
deepin
2017-09-04 17:55
#2
sudo apt-get install megasync
Reply View the author
s3040608090
deepin
2017-09-05 00:07
#3
Megasync is in deepin store. It is better to try deepin store before install a package in other ways.
Reply View the author
savanweylyn
deepin
2017-09-06 05:58
#4
https://bbs.deepin.org/post/145042
sudo apt-get install megasync

Can't do. I can't install/remove ANY package until i remove all the above mentioned packages.
Reply View the author
savanweylyn
deepin
2017-09-06 06:04
#5
https://bbs.deepin.org/post/145042
Megasync is in deepin store. It is better to try deepin store before install a package in other ways ...

I know but it's not the latest version. And i rarely use any AppStore/Software Center (including Deepin Store) anyway. I like to install packages manually from the official repositories. Third party repositories only come into sight if they contain newer versions of packages i need. Like Firefox & Thunderbird. Both can be installed from the repository but those are old versions. And i like to avoid running any e-mail client or web browser as root. Because they can be updated that way too.
Reply View the author
savanweylyn
deepin
2017-09-06 06:07
#6
https://bbs.deepin.org/post/145042
Hi savanweyln,

Please don't remove dde-*, otherwise your system would be broken. PPA is "supported" ...

What? the add-apt-repositroy is working? I didn't use that since Deepin 15 beta 2, because it was not supported in those versions and because i didn't try it since. But this was not added with that command. I used sudo nano /etc/apt/sources.list.d/mega.list, copy-paste the deb line into it and saved it.
Reply View the author
bobo
deepin
2017-09-06 07:48
#7
https://bbs.deepin.org/post/145042
What? the add-apt-repositroy is working? I didn't use that since Deepin 15 beta 2, because it was  ...

It is working, but
  1. sudo apt install python-software-properties software-properties-common
Copy the Code
needs to be installed first.
Reply View the author
jingle
deepin
2017-09-06 16:45
#8
https://bbs.deepin.org/post/145042
Can't do. I can't install/remove ANY package until i remove all the above mentioned packages.
  1. sudo dpkg -i megasync-Debian_8.0_amd64.deb

  2. sudo apt-get install -f
Copy the Code



I installed successfully and did not prompt for uninstalling DDE.
Reply View the author
savanweylyn
deepin
2017-09-07 07:29
#9
https://bbs.deepin.org/post/145042
I installed successfully and did not prompt for uninstalling DDE.

It prompted for libqt5core5a 5.6.0 or newer, so i downloaded it from Debian's unstable repo and installed it with gdebi. And now i can't remove it.
Reply View the author
savanweylyn
deepin
2017-09-07 07:33
#10
Edited by savanweylyn at 2017-9-6 16:34
https://bbs.deepin.org/post/145042
It is working, but  needs to be installed first.

Thanks. It's good to know, but i don't think I'll use it. If a single package can mess the system up this badly, i don't want to know how much mess can a whole repository cause.
Reply View the author
savanweylyn
deepin
2017-11-27 04:12
#11
I managed to remove libqt5core5a 5.6.0 but with other dde- packges. After that was done, I couldn't reinstall any of the removed dde- packages because they were not found,s o I ended up reinstalling Deepin...
Reply View the author