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.
As there are bugs in the packages related to Newt so I am getting frequently the error unable to initialize frontend:Newt.
I have tried to reconfigure debconf by the command dpkg-reconfigure debconf again I am getting the same error.
After fresh installation I have tried to lock the package linnewt0.52 by the command apt-mark hold libnewt0.52 even no use I mean when I issue the command dpkg --configure -a I am getting same error.
Please try to suggest how to delete all the packages related to Newt and their dependencies from local repositories if not suggest atleast how to remove libnewt0.52 from local repositories.
Last edited by rupeshforu; 07-04-2013 at 12:15 AM.
I have followed the suggestions given by you but no use so what I am requesting how to remove package from local repositories.
So post back showing what happened, and you may have a chance of solving the underlying problem: the debconf frontend. This problem results in your attempts to use your package manager to install or remove software to fail.
Please try to suggest how to delete all the packages related to Newt and their dependencies from local repositories if not suggest atleast how to remove libnewt0.52 from local repositories.
This should fail because of your debconf problem, but you remove packages using your package manager.
For example to remove all packages with "newt" in their name:
Sir yesterday I performed fresh installation and when I try to install other package and if this package depends on libnewt then fist libnewt will be installed after that the package which I selected is installing Finally I can't install or remove anything or even unable to reconfigure anything.
So kindly suggest how to remove or delete all the packages related to Newt and all its dependencies from local repositories. If not atleast suggest how to remove the package libnewt0.52 from local repositories.
So kindly suggest how to remove or delete all the packages related to Newt and all its dependencies from local repositories. If not atleast suggest how to remove the package libnewt0.52 from local repositories.
In your posts you have been referring to "local repositories", I had assumed you meant packages installed on your system, in my previous post I showed how to remove such packages. Now I wonder if you mean something else by "local repositories". Can you explain?
Note also that it would be far easier to help you if you cut and pasted the output from your terminal when you are reporting problems so that readers can actually see what is happening instead of reading your interpretation of it and then trying to infer what is happening.
Sir I will explain what I mean by local repository. Debian wheezy installation dvds consist of 10. I have copied all the iso images to harddisk then I made entries to fstab inorder to mount these 10 dvds at /media and then I have added entries to sources.list and then issued the command apt-get update and this command generated packages.gz etc., finally when I open synptic I am able to view 36000 packages. Now I am asking how to delete packages related to newt I mean how to modify the configuration files.
Today I have freshly installed wheezy and from now onwards I don't want to install any of the packages related to newt so I am requesting how to archive this.
what you describe seems like quite a strange approach, and not something I would ever bother to work out how to do. But, the approach would be to rm all the relevant .deb files and then regenerate the Packages files. Since you created this repository, you'll know best how to do that.
The above seems like a serous PITA, so why can't you just uninstall packages that you don't want and then put them on hold?
Finally, you claim some package related to libnewt has a bug: is it on bugs.debian.org?
Yes this is a release critical bug. I have copied all the .deb files to one directory/var/My_Repo and removed all files containing newt like python-newt etc.,. Now can you please suggest how to create a repository using this directory.
Ok, then why is it in the release? Do you have the bug number?
Quote:
I have copied all the .deb files to one directory/var/My_Repo and removed all files containing newt like python-newt etc.,. Now can you please suggest how to create a repository using this directory.
Sorry, as already explained you did this once before, why can't you do it again....
Did you use dpkg-scanpackages, apt-move? Some other tool? Just repeat whatever you did to make the Packages.gz (or Packages.bzip2) last time.
Sorry I am not an advanced system administrator and previously I have followed the procedure by searching google "adding an iso image to sources.list". Please try to suggest how to make a repository by using the directory specified by me.
Please search google for "unable to initialize frontend debconf: newt".
I mentioned two such tools for making repositories in my previous post.
And no, I will not perform Google searches for you.
Also, please note that I still think you are taking the wrong approach, as you have not yet provided any real information about a bug related to libnewt. You seem to expect me magically solve your perceived problem when you are not even willing to provide basic information that I have requested. If I write a sentence that ends with a "?" it means that I have asked you a question because there is information that I believe I need in order to help you.
The problem I am facing is whenever I try to install or remove a package everything is performed well except post installation
Suppose I try to install a package foo I am describing what's going on
apt-get install foo
retrieving bug information failed do you want to retry(y/n): n
do you want to install the above packages(y/n):y
reading database
preparing to configure foo
unpacking foo from ....
setting up foo
unable to initialize debconf frontend: Newt
can't find ....
many errors encountered while performing installation and dpkg exited unexpectedly.
Even I have tried to reconfigure debconf and the output is
debconf: unable to initialize frontend: Newt
debconf: (Can't locate Debconf/FrontEnd/Newt.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 26) line 2.)
debconf: falling back to frontend: Noninteractive
I will explain the process by using another instance I have tried to reinstall gdm3 package and the output is
reading database
preparing to configure gdm3
unpacking gdm3 from ....
setting up gdm3
debconf: unable to initialize frontend: Newt
debconf: (Can't locate Debconf/FrontEnd/Newt.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 26) line 2.)
debconf: falling back to frontend: Noninteractive
restarting gdm3
then # prompt appears.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.