LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-05-2005, 08:36 PM   #1
btartsa
LQ Newbie
 
Registered: Jul 2004
Location: Portland OR
Distribution: Arch Linux
Posts: 12

Rep: Reputation: 0
apt / dpkg-preconfigure problem


Hi,
Im running Debian and have developed a problem with apt. It seems that my dpkg-preconfigure script has somehow become corrupted. I have recently run apt-get update and apt-get upgrade and think the problem began at that point. I looked into reinstalling dpkg but I got a warning that required that I type "Yes,I really want to do this". Sounds bad to me. So heres the dump, any help and input is appreciated.

Ben

btartsa@burnside:~$ sudo apt-get install gimp-data-extras
Password:
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
gimp-data-extras
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 4698kB of archives.
After unpacking 8675kB of additional disk space will be used.
Get:1 http://debian.uchicago.edu unstable/main gimp-data-extras 1:2.0.1-3 [4698kB ]
Fetched 4698kB in 10s (434kB/s)
String found where operator expected at /usr/sbin/dpkg-preconfigure line 96, near "die sprintf(gettext(""
(Might be a runaway multi-line "" string starting on line 94)
(Missing semicolon on previous line?)
Bareword found where operator expected at /usr/sbin/dpkg-preconfigure line 96, ne ar "die sprintf(gettext("debconf"
(Do you need to predeclare die?)
Unquoted string "debconf" may clash with future reserved word at /usr/sbin/dpkg-p reconfigure line 96.
String found where operator expected at /usr/sbin/dpkg-preconfigure line 103, nea r "gettext(""
(Might be a runaway multi-line "" string starting on line 96)
(Missing semicolon on previous line?)
Bareword found where operator expected at /usr/sbin/dpkg-preconfigure line 104, n ear "$package, $confmodule"
(Might be a runaway multi-line ff string starting on line 103)
(Missing operator before dule?)
Unquoted string "dule" may clash with future reserved word at /usr/sbin/dpkg-prec onfigure line 104.
syntax error at /usr/sbin/dpkg-preconfigure line 96, near "die sprintf(gettext(""
Unmatched right curly bracket at /usr/sbin/dpkg-preconfigure line 108, at end of line
syntax error at /usr/sbin/dpkg-preconfigure line 108, near "}"
Execution of /usr/sbin/dpkg-preconfigure aborted due to compilation errors.
Selecting previously deselected package gimp-data-extras.
(Reading database ... 41109 files and directories currently installed.)
Unpacking gimp-data-extras (from .../gimp-data-extras_1%3a2.0.1-3_all.deb) ...
Setting up gimp-data-extras (2.0.1-3) ...
btartsa@burnside:~$
 
Old 02-06-2005, 12:49 AM   #2
btartsa
LQ Newbie
 
Registered: Jul 2004
Location: Portland OR
Distribution: Arch Linux
Posts: 12

Original Poster
Rep: Reputation: 0
Solved the problem...the dpkg-preconfigure script in the current unstable package list is junk. Heres a patch that works. Replace /usr/sbin/dpkg-preconfigure with this:

http://cbill.ath.cx/dpkg-preconfigure

Ben

Last edited by btartsa; 02-07-2005 at 12:18 PM.
 
Old 02-07-2005, 02:45 PM   #3
KrOcO
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
It works fine !!!

Thx for your post

All work fine now !!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
APT/dpkg errors! /var/lib/dpkg/status bassclarinet Debian 17 12-01-2011 09:24 AM
dpkg not working nor apt-get alhaidry Debian 2 08-12-2004 08:45 AM
apt-get/dpkg problem Ztyx Debian 2 12-12-2003 12:39 PM
apt-get/dpkg failure ls3 Debian 3 11-18-2003 02:27 PM
debian apt-get dpkg eltongeoff Linux - Software 0 03-12-2003 11:46 PM


All times are GMT -5. The time now is 01:32 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration