You are not logged in.

#1 2016-06-26 18:12:18

Hanzo
Member
Registered: 2016-06-26
Posts: 8

Debian upgrading libssl packages

Hi. I tried to install some application like brackets on debian 8.5 but there is problem with libssl1.0.0 package that already installed and this application need libssl1.0.2 but I can't upgrade this package.is there any way that I can use to upgrade packages like this? libgcrypt11 or ...

please help me with this issue.

Offline

#2 2016-06-26 18:16:39

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Debian upgrading libssl packages

Please always post full error messages rather than vague descriptions of error messages.

What is the full output of:

apt-cache policy

Please use code tags when posting terminal output.

Offline

#3 2016-06-26 18:19:09

Hanzo
Member
Registered: 2016-06-26
Posts: 8

Re: Debian upgrading libssl packages

Head_on_a_Stick wrote:

Please always post full error messages rather than vague descriptions of error messages.

What is the full output of:

apt-cache policy

Please use code tags when posting terminal output.


output  of policy is :

Package files:
100 /var/lib/dpkg/status
     release a=now
500 http://http.us.debian.org/debian/ jessie/non-free Translation-en
500 http://http.us.debian.org/debian/ jessie/main Translation-en
500 http://http.us.debian.org/debian/ jessie/contrib Translation-en
500 http://http.us.debian.org/debian/ jessie/non-free amd64 Packages
     release v=8.5,o=Debian,a=stable,n=jessie,l=Debian,c=non-free
     origin http.us.debian.org
500 http://http.us.debian.org/debian/ jessie/contrib amd64 Packages
     release v=8.5,o=Debian,a=stable,n=jessie,l=Debian,c=contrib
     origin http.us.debian.org
500 http://http.us.debian.org/debian/ jessie/main amd64 Packages
     release v=8.5,o=Debian,a=stable,n=jessie,l=Debian,c=main
     origin http.us.debian.org
500 http://ftp.debian.org/debian/ jessie-updates/main Translation-en
500 http://ftp.debian.org/debian/ jessie-updates/contrib Translation-en
500 http://ftp.debian.org/debian/ jessie-updates/main amd64 Packages
     release o=Debian,a=stable-updates,n=jessie-updates,l=Debian,c=main
     origin ftp.debian.org
500 http://ftp.debian.org/debian/ jessie-updates/contrib amd64 Packages
     release o=Debian,a=stable-updates,n=jessie-updates,l=Debian,c=contrib
     origin ftp.debian.org
500 http://security.debian.org/ jessie/updates/non-free Translation-en
500 http://security.debian.org/ jessie/updates/main Translation-en
500 http://security.debian.org/ jessie/updates/contrib Translation-en
500 http://security.debian.org/ jessie/updates/non-free amd64 Packages
     release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=non-free
     origin security.debian.org
500 http://security.debian.org/ jessie/updates/contrib amd64 Packages
     release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=contrib
     origin security.debian.org
500 http://security.debian.org/ jessie/updates/main amd64 Packages
     release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=main
     origin security.debian.org
Pinned packages:

Offline

#4 2016-06-26 18:20:38

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Debian upgrading libssl packages

^ Your sources look fine, unless I've missed something.

Hanzo wrote:

I tried to install some application like brackets on debian 8.5 but there is problem with libssl1.0.0 package that already installed and this application need libssl1.0.2 but I can't upgrade this package.

What was the exact command that you used and what was the full output?

Offline

#5 2016-06-26 18:21:15

Hanzo
Member
Registered: 2016-06-26
Posts: 8

Re: Debian upgrading libssl packages

this is full command line output when I try to install Brackets:

hanzo@debian:~/Downloads$ sudo dpkg -i Brackets.Release.1.7.64-bit.deb
[sudo] password for hanzo:
(Reading database ... 205130 files and directories currently installed.)
Preparing to unpack Brackets.Release.1.7.64-bit.deb ...
Unpacking brackets (1.7.0-16898) over (1.7.0-16898) ...
dpkg: dependency problems prevent configuration of brackets:
brackets depends on libgcrypt11 (>= 1.4.5); however:
  Package libgcrypt11 is not installed.

dpkg: error processing package brackets (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
brackets

Offline

#6 2016-06-26 18:22:24

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Debian upgrading libssl packages

Try:

sudo apt-get install -f

EDIT: Thread moved to Help & Support (Other)

Last edited by Head_on_a_Stick (2016-06-26 18:26:17)

Offline

#7 2016-06-26 18:25:53

Hanzo
Member
Registered: 2016-06-26
Posts: 8

Re: Debian upgrading libssl packages

Head_on_a_Stick wrote:

Try:

sudo apt-get install -f


Command not found

Offline

#8 2016-06-26 18:29:40

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Debian upgrading libssl packages

Hanzo wrote:

Command not found

hmm

You can't use `apt-get`?

EDIT: Irrelevant.

Last edited by Head_on_a_Stick (2016-06-26 18:32:47)

Offline

#9 2016-06-26 18:30:57

Hanzo
Member
Registered: 2016-06-26
Posts: 8

Re: Debian upgrading libssl packages

su -c 'apt-get install -f'


hanzo@debian:~/Downloads$ su -c 'apt-get install -f'
Password: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libqcustomplot1.2 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5
  libqt5printsupport5 libqt5test5 libqt5widgets5 libxcb-render-util0
  qttranslations5-l10n
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  brackets
0 upgraded, 0 newly installed, 1 to remove and 43 not upgraded.
1 not fully installed or removed.
After this operation, 149 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 205129 files and directories currently installed.)
Removing brackets (1.7.0-16898) ...
Processing triggers for hicolor-icon-theme (0.13-1) ..

Offline

#10 2016-06-26 18:33:40

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Debian upgrading libssl packages

^ Ah good, that should all work now.

EDIT: Sorry, no it isn't hmm

Can you install the .deb?

If it fails, be sure to post the full error message.

Also, you should upgrade your system:

su -c 'apt-get dist-upgrade'

Last edited by Head_on_a_Stick (2016-06-26 18:36:01)

Offline

#11 2016-06-26 18:37:34

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Debian upgrading libssl packages

Try installing the libgcrypt11 package manually:

su -c 'apt-get install libgcrypt11 libssl1.0.0'

Then try installing the .deb again.

Offline

#12 2016-06-26 18:41:53

Hanzo
Member
Registered: 2016-06-26
Posts: 8

Re: Debian upgrading libssl packages

I already have this packages. the applications that I try to install need some updated version. libssl1.0.2 instead of libssl1.0.0.

su -c 'apt-get dist-upgrade'

is this command for get newest debian upgrades or not? buy the way how can I get new updates?

Offline

#13 2016-06-26 18:45:07

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Debian upgrading libssl packages

Hey HoaS... You seemed to be looking for something specific with the apt-cache policy command, What were you looking for with the output of that?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#14 2016-06-26 18:50:31

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Debian upgrading libssl packages

^ The OP's (active) sources and any APT pinning.

Offline

#15 2016-06-26 18:53:01

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Debian upgrading libssl packages

Hanzo wrote:

I already have this packages. the applications that I try to install need some updated version. libssl1.0.2 instead of libssl1.0.0.

Version 1.0.0 is the newest version that is available in the Debian stable repositories.

Version 1.0.2 is available from testing/unstable but adding those repositories will break your system.

If you give me a couple of hours [1], I can see if I can backport them for you.

Alternatively, try it yourself:
https://wiki.debian.org/SimpleBackportCreation

[1] Top Gear is just about to start big_smile

Offline

#16 2016-06-26 18:56:03

Hanzo
Member
Registered: 2016-06-26
Posts: 8

Re: Debian upgrading libssl packages

take your time man.
I'm asking solution from experts like you
thanks a lot.

Last edited by Hanzo (2016-06-26 18:56:31)

Offline

#17 2016-06-26 20:15:58

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Debian upgrading libssl packages

Head_on_a_Stick wrote:

I can see if I can backport them for you.

This is not possible sad

EDIT: Or rather: the backporting was fine for libssl1.0.2 but not for libgcrypt11

The .deb package has libgcrypt11 listed as a dependency but this has been replaced with libgcrypt20 in Debian jessie.

Perhaps you should open an issue on their github page.

https://github.com/adobe/brackets/issues

Last edited by Head_on_a_Stick (2016-06-26 20:17:25)

Offline

#18 2016-06-27 07:22:16

Hanzo
Member
Registered: 2016-06-26
Posts: 8

Re: Debian upgrading libssl packages

Thanks

Offline

#19 2016-09-20 02:14:33

876Gazan
New Member
Registered: 2016-07-14
Posts: 1

Re: Debian upgrading libssl packages

I found a set of possible solutions on this page:- http://askubuntu.com/questions/627420/u … untu-15-04

I'm trying the following answer (it was in response to installing a package called springseed on ubuntu 15-04..but the problem with libgcrypt11 was the same):-

(I'm adapting the springseed answer to brackets)


Solution :- Change the dependencies:

1)First, remove the previous installation of Brackets:

sudo apt-get remove brackets

2) Download the latest brackets version from:-

https://github-cloud.s3.amazonaws.com/r … tet-stream


3) Follow these commands

i) mkdir temp.$$

ii) cp Brackets.Release.1.7.32-bit.deb temp.$$

iii) cd temp.$$

iv) dpkg-deb -x Brackets.Release.1.7.32-bit.deb brackets-repackaged

v)cd brackets-repackaged

vi)dpkg-deb -e ../Brackets.Release.1.7.32-bit.deb

4) Open the control file:

i) gedit DEBIAN/control

5) replace the line:

Depends: gconf-service, libasound2 (>= 1.0.23), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.11), libcairo2 (>= 1.6.0), libcups2 (>= 1.4.0), libdbus-1-3 (>= 1.2.14), libexpat1 (>= 1.95.8), libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.3.9), libgcc1 (>= 1:4.1.1), libgconf-2-4 (>= 2.31.1), libgcrypt11 (>= 1.4.5), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.18.0), libgtk2.0-0 (>= 2.24.0), libnspr4 (>= 1.8.0.10), libnss3 (>= 3.12.6), libpango1.0-0 (>= 1.22.0), libstdc++6 (>= 4.6), libudev0 (>= 147) | libudev1 (>= 198), libx11-6 (>= 2:1.4.99.1), libxcomposite1 (>= 1:0.3-1), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxrandr2 (>= 2:1.2.0), libxrender1, ca-certificates, libcurl3, lsb-base (>= 3.2), xdg-utils (>= 1.0.2), wget

with the line:

Depends: gconf-service, libasound2 (>= 1.0.23), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.11), libcairo2 (>= 1.6.0), libcups2 (>= 1.4.0), libdbus-1-3 (>= 1.2.14), libexpat1 (>= 1.95.8), libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.3.9), libgcc1 (>= 1:4.1.1), libgconf-2-4 (>= 2.31.1), libgcrypt20 (>= 1.4.5), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.18.0), libgtk2.0-0 (>= 2.24.0), libnspr4 (>= 1.8.0.10), libnss3 (>= 3.12.6), libpango1.0-0 (>= 1.22.0), libstdc++6 (>= 4.6), libudev0 (>= 147) | libudev1 (>= 198), libx11-6 (>= 2:1.4.99.1), libxcomposite1 (>= 1:0.3-1), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxrandr2 (>= 2:1.2.0), libxrender1, ca-certificates, libcurl3, lsb-base (>= 3.2), xdg-utils (>= 1.0.2), wget


(I'm just replacing the reference to libgcrypt11 with a reference to libgrypt20)

6) Save and exit and follow these commands:

i) cd ..

ii) sudo dpkg-deb -b brackets-repackaged

iii) sudo dpkg -i brackets-repackaged.deb

Results of above procedure:-

I did the above and am not sure it helped because even though the brackets pavkage installed

I still got the following error whn i tried to run it using:-

/usr/bin/brackets

I got the error message below:-

Error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory.


I fixed that problem by doing this:-

1) I downloaded libcrypt11 from:-

http://security.debian.org/debian-secur … 5_i386.deb


2)I installed libcrypt11 using:-

sudo dpkg -i libgcrypt11_1.5.0-5+deb7u5_i386.deb

3)I then attempted to run brackets by using:-

/usr/bin/brackets

Results:-

Brackets now seems to be working.

Conclusion:-

Maybe I should have just installed libcrypt11 from the beginning.

Hope this helps.

Last edited by 876Gazan (2016-09-20 02:49:03)

Offline

#20 2016-09-20 05:16:35

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Debian upgrading libssl packages

^ this looks fine and afaics it's pan-debian, although it comes from askubuntu.

Offline

Board footer

Powered by FluxBB