LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-21-2017, 07:58 PM   #1
Nodi1
LQ Newbie
 
Registered: Nov 2016
Posts: 7

Rep: Reputation: Disabled
Unhappy Help.


It's me again ... the last time I posted I had the same error, but they told me to post in English, so now I post it in English. Every time I want to install something comes out.

Root @ Nodi: / home / Nodi # apt-get install iptables
Reading package list ... Done
Creating dependency tree
Reading the status information ... Done
You may want to run "apt-get -f install" to fix it:
The following packages have unmet dependencies:
Libgcrypt11: Break: libgcrypt11: i386 (! = 1.5.0-3ubuntu0.4) but 1.5.0-3ubuntu0.5 is going to be installed
Libgcrypt11: i386: Break: libgcrypt11 (! = 1.5.0-3ubuntu0.5) but 1.5.0-3ubuntu0.4 is going to be installed
E: Unfulfilled dependencies. Try apt-get -f install without packages (or specify a solution).


Libgcrypt11: Break: libgcrypt11: i386 (! = 1.5.0-3ubuntu0.4) but 1.5.0-3ubuntu0.5 is going to be installed
Libgcrypt11: i386: Break: libgcrypt11 (! = 1.5.0-3ubuntu0.5) but 1.5.0-3ubuntu0.4 is going to be installed
 
Old 06-21-2017, 08:28 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 18,994
Blog Entries: 28

Rep: Reputation: 6072Reputation: 6072Reputation: 6072Reputation: 6072Reputation: 6072Reputation: 6072Reputation: 6072Reputation: 6072Reputation: 6072Reputation: 6072Reputation: 6072
It looks as if you have some broken packages.

I have found that

Code:
apt-get -f
seems to be problematic from time to time. I've gotten a "command not found" error far too often.

Try opening the Synaptic Package Manager and going to Edit-->Fix Broken Packages; let us know what happens.
 
Old 06-21-2017, 08:38 PM   #3
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,081

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
try this:

https://askubuntu.com/questions/5043...-not-installed

from link above:

Quote:
sudo apt-get --reinstall install iptables
 
Old 06-22-2017, 04:04 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
As frankbell has stated, try synaptic. You might need to remove a few packages at first in the broken list. Then, reinstall them. Or just let iptables drag in its own dependencies.
 
Old 06-22-2017, 05:47 PM   #5
Nodi1
LQ Newbie
 
Registered: Nov 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Unhappy

Quote:
Originally Posted by frankbell View Post
It looks as if you have some broken packages.

I have found that

Code:
apt-get -f
seems to be problematic from time to time. I've gotten a "command not found" error far too often.

Try opening the Synaptic Package Manager and going to Edit-->Fix Broken Packages; let us know what happens.
I already tried synaptic and nothing: / I can not install anything! The same thing always comes out, the same mistake.
 
Old 06-22-2017, 05:53 PM   #6
Nodi1
LQ Newbie
 
Registered: Nov 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
This leaves when trying to repair broken packages from synaptic

E: libgcrypt11: libgcrypt11:amd64 1.5.0-3ubuntu0.4 cannot be configured because libgcrypt11
 
Old 06-22-2017, 06:57 PM   #7
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
You might have to remove the broken packages. Or you use the "force" switch in apt-get. But you'll still have broken packages on the system. Or, you can download the iptables package file and use:
Code:
$ dpkg -i --force-depends package_file

Last edited by AwesomeMachine; 06-22-2017 at 07:00 PM.
 
Old 06-23-2017, 01:00 AM   #8
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Hi,

yeah, I often saw that "-f install" lately. It behaves weirdly.

Can you please try:
Code:
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get -f install
 
Old 06-24-2017, 11:48 AM   #9
Nodi1
LQ Newbie
 
Registered: Nov 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Unhappy

Quote:
Originally Posted by aragorn2101 View Post
Hi,

yeah, I often saw that "-f install" lately. It behaves weirdly.

Can you please try:
Code:
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get -f install

Dpkg: error processing libgcrypt11: i386 (--configure):
Libgcrypt11: i386 1.5.0-3ubuntu0.5 can not be configured because libgcrypt11: amd64 is in a different version (1.5.0-3ubuntu0.4)
Dpkg: error processing libgcrypt11 (--configure):
Libgcrypt11: amd64 1.5.0-3ubuntu0.4 can not be configured because libgcrypt11: i386 is in a different version (1.5.0-3ubuntu0.5)
 
Old 06-24-2017, 11:49 AM   #10
Nodi1
LQ Newbie
 
Registered: Nov 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AwesomeMachine View Post
You might have to remove the broken packages. Or you use the "force" switch in apt-get. But you'll still have broken packages on the system. Or, you can download the iptables package file and use:
Code:
$ dpkg -i --force-depends package_file

Could you pass me the iptables file?
 
Old 06-24-2017, 11:13 PM   #11
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Smile Download only

Quote:
Originally Posted by Nodi1 View Post
Could you pass me the iptables file?
You have to use:
Code:
apt-get install iptables --download-only
 
Old 07-08-2017, 07:08 PM   #12
Nodi1
LQ Newbie
 
Registered: Nov 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Nor, how can I repair these two broken files? And if I release them again?
 
Old 07-08-2017, 07:27 PM   #13
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Can you paste the output from the following command (please maximise the terminal window before running it):

Code:
dpkg -l '*libgcrypt*'
Also, please say which distro (and version) you are running.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration