Fix broken package libsecret-1-dev
Tofloor
poster avatar
hazem94
deepin
2020-03-24 11:19
Author
While  I am trying to install Mailsping I faced a problem with a dependency called `libsecret-1-dev`. I tried to install it using `sudo apt install libsecret-1-dev` however, I did not work output the following:
Package libsecret-1-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libsecret-1-dev' has no installation candidate



Also, realized that the number of apps in the app store decreased a lot to only a few apps. I guess this dependency is causing the app store problem as well.

Any suggestion? And thanks in advance!

Reply Favorite View the author
All Replies
swqa001
deepin
2020-03-24 11:56
#1
https://packages.debian.org/sid/libsecret-1-dev
download and sudo dpkg -i ...
Reply View the author
hazem94
deepin
2020-03-25 01:29
#2
https://bbs.deepin.org/post/190006
https://packages.debian.org/sid/libsecret-1-dev
download and sudo dpkg -i ...

It did not work as well. I got the following output

  1. (Reading database ... 214114 files and directories currently installed.)
  2. Preparing to unpack libsecret-1-dev_0.20.2-1_amd64.deb ...
  3. Unpacking libsecret-1-dev:amd64 (0.20.2-1) over (0.20.2-1) ...
  4. dpkg: dependency problems prevent configuration of libsecret-1-dev:amd64:
  5. libsecret-1-dev:amd64 depends on libsecret-1-0 (= 0.20.2-1); however:
  6.   Version of libsecret-1-0:amd64 on system is 0.18.5-3.1.
  7. libsecret-1-dev:amd64 depends on gir1.2-secret-1 (= 0.20.2-1); however:
  8.   Package gir1.2-secret-1 is not installed.

  9. dpkg: error processing package libsecret-1-dev:amd64 (--install):
  10. dependency problems - leaving unconfigured
  11. Errors were encountered while processing:
  12. libsecret-1-dev:amd64
Copy the Code


I remember that I uninstalled a package called `IBus`, thaught I installed it mistakenly. Is there any relationship?

Reply View the author
swqa001
deepin
2020-03-25 03:02
#3
https://bbs.deepin.org/post/190006
It did not work as well. I got the following output

Package gir1.2-secret-1 is not installed.
sudo cat -n /var/lib/dpkg/status | grep "libsecret"
sudo gedit /var/lib/dpkg/status
Reply View the author
hazem94
deepin
2020-03-27 00:47
#4
https://bbs.deepin.org/post/190006
Package gir1.2-secret-1 is not installed.
sudo cat -n /var/lib/dpkg/status | grep "libsecret"
sudo ...

Thanks! I just re-installed the OS from the bootable device. Got the problem solved
Reply View the author
swqa001
deepin
2020-03-27 14:57
#5
https://bbs.deepin.org/post/190006
Thanks! I just re-installed the OS from the bootable device. Got the problem solved

No neet to thank,you are to polite.Recommend Arch or gentoo try.
Reply View the author
New Thread

Popular Events

More
国际排名
WHLUG