DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
> 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
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.
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.
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
Quote:
Originally Posted by EmaRsk
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.
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?
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.