LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-19-2014, 11:14 AM   #31
hansbjarstal
LQ Newbie
 
Registered: Sep 2014
Posts: 25

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by cynwulf View Post
Get rid of those three:
Code:
# dpkg -r libapache-mod-ssl libdb4.4 libplrpc-perl
Code:
> dpkg -r libapache-mod-ssl libdb4.4 libplrpc-perl
(Reading database ... 87793 files and directories currently installed.)
Removing libapache-mod-ssl ...
Removing libdb4.4 ...
Removing libplrpc-perl ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Then lets see if a standard upgrade will run
Code:
# apt-get clean ; apt-get update && apt-get upgrade
I did so, and it hanged up as told in earlier posts (of some reason I cannot see the post #) see at Yesterday 10:53 AM.In ohter words, it is empty, not text' comming up and the and the circle in the browser window indicates it is working.
 
Old 09-19-2014, 11:22 AM   #32
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Well now your broken packages are gone and dependencies should be fixable, run:
Code:
# dpkg --configure -a
Also
Code:
$ apt-get -sf install
 
Old 09-19-2014, 11:25 AM   #33
hansbjarstal
LQ Newbie
 
Registered: Sep 2014
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cynwulf View Post
Well now your broken packages are gone and dependencies should be fixable, run:
Code:
# dpkg --configure -a
Also
Code:
$ apt-get -sf install
Code:
Output from apt-get -sf install ..

stdin: is not a tty
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  libdevel-symdump-perl libnet-daemon-perl libbsd-resource-perl libperl5.10
  libtommath0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 66 not upgraded.
 
Old 09-20-2014, 09:26 AM   #34
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Ok broken dependencies seem fixed

Run the first command and post the output
 
Old 09-20-2014, 06:44 PM   #35
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Quote:
Originally Posted by EmaRsk View Post
apt-get -f install needs an argument!

I suggest that you use aptitude in interactive mode (that is, run aptitude as root, with no arguments).
It's the most powerful tool for packages administration.
It has a built-in manual that you WILL need to read. The learning curve is a bit steep but you will be well rewarded.
Code:
apt-get -f install
is a complete command to attempt to fix any broken packages.

I would be trying aptitude too. This is just the sort of mess it is so good at.
 
Old 09-21-2014, 05:08 AM   #36
EmaRsk
Member
 
Registered: Mar 2006
Distribution: Mint, WSL Ubuntu
Posts: 134

Rep: Reputation: 32
Quote:
Originally Posted by widget View Post
Code:
apt-get -f install
is a complete command to attempt to fix any broken packages.
Yes, my bad. It looked suspicious to me, and the man page seemed to confirm my wrong impression.
I stand corrected.
 
Old 09-22-2014, 03:53 AM   #37
hansbjarstal
LQ Newbie
 
Registered: Sep 2014
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cynwulf View Post
Ok broken dependencies seem fixed

Run the first command and post the output
Hi cynwulf. Thank you for all your engagement into solving my problem (and thanks to all others comming with suggestions !). I'll stick to you for the moment. Anyhow, I haven' fully followed you instructions because I became impatient when you left on Friday and kept on by my own. I did
Code:
# dpkg --configure -a
and I understood the result as I could continue so I then did
Code:
# apt-get -sf install
As a result I could also install all other packages, so all 66 pending packages have been instlled without problems. Almost, because after having done
Code:
apt-get -sf install
I had the answer below:

Code:
Output from apt-get -sf install ..

stdin: is not a tty
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  libdevel-symdump-perl libnet-daemon-perl libbsd-resource-perl libperl5.10
  libtommath0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 66 not upgraded.
and 'apt-get autoremove' does not work because when writing 'yes' on the question if I want to continue, nothing happends, it hangs, and I finally have to breake: in other words, nothing is removed.

An other issue: In webmin, under 'System Information' it says:'2 updates to system packages are available. Use the Virtualmin Package Updates module to install them selectively.' but when I go to 'Virtualmin Package Updates' there is nothing to update. What is this?
 
Old 09-23-2014, 05:21 AM   #38
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
No idea why it's still hanging. You could try reinstalling apt just to be sure that it's not corrupted. Just manually download the apt package for the correct release and architecture from packages.debian.org, purge the existing apt with dpkg and install it again. Then see if that resolves it - beyond that no idea.

Someone else should have a clue, but failing that try one of the debian forums or mailing lists.
 
Old 10-03-2014, 05:13 AM   #39
hansbjarstal
LQ Newbie
 
Registered: Sep 2014
Posts: 25

Original Poster
Rep: Reputation: Disabled
Hello again,

Sorry for being away for a while, I had to do some "normal" work. I just noted I had this message from $dpkg --purge apt

So there is still some mess. Any idea about how to proceed?

Code:
Output from dpkg --purge apt ..

stdin: is not a tty
dpkg: dependency problems prevent removal of apt:
 reportbug depends on apt.
 apt-show-versions depends on apt.
 apt-listchanges depends on apt (>= 0.5.3).
 python-reportbug depends on apt.
 apt-utils depends on libapt-pkg4.10; however:
  Package libapt-pkg4.10 is not installed.
  Package apt which provides libapt-pkg4.10 is to be removed.
 python-apt depends on libapt-pkg4.10; however:
  Package libapt-pkg4.10 is not installed.
  Package apt which provides libapt-pkg4.10 is to be removed.
 libept1 depends on libapt-pkg4.10; however:
  Package libapt-pkg4.10 is not installed.
  Package apt which provides libapt-pkg4.10 is to be removed.
 aptitude depends on libapt-pkg4.10; however:
  Package libapt-pkg4.10 is not installed.
  Package apt which provides libapt-pkg4.10 is to be removed.
 libapt-pkg-perl depends on libapt-pkg4.10; however:
  Package libapt-pkg4.10 is not installed.
  Package apt which provides libapt-pkg4.10 is to be removed.
dpkg: error processing apt (--purge):
 dependency problems - not removing
Errors were encountered while processing:
 apt
 
Old 05-12-2015, 07:25 AM   #40
hansbjarstal
LQ Newbie
 
Registered: Sep 2014
Posts: 25

Original Poster
Rep: Reputation: Disabled
Solved

I have solved the problem. I went for an upgrade to 7 so I really had to dig into the problem to clean up the packages before I made the upgrade. I figured out how to connect by Putty and there I purged all faulty packages by using dpkg --purge and apt-get purge. Then I reinstalled everything I needed. When I tested the sytem all was fine and then I Went for the upgrade to 7 and today everything is fine.

I would like to say thank you to all of you who tried to find a solution for me.

Bye for now !
 
2 members found this post helpful.
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] GDM login fails the first time, succeeds the second time kikinovak Slackware 7 08-14-2012 03:38 AM
Suspend in F11 Fails Most of the Time mejohnsn Fedora 4 11-17-2009 08:19 PM
Emerge fails almost 50% of the time Connery Linux - Newbie 5 07-23-2009 10:05 PM
install using package manager fails every time ServalSoft Mandriva 3 06-20-2009 05:38 AM
Name Resolution Fails the First Time todd_dsm Linux - Server 5 01-17-2009 06:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:03 PM.

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