[SOLVED] Unable to install libsecret-1-dev

Hi,

I’m trying to install libsecret-1-dev package on my LibreM 13, PureOS 8, but I get:

sudo apt-get install libsecret-1-dev
(...)
E: Unable to locate package libsecret-1-dev

The package seems to exist in debian repos:

https://packages.debian.org/search?keywords=libsecret-1-dev

Any idea?

Thanks!

libsecret-1-dev/amber,now 0.18.7-1 amd64 is in the PureOS repo. Maybe apt update before?

1 Like

I did apt update, but no luck:

> apt search libsecret-1
Sorting... Done
Full Text Search... Done
libsecret-1-0/now 0.18.7-1 amd64 [installed,local]
  Secret store
1 Like

Huh, yeah, strange.

I don’t see it with

sudo apt update
sudo apt search libsecret

But I see it here:
https://repo.puri.sm/pureos/pool/main/libs/libsecret/

Maybe @jeremiah knows? Is this worth creating an issue in the tracker?

1 Like

I was able to install it with aptitude.

Yes this needs further investigation

1 Like

Should I create the issue? Where?

Did you run;

sudo apt install libsecret-1-dev

after you ran sudo apt update?

1 Like

I ask because when I do apt search libsecret-1 I see;

Sorting... Done
Full Text Search... Done
libsecret-1-0/amber,now 0.18.7-1 amd64 [installed,automatic]
  Secret store

libsecret-1-dev/amber,now 0.18.7-1 amd64 [installed]
  Secret store (development files)

2 Likes

Yes, it says:

E: Unable to locate package libsecret-1-dev

That’s the difference: I only see libsecret-1-0 but no libsecret-1-dev. I see though that you have “amber”, while I have “green”.

EDIT: Hm, it doesn’t seem to be the reason, as @taylor-williamc has amber too and the same problem.

Can you do;

$ sudo dpkg -l libsecret*

I get;

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                  Version      Architecture Description
+++-=====================-============-============-=================================
ii  libsecret-1-0:amd64   0.18.7-1     amd64        Secret store
ii  libsecret-1-dev:amd64 0.18.7-1     amd64        Secret store (development files)
ii  libsecret-common      0.18.7-1     all          Secret store (common files)

Actually, the above will show you what is already on your system, so it’s not really relevant to the discussion. But, my search results are different;

$ sudo apt search libsecret
Sorting... Done
Full Text Search... Done
gir1.2-secret-1/amber,now 0.18.7-1 amd64 [installed,automatic]
  Secret store (GObject-Introspection)

libsecret-1-0/amber,now 0.18.7-1 amd64 [installed,automatic]
  Secret store

libsecret-1-dev/amber,now 0.18.7-1 amd64 [installed]
  Secret store (development files)

libsecret-common/amber,now 0.18.7-1 all [installed,automatic]
  Secret store (common files)

libsecret-tools/amber 0.18.7-1 amd64
  tool for storing and retrieving GObject passwords

which leads me to believe there is some missing or different sources. Here’s my /etc/apt/sources.list;

deb https://repo.puri.sm/pureos amber main
deb-src https://repo.puri.sm/pureos amber main

deb https://repo.pureos.net/pureos/ amber-updates main
deb https://repo.pureos.net/pureos/ amber-security main

In fact I do think it is because you’re on green and not amber. In any case, you need to upgrade from green to amber at your next opportunity. It should be just an upgrade away;

sudo apt update
sudo apt dist-upgrade

Then apt search libsecret-1-dev should reveal positive results.

$ cat /etc/apt/sources.list
deb https://repo.puri.sm/pureos amber main
deb https://repo.pureos.net/pureos/ amber-security main
deb https://repo.pureos.net/pureos/ amber-updates main

Though I didn’t expect anything to change, I also added the deb-src line, reran apt update, and searched again, but still don’t see the dev package.

Also figured I’d give dist-upgrade a go, but it just tells me I’m fully up-to-date.

I don’t actually need this package - I was just trying to help debug, but something does seem off if it’s not showing up for me.

1 Like

But as I said @taylor-williamc is on amber and still has the same problem.

What are the differences between versions? Wasn’t PureOS to be rolling-like? (so continuously updated?)

Yes, PureOS was meant to be rolling. But we stabilized on Debian Buster (which we customize as ‘amber’) so that we give our users the opportunity to have a stable system. There were a number of problems with the rolling release which were mitigated by moving to a stable distro. We do however plan to have a rolling release in conjunction with a stable release. Our rolling release is called ‘byzantium’ and more info on that will be coming shortly.

2 Likes

I did the dist-upgrade to amber and now I have that package.
Thank you so much for your help.