Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Dave Patterson
* Charles Hallenbeck [EMAIL PROTECTED] [2006-06-14 05:42:43 -0400]: Try: apt-get remove --purge X11-common apt-get dist-upgrade -- Cheers, Dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Charles Hallenbeck
Hi Dave, On Wed, Jun 14, 2006 at 05:02:30PM +0700, Dave Patterson wrote: * Charles Hallenbeck [EMAIL PROTECTED] [2006-06-14 05:42:43 -0400]: Try: apt-get remove --purge X11-common apt-get dist-upgrade Here is what happens when I do the remove: Script started on Wed 14 Jun 2006

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Joris Huizer
Charles Hallenbeck wrote: Package x11-common is not installed, so not removed Hmm, you could try `dpkg --purge x11-common` HTH, Joris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Simone Soldateschi
On 6/14/06, Charles Hallenbeck [EMAIL PROTECTED] wrote: Hi Dave,On Wed, Jun 14, 2006 at 05:02:30PM +0700, Dave Patterson wrote: * Charles Hallenbeck [EMAIL PROTECTED] [2006-06-14 05:42:43 -0400]: Try: apt-get remove --purge X11-common apt-get dist-upgradeI had a similar problem two days ago

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Dave Patterson
Ok, it looks like x11-common can't do anything because somethings hosed with debconf. Try apt-get -f install debconf, or dpkg-reconfigure debconf, and see what happens there. -- Cheers, Dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Charles Hallenbeck
Hi, Joris On Wed, Jun 14, 2006 at 12:37:17PM +0200, Joris Huizer wrote: Charles Hallenbeck wrote: Package x11-common is not installed, so not removed Hmm, you could try `dpkg --purge x11-common` Unfortunately I get the same familiar output: Script started on Wed 14 Jun 2006 06:38:49 AM

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Charles Hallenbeck
On Wed, Jun 14, 2006 at 05:39:07PM +0700, Dave Patterson wrote: Ok, it looks like x11-common can't do anything because somethings hosed with debconf. Try apt-get -f install debconf, or dpkg-reconfigure debconf, and see what happens there. The apt-get -f install debconf gives me the same

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Dave Patterson
* Simone Soldateschi [EMAIL PROTECTED] [2006-06-14 12:36:47 +0200]: A debian user suggested me to fix the problem using synaptic and filtering defective packages.. it did the job. Sorry. Here, he can't do that because he isn't even running X, only some components of it are needed for his

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Charles Hallenbeck
Hi Simone, On Wed, Jun 14, 2006 at 12:36:47PM +0200, Simone Soldateschi wrote: I had a similar problem two days ago trying to update 'libwx2.6-dev' from backports. 'apt-get' failed package upgrade due to unmet dependencies and I was unable to fix the problem with 'apt -f install'. A

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Joris Huizer
Charles Hallenbeck wrote: Hi, Joris On Wed, Jun 14, 2006 at 12:37:17PM +0200, Joris Huizer wrote: Charles Hallenbeck wrote: Package x11-common is not installed, so not removed Hmm, you could try `dpkg --purge x11-common` Unfortunately I get the same familiar output: Script started on

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Dave Patterson
* Charles Hallenbeck [EMAIL PROTECTED] [2006-06-14 06:50:32 -0400]: Do I dare try to remove debconf? I better do a backup first, this is getting serious smile 'Eek!' said I, and yes, do a backup. Then, yank it out. Then, pull debconf from the testing repository manually and install with

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Charles Hallenbeck
Hi Joris, When I add either the --force-depends or the --force-all option to the dpkg --purge x11-common command, they also fail to remove the package. When I then do an apt-get -f install, I get the same familiar failure as I reported earlier. I may have to save what I can and reinstall my

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Charles Hallenbeck
Dave, On Wed, Jun 14, 2006 at 06:12:29PM +0700, Dave Patterson wrote: * Charles Hallenbeck [EMAIL PROTECTED] [2006-06-14 06:50:32 -0400]: 'Eek!' said I, and yes, do a backup. Then, yank it out. Yeah, but I can't yank it out! It is not fully installed, and nothing in my arsenal can

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Joris Huizer
just thinking aloud, maybe `apt-get --reinstall install debconf` could help out on debconf, and then also on x11-common... I hope? HTH, Joris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Joris Huizer
one more note, in case you have aptitude installed, you may try using that, too, as it is known to be handle conflicts and brakage slightly different from apt-get; The interactive interface can show what is broken and such (just calling out a few suggestions now) HTH, Joris -- To

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Dave Patterson
* Joris Huizer [EMAIL PROTECTED] [2006-06-14 13:58:57 +0200]: one more note, in case you have aptitude installed, you may try using that, too, as it is known to be handle conflicts and brakage slightly different from apt-get; The interactive interface can show what is broken and such Good

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Dave Patterson
* Charles Hallenbeck [EMAIL PROTECTED] [2006-06-14 07:43:57 -0400]: Yeah, but I can't yank it out! It is not fully installed, and nothing in my arsenal can yank it out. Ok,then: Look at /var/lib/dpkg/info/debconf.postinst and see what's in that file-perhaps we can hack a fix from there.

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Joey Hess
Charles Hallenbeck wrote: Retrieving bug reports... Done Preconfiguring packages ... x11-common failed to preconfigure, with exit status 1 Setting up debconf (1.5.2) ... dpkg: error processing debconf (--configure): subprocess post-installation script returned error exit status 1 Errors

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread John Miller
Why not just keep x11-common? It looks like a whole ton of X libraries are already installed. Otherwise, figure out which programs depend on each individual library, either by dpkg --show programname, or by trying to remove each library individually. Up until a month or two ago (when I gave it

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Dave Patterson
* Joey Hess [EMAIL PROTECTED] [2006-06-14 12:21:32 -0400]: : set -e Then re-run this apt-get -f install and we should be able to figure out what's really wrong. This will tell you where in the script it's exiting... -- Cheers, Dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED]

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread John Miller
Apologies for not reading the original message closely enough. I got stuck on the 'x11-common' part and didn't pay enough attention to the debconf error. If debconf is having trouble, that's really weird. Perhaps doing a dpkg -r debconf, then doing a clean reinstall of debconf? Using wget to

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Greg Folkert
On Wed, 2006-06-14 at 23:57 +0700, Dave Patterson wrote: * Joey Hess [EMAIL PROTECTED] [2006-06-14 12:21:32 -0400]: : set -e Then re-run this apt-get -f install and we should be able to figure out what's really wrong. This will tell you where in the script it's exiting...

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Charles Hallenbeck
Hi Joey, On Wed, Jun 14, 2006 at 12:21:32PM -0400, Joey Hess wrote: Charles Hallenbeck wrote: Edit /var/lib/dpkg/info/x11-common.config and /var/lib/dpkg/info/debconf.postinst and add a new line as the second line of each script: set -e Then re-run this apt-get -f install and we

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Greg Folkert
On Wed, 2006-06-14 at 06:55 -0400, Charles Hallenbeck wrote: Hi Simone, On Wed, Jun 14, 2006 at 12:36:47PM +0200, Simone Soldateschi wrote: I had a similar problem two days ago trying to update 'libwx2.6-dev' from backports. 'apt-get' failed package upgrade due to unmet dependencies

Re: apt-get broken, packages not fully installed or removed (solved?)

2006-06-14 Thread Charles Hallenbeck
The strange problem of the not fully installed or removed packages I have been reporting has been resolved, but I do not understand it. It seems that a short while ago I have switched shells from bash to zsh to explore its new features. I did it gradually, first doing a usermod for each of my

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Charles Hallenbeck
On Wed, Jun 14, 2006 at 02:26:18PM -0400, Greg Folkert wrote: On Wed, 2006-06-14 at 23:57 +0700, Dave Patterson wrote: * Joey Hess [EMAIL PROTECTED] [2006-06-14 12:21:32 -0400]: Chuck needs to have a large scrollback and paste it to here for us to understand the entire functional

Re: apt-get broken, packages not fully installed or removed (solved?)

2006-06-14 Thread Joshua J. Kugler
On Wednesday 14 June 2006 10:51, Charles Hallenbeck wrote (edited): changing the symbolic link /bin/sh to point to /bin/zsh instead of /bin/bash. I changed the link to point to /bin/bash again, [ran apt commands successfully But why? I do upgrades at least once a day, and they usually went

Re: apt-get broken, packages not fully installed or removed

2006-06-14 Thread Joey Hess
Joey Hess wrote: set -e Of course that should have been -x, the point being to see where the script is failing. -- see shy jo signature.asc Description: Digital signature

Re: apt-get broken, packages not fully installed or removed (solved?)

2006-06-14 Thread Carl Fink
On Wed, Jun 14, 2006 at 11:15:05AM -0800, Joshua J. Kugler wrote: I believe the issue is that /bin/sh is expected to be a bourne shell, or at least closely compatible. zsh, most closely resembles ksh but includes many enhancements. ksh has command language [that is ] is a superset of the

Re: apt-get broken, packages not fully installed or removed (solved?)

2006-06-14 Thread Dave Patterson
* Charles Hallenbeck [EMAIL PROTECTED] [2006-06-14 14:51:22 -0400]: The strange problem of the not fully installed or removed packages I have been reporting has been resolved... Hooray! It seems that a short while ago I have switched shells from bash to zsh to explore its new features.

Re: apt-get broken, packages not fully installed or removed (solved?)

2006-06-14 Thread Joey Hess
Carl Fink wrote: Shouldn't apt-get then refuse to run under zsh, or itself spawn /bin/sh and run scripts under that instead of the default shell? /bin/sh is the default shell, and it is required on Debian that that symlink only be pointed to POSIX compliant shells. -- see shy jo

Re: apt-get broken, packages not fully installed or removed (solved?)

2006-06-14 Thread John Hasler
Dave writes: Figure out how to make APT point to BASH and file the bug there. Be interesting to see what the APT people have to say. Policy requires that /bin/sh point to a POSIX shell. Zsh is not POSIX-compliant. You can break many things other than Apt by pointing /bin/sh to Zsh. -- John