apt-get (debconf) throws strange errors while upgrading libpam0g Debian lenny package

2008-08-20 Thread rainmailbox2001-ola
Hi.
I was just trying to install today's updates for Debian lenny
(testing), and debconf throws these errors at me while upgrading
libpam0:

Preconfiguring packages ...
Setting up libpam0g (1.0.1-2) ...
Checking for services that may need to be restarted...Checking init scripts...
debconf: Unable to load Debconf::Element:Dialog::String.
Failed because: Can't locate Debconf/Element/Dialog/String.pm in @INC
(@INC contains: /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at
(eval 24) line 2, GEN1 line 4.
BEGIN failed--compilation aborted at (eval 24) line 2, GEN1 line 4.

Can't locate object method new via package Debconf::Element:Dialog::String 
(perhaps you forgot to load Debconf::Element:Dialog::String?) at 
/usr/share/perl5/Debconf/FrontEnd.pm line 68, GEN1 line 4.
dpkg: error processing libpam0g (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
libpam0g
E: Sub-process /usr/bin/dpkg returned an error code (1)


Any suggestions?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get (debconf) throws strange errors while upgrading libpam0g Debian lenny package

2008-08-20 Thread Florian Kulzer
On Wed, Aug 20, 2008 at 13:51:58 -0700, rainmailbox2001-ola AT yahoo DOT ca 
wrote:
 Hi.
 I was just trying to install today's updates for Debian lenny
 (testing), and debconf throws these errors at me while upgrading
 libpam0:
 
 Preconfiguring packages ...
 Setting up libpam0g (1.0.1-2) ...
 Checking for services that may need to be restarted...Checking init scripts...
 debconf: Unable to load Debconf::Element:Dialog::String.
 Failed because: Can't locate Debconf/Element/Dialog/String.pm in @INC

Something is wrong with the debconf perl modules; they cannot be found
in the module include path (@INC).

 (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0
 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at

Your @INC seems to be OK; it contains /usr/share/perl5. The missing file
should be here:

/usr/share/perl5/Debconf/Element/Dialog/String.pm

Do you have this file? If not, try reinstalling the debconf package.
Your normal package manager might be blocked by the unconfigured
libpam0, but it might be possible to download debconf_1.5.22_all.deb
from your preferred Debian mirror and install it with dpkg -i. 

 (eval 24) line 2, GEN1 line 4.
 BEGIN failed--compilation aborted at (eval 24) line 2, GEN1 line 4.
 
 Can't locate object method new via package 
 Debconf::Element:Dialog::String (perhaps you forgot to load 
 Debconf::Element:Dialog::String?) at /usr/share/perl5/Debconf/FrontEnd.pm 
 line 68, GEN1 line 4.
 dpkg: error processing libpam0g (--configure):
 subprocess post-installation script returned error exit status 2
 Errors were encountered while processing:
 libpam0g
 E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get (debconf) throws strange errors while upgradinglibpam0g Debian lenny package

2008-08-20 Thread rainmailbox2001-ola
 Hi.
 I was just trying to install today's updates for Debian lenny

 (testing), and debconf throws these errors at me while upgrading
 libpam0:
 
 Preconfiguring packages ...
 Setting up libpam0g (1.0.1-2) ...
 Checking for services that may need to be restarted...Checking init scripts...
 debconf: Unable to load Debconf::Element:Dialog::String.
 Failed because: Can't locate Debconf/Element/Dialog/String.pm in @INC

Ok so my file system died (on USB stick), and it was just a first symptom. Now 
I will have a chance to check if my backups work...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



apt-get debconf

2003-01-15 Thread Florian Sukup
Hi,

just a question, I couldn't find an answer, yet.

If I use 
apt-get install package_name ,
is this package automatically configured by debconf.

If not how can I do that? I know there is the command dpkg-reconfigure but 
I don't want to do a reconfiguration and it should be done automatically 
without invoking configuration for each installed package.

Thank you for the answer.

Florian.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: apt-get debconf

2003-01-15 Thread Colin Watson
On Wed, Jan 15, 2003 at 02:08:56PM +0100, Florian Sukup wrote:
 If I use 
 apt-get install package_name ,
 is this package automatically configured by debconf.

If the package uses debconf in the first place, yes. (debconf is not and
should not be universal; it's there for packages that need it.)

-- 
Colin Watson  [[EMAIL PROTECTED]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: apt-get debconf

2003-01-15 Thread Brian Potkin
On Wed, Jan 15, 2003 at 02:08:56PM +0100, Florian Sukup wrote:

 Hi,
 
 just a question, I couldn't find an answer, yet.
 
 If I use 
 apt-get install package_name ,
 is this package automatically configured by debconf.

If you're interested in whether a package depends on debconf prior to
installing it either of

dpkg -s package name | grep debconf
apt-cache show package name | grep debconf

will give you the information.

Brian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: apt-get debconf

2003-01-15 Thread Vanilla


Please can anyone give me a bigger list, for my sources.list.
I only have 3:

deb http://http.us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib 
non-free
deb http://security.debian.org stable/updates main contrib non-free

Tanks in advance


Brian Potkin wrote:

On Wed, Jan 15, 2003 at 02:08:56PM +0100, Florian Sukup wrote:

 

Hi,

just a question, I couldn't find an answer, yet.

If I use 
apt-get install package_name ,
is this package automatically configured by debconf.
   


If you're interested in whether a package depends on debconf prior to
installing it either of

dpkg -s package name | grep debconf
apt-cache show package name | grep debconf

will give you the information.

Brian


 




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get debconf

2003-01-15 Thread Colin Watson
On Wed, Jan 15, 2003 at 02:29:00PM +, Brian Potkin wrote:
 On Wed, Jan 15, 2003 at 02:08:56PM +0100, Florian Sukup wrote:
  just a question, I couldn't find an answer, yet.
  
  If I use 
  apt-get install package_name ,
  is this package automatically configured by debconf.
 
 If you're interested in whether a package depends on debconf prior to
 installing it either of
 
 dpkg -s package name | grep debconf
 apt-cache show package name | grep debconf

Probably 'dpkg -p' instead; 'dpkg -s' only shows minimal information for
packages that aren't installed yet, not including dependencies.

-- 
Colin Watson  [[EMAIL PROTECTED]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: apt-get debconf

2003-01-15 Thread Colin Watson
On Wed, Jan 15, 2003 at 02:39:14PM +, Vanilla wrote:
 Please can anyone give me a bigger list, for my sources.list.
 I only have 3:
 
 deb http://http.us.debian.org/debian stable main contrib non-free
 deb http://non-us.debian.org/debian-non-US stable/non-US main contrib 
 non-free
 deb http://security.debian.org stable/updates main contrib non-free

Well, that's all of Debian stable. What else are you looking for?

-- 
Colin Watson  [[EMAIL PROTECTED]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: apt-get debconf

2003-01-15 Thread Harvey Kelly
Have a look at http://www.apt-get.org/ - pretty much anything you'd want is 
there.

Harvey

On Wed, Jan 15, 2003 at 02:39:14PM +, Vanilla wrote:
 Please can anyone give me a bigger list, for my sources.list.
 I only have 3:

 deb http://http.us.debian.org/debian stable main contrib non-free
 deb http://non-us.debian.org/debian-non-US stable/non-US main contrib
 non-free
 deb http://security.debian.org stable/updates main contrib non-free


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: apt-get debconf

2003-01-15 Thread Brian Potkin
On Wed, Jan 15, 2003 at 02:43:04PM +, Colin Watson wrote:

 On Wed, Jan 15, 2003 at 02:29:00PM +, Brian Potkin wrote:
  
  dpkg -s package name | grep debconf
  apt-cache show package name | grep debconf
 
 Probably 'dpkg -p' instead; 'dpkg -s' only shows minimal information for
 packages that aren't installed yet, not including dependencies.

Thanks for the correction.  I should really have used the dpkg manual to
refresh my memory. (And remembered to have tested the command on an
uninstalled package!)

Brian.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: apt-get debconf

2003-01-15 Thread Joao Paulo Serrachinha

I read somewhere that there are .deb packages like OpenOffice 1.0.1, 
Mozilla 1.0.2 created by people that we can trusth, for Debian Woody.

Thanks


Colin Watson wrote:

On Wed, Jan 15, 2003 at 02:39:14PM +, Vanilla wrote:
 

Please can anyone give me a bigger list, for my sources.list.
I only have 3:

deb http://http.us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib 
non-free
deb http://security.debian.org stable/updates main contrib non-free
   


Well, that's all of Debian stable. What else are you looking for?

 




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get debconf

2003-01-15 Thread Colin Watson
On Wed, Jan 15, 2003 at 06:52:13PM +, Joao Paulo Serrachinha wrote:
 I read somewhere that there are .deb packages like OpenOffice 1.0.1, 
 Mozilla 1.0.2 created by people that we can trusth, for Debian Woody.

  http://www.linux-debian.de/openoffice/mirrors.html

... for instance; Google will help you a lot here. Or try:

  http://www.apt-get.org/

Cheers,

-- 
Colin Watson  [[EMAIL PROTECTED]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Unstable - apt-get, debconf, dpkg Stuck?

2002-01-27 Thread Osamu Aoki
On Sat, Jan 26, 2002 at 05:47:23PM -0800, Tom M wrote:
 and the following packages are half configured:
 
 xterm
 kdm
 debconf
 gdm

If I were you, I fix debconf first.

You do not need X,... But without debconf, things are tough.

# apt-cache show debconf
Package: debconf

Version: 1.0.25
...
Depends: fileutils (= 4.0-5)
Pre-Depends: perl-base (= 5.6.1-4)
Recommends: apt-utils (= 0.5.1)
Suggests: debconf-doc, debconf-utils, whiptail | dialog | gnome-utils, 
liblocale-gettext-perl, libterm-readline-gnu-perl, libgnome-perl
Conflicts: debconf-utils ( 0.9), debconf-tiny, apt ( 0.3.12.1), menu (= 
2.1.3-1), dialog ( 0.9a-2730-1), whiptail ( 0.50.17-7), cdebconf ( 
0.10-5)
Filename: pool/main/d/debconf/debconf_1.0.25_all.deb

Now you know how to get.  Now you know where to get :)
Make sure to have Depends: and Pre-Depends: are meat.

Cheers.
PS: Even if dpkg are broken, you can use ar and tar to open .deb
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki [EMAIL PROTECTED], GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://qref.sourceforge.net/quick/  +



Unstable - apt-get, debconf, dpkg Stuck?

2002-01-26 Thread Tom M
Im running unstable with a self built 2.4.16 SMP
kernel.  A couple of weeks ago now, I ran apt-get
install upgrade, which completed sucessfully, but
didn't install all packages.  I then ran apt-get
upgrade again to get them, as per my normal practice
(is this not recommended?).  Some packages were
downloaded, it's been so long now I can't remember
which, but the process, whether it's apt-get, dpkg, or
debconf, hangs for an indefinite period right after
download, and I can't seem to work around it.

Apt-get -f install simply hangs again.

Apt-get clean and then trying again doesn't help, so
it's probably not the result of packages corrupted by
the download.

I've tried configuring all unconfigured packages
first, but some don't configure, and now debconf isn't
configured either (if it was before I tried to fix
things)  

I've tried removing packages and those dependent on
them to fix by reinstalling them.

Although I knew that there was little chance of
success, I even tried dropping back down to testing.  
All with no luck.

As it stands now, my system wants to install the
following uninstalled packages:

gconf
kdebase
xlibmesa 3

Dpkg -C indicates the following packages are currently
unconfigured:

adduser
libkonq3
libgconf11
libgdk-pixbuf-gnome2
gs-common
kdebase-libs
libgdk-pixbuf2

and the following packages are half configured:

xterm
kdm
debconf
gdm

I don't know how much of this is due to my own mucking
around.  My guess is that the problem lies with
debconf not being configured.  I tried forcibly
removing it and reinstalling it to no avail.

Whether my efforts have done more harm then good, it
appears I'm stuck with a system that won't update, and
request help from the community on how to proceed.



__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com



Re: apt-get/debconf uninitialized variable problem

2001-12-19 Thread Michael Wagner
On Montag, 17. Dez. 2001 at 14:01:18, java guru wrote:

  I had working woody and recently did a apt-get
dist-upgrade.

  I am having problems with post installation(at
settting up..stage).. Debconf seems to be complaining
like uninitialized variable in...

I cant proceed with any other apt-get or dpkg
installations. Please advice. 

Hello java guru,

I read in several NGs and MLs Postings from people who had the same
problem. The answer to the problem was that there is a problem with
pilot-link. If you have that package installed, first remove it,
finish your installation and then you can reinstall pilot-link.

Hth Michael

-- 
Registred Linux-User: 183712
GnuPG Key: B3F038DC 
GnuPG-fingerprint: 21A7 B384 6629 F320 8AFC  A2B5 4071 E5C3 B3F0 38DC



apt-get/debconf uninitialized variable problem

2001-12-17 Thread java guru
HI.,
  I had working woody and recently did a apt-get
dist-upgrade.

  I am having problems with post installation(at
settting up..stage).. Debconf seems to be complaining
like uninitialized variable in...

I cant proceed with any other apt-get or dpkg
installations. Please advice. 


=
Thanks and have great day
srini


For Stock Quotes, Finance News, Insurance, Tax Planners, Mutual Funds...
Visit http://in.finance.yahoo.com/



Re: apt-get/debconf uninitialized variable problem

2001-12-17 Thread Colin Watson
On Mon, Dec 17, 2001 at 02:01:18PM +, java guru wrote:
   I had working woody and recently did a apt-get
 dist-upgrade.
 
   I am having problems with post installation(at
 settting up..stage).. Debconf seems to be complaining
 like uninitialized variable in...

Please provide more information, including the exact text of the error
messages you're seeing, and which packages are being configured at the
time.

-- 
Colin Watson  [EMAIL PROTECTED]



Re: apt-get/debconf uninitialized variable problem

2001-12-17 Thread Colin Watson
On Mon, Dec 17, 2001 at 04:19:03PM +, java guru wrote:
 1. The exact message(part of) is as follows..

I'm following up back to the mailing list. I'd rather that other people
had the opportunity to reply as well as me, so please keep the
conversation on the list.

 uninitialized value in
 /usr/share/perl5/Debconf/Cache.pm and same problem
 repeats with other pms like Template.pm etc.

There should be more detail in the error messages, including line
numbers. It would be very useful if you could copy and paste them
word-for-word.

Interestingly, I can't find a Cache.pm in any version of debconf.
Perhaps Joey can make more sense of this, if he's reading.

 2. The package being configured at the time is
 debconf itself. Other package configurations fail as
 they depend on debconf.
 
 3. Just for your info, I have /usr/share/perl/5.6.1
 and also /usr/share/perl5. I am little confused over
 these two separate perl stuff, as someone mentioned
 about debconf problems with perl5.6.1. pl Ignore if
 this info is irrevalent here.

/usr/share/perl/5.6.1 is used by the perl packages themselves, and
/usr/share/perl5 is used by other packages that provide Perl modules.
Don't worry about this.

Cheers,

-- 
Colin Watson  [EMAIL PROTECTED]



Re: apt-get/debconf uninitialized variable problem

2001-12-17 Thread Joey Hess
  uninitialized value in
  /usr/share/perl5/Debconf/Cache.pm and same problem
  repeats with other pms like Template.pm etc.
 
 There should be more detail in the error messages, including line
 numbers. It would be very useful if you could copy and paste them
 word-for-word.
 
 Interestingly, I can't find a Cache.pm in any version of debconf.
 Perhaps Joey can make more sense of this, if he's reading.

It's /usr/share/perl5/Debconf/DbDriver/Cache.pm, or hs has a very wacked
system.

It appears that he has a corrupted debconf database. Send me a tarball
of /var/cache/debconf so I can do a post-mortem, then delete 
/var/cache/debconf/*.dat, and all whould be well. 

Have you experienced any system crashes, hangs, or disk failures
recently, while in the middle of installing something or using debconf?
This is probably fixed in unstable, but since nobody has ever found a
way to reproduce the problem, it's hard to be sure.

-- 
see shy jo



Re: apt-get/debconf uninitialized variable problem

2001-12-17 Thread java guru
 --- Joey Hess [EMAIL PROTECTED] wrote:   
uninitialized value in
   /usr/share/perl5/Debconf/Cache.pm and same
 problem
   repeats with other pms like Template.pm etc.
  
  There should be more detail in the error messages,
 including line
  numbers. It would be very useful if you could copy
 and paste them
  word-for-word.
  
  Interestingly, I can't find a Cache.pm in any
 version of debconf.
  Perhaps Joey can make more sense of this, if he's
 reading.
 
 It's /usr/share/perl5/Debconf/DbDriver/Cache.pm, or
 hs has a very wacked
 system.
 
 It appears that he has a corrupted debconf database.
 Send me a tarball
 of /var/cache/debconf so I can do a post-mortem,
 then delete 
 /var/cache/debconf/*.dat, and all whould be well.

Sure, I will, once I get home(from work).. 
 
 Have you experienced any system crashes, hangs, or
 disk failures
 recently, while in the middle of installing
 something or using debconf?
 This is probably fixed in unstable, but since nobody
 has ever found a
 way to reproduce the problem, it's hard to be sure.
You are right in that, I had system freeze on the way
to dist-upgrade. Sorry, if I am taking too much of
your time. I will send the /var/cache/debconf and
delete the debconf/*.dat to retry.

Thanks for your time.
srini
 
 -- 
 see shy jo 

=
Thanks and have great day
srini


For Stock Quotes, Finance News, Insurance, Tax Planners, Mutual Funds...
Visit http://in.finance.yahoo.com/



Re: [here is the output] apt-get/debconf uninitialized variable problem

2001-12-17 Thread java guru
Hi.,
  Here is the output when tried to install
something..Please dont mind the other unnecessary
contents.

thanks 
srini
 --- Joey Hess [EMAIL PROTECTED] wrote:   
uninitialized value in
   /usr/share/perl5/Debconf/Cache.pm and same
 problem
   repeats with other pms like Template.pm etc.
  
  There should be more detail in the error messages,
 including line
  numbers. It would be very useful if you could copy
 and paste them
  word-for-word.
  
  Interestingly, I can't find a Cache.pm in any
 version of debconf.
  Perhaps Joey can make more sense of this, if he's
 reading.
 
 It's /usr/share/perl5/Debconf/DbDriver/Cache.pm, or
 hs has a very wacked
 system.
 
 It appears that he has a corrupted debconf database.
 Send me a tarball
 of /var/cache/debconf so I can do a post-mortem,
 then delete 
 /var/cache/debconf/*.dat, and all whould be well. 
 
 Have you experienced any system crashes, hangs, or
 disk failures
 recently, while in the middle of installing
 something or using debconf?
 This is probably fixed in unstable, but since nobody
 has ever found a
 way to reproduce the problem, it's hard to be sure.
 
 -- 
 see shy jo 

=
Thanks and have great day
srini


For Stock Quotes, Finance News, Insurance, Tax Planners, Mutual Funds...
Visit http://in.finance.yahoo.com/

nohup.out
Description: nohup.out


apt-get/debconf brokenness

1999-11-25 Thread Darxus

The last couple times I've tried to do an apt-get dist-upgrade,
dpkg-preconfig failed.  A quick search of package contents on
http://www.debian.org/distrib/packages (that is very convienient, I
appreicate it a lot) shows that the program dpkg-preconfig is part of the
package debconf.  I go to /var/cache/apt/archives/ where apt-get -d
dist-upgrade just downloaded all the new .DEBs to, find a newer version
of debconf there, and do

 dpkg -i debconf_0.2.44_all.deb

Then my apt-get dist upgrade works.  This process is broken.  the current
version of debconf needs to be automatically installed *first* whenever an
apt-get dist-upgrade is done.  


btw, all of this stuff absolutely rocks when it works.  And I'd still like
to see the .deb  .rpm file formats merged to avoid a bit of duplication
of efforts.  Also, is there a commandline utility to search the contents
of packages (like http://www.debian.org/distrib/packages) yet ?


d-bm6-1c:/etc# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following NEW packages will be installed:
  libace5.0
The following packages have been kept back
  fvwm guile1.3 libmime-base64-perl mixviews perl-tk
55 packages upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 0B/19.7MB of archives. After unpacking 4841kB will be used.
Do you want to continue? [Y/n] y
Configuring packages ...
E: Sub-process dpkg-preconfig --apt exited unexpectedly
E: Failure running script dpkg-preconfig --apt

d-bm6-1c:/var/log# cd /var/cache/apt/archives/
d-bm6-1c:/var/cache/apt/archives# dpkg -i debconf_0.2.44_all.deb

apt-get dist-upgrade then works.
__
PGP fingerprint = 03 5B 9B A0 16 33 91 2F  A5 77 BC EE 43 71 98 D4
[EMAIL PROTECTED] / http://www.op.net/~darxus
 Find the next largest prime, be famous:
http://www.mersenne.org/prime.htm