LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-29-2003, 02:58 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,679

Rep: Reputation: 55
Problem in running dpkg --configure -a


Hi folks,

Debina (testing/unstable - 3.0)

On running
# dselect update
Hit ftp://ftp.hk.debian.org testing/main Packages
Hit ftp://ftp.hk.debian.org testing/main Release
Hit ftp://ftp.hk.debian.org testing/main Sources
Hit ftp://ftp.hk.debian.org testing/main Release
Hit ftp://ftp.hk.debian.org testing/main Packages
Hit ftp://ftp.hk.debian.org testing/main Release
Hit ftp://ftp.hk.debian.org testing/main Sources
Hit ftp://ftp.hk.debian.org testing/main Release
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://security.debian.org stable/updates/contrib Release
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to
correct the problem.

update available list script returned error exit status 1.
Press <enter> to continue.

Then I ran;
# dpkg --configure -a
Setting up foomatic-filters (3.0.0-20031207-1) ...
Configuration file `/etc/foomatic/filter.conf'
_==> File on system created by you or by a script.
_==> File also in package provided by package maintainer.
_ _What would you like to do about it ? _Your options are:
_ _ Y or I _: install the package maintainer's version
_ _ N or O _: keep your currently-installed version
_ _ _ D _ _ : show the differences between the versions
_ _ _ Z _ _ : start a new shell to examine the situation
_The default action is to keep your current version.
*** _filter.conf _(Y/I/N/O/D/Z) [default=N] ? _D/Y/N and <Enter> (I tried all
of them). _

It hanged here and I could not proceed further

Kindly advise how to fix the problem

B.R.
satimis
 
Old 12-29-2003, 07:32 AM   #2
Nigel_Tufnel
Member
 
Registered: Jul 2002
Location: Easton, PA
Distribution: Debian, Kubuntu, Arch
Posts: 116

Rep: Reputation: 15
I hit the same exact problem when upgrading from 'testing' to 'unstable' a couple days ago. It must be a problem with the package. Anyone have any ideas on how to purge the foomatic package?
 
Old 12-30-2003, 07:19 AM   #3
Nigel_Tufnel
Member
 
Registered: Jul 2002
Location: Easton, PA
Distribution: Debian, Kubuntu, Arch
Posts: 116

Rep: Reputation: 15
Others have had the same problem with this package. Hulkprotector posted a fix:

echo foomatic purge | dpkg --set-selections


Link to knoppix forum discussing other apt-get options and tricks:
http://www.knoppix.net/forum/viewtopic.php?t=2638
 
Old 12-30-2003, 07:05 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,644

Rep: Reputation: 111Reputation: 111
Re: Problem in running dpkg --configure -a

Quote:
Originally posted by satimis
Hi folks,

Debina (testing/unstable - 3.0)

On running
# dselect update
Hit ftp://ftp.hk.debian.org testing/main Packages
Hit ftp://ftp.hk.debian.org testing/main Release
Hit ftp://ftp.hk.debian.org testing/main Sources
Hit ftp://ftp.hk.debian.org testing/main Release
Hit ftp://ftp.hk.debian.org testing/main Packages
Hit ftp://ftp.hk.debian.org testing/main Release
Hit ftp://ftp.hk.debian.org testing/main Sources
Hit ftp://ftp.hk.debian.org testing/main Release
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://security.debian.org stable/updates/contrib Release
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to
correct the problem.

update available list script returned error exit status 1.
Press <enter> to continue.

Then I ran;
# dpkg --configure -a
Setting up foomatic-filters (3.0.0-20031207-1) ...
Configuration file `/etc/foomatic/filter.conf'
_==> File on system created by you or by a script.
_==> File also in package provided by package maintainer.
_ _What would you like to do about it ? _Your options are:
_ _ Y or I _: install the package maintainer's version
_ _ N or O _: keep your currently-installed version
_ _ _ D _ _ : show the differences between the versions
_ _ _ Z _ _ : start a new shell to examine the situation
_The default action is to keep your current version.
*** _filter.conf _(Y/I/N/O/D/Z) [default=N] ? _D/Y/N and <Enter> (I tried all
of them). _

It hanged here and I could not proceed further

Kindly advise how to fix the problem

B.R.
satimis
I read a post on Debian User mailing list about this the solution suggested there was to move the /etc/foomatic/filter.conf to a backup file then do the configure and there should be no problem as the file is not there when the replacemeet happens.
 
Old 12-31-2003, 03:41 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,679

Original Poster
Rep: Reputation: 55
Hi folks,

Thanks for your advice.

To my surprize the Debian box (testing/unstable) is now working normal again after leaving it untouched for one day.

On Konsole
# dpkg --configure -a
it went through without problem

# apt-get update
also without porblem

Now Kmail can send and receive mails again (after that incident, it can't send mail, alwasy indicating without "sender". I re-checked "Settings -> Configure Kmail" several times without discovering any problem there)

Maybe this is the problem of "Testing/Unstable version"

On Konsole
# dselect update
# apt-get dist-updat
Invalid Operation dist-update

Kindly advise what does it mean

TIA

Happpy New Year and B.R.
satimis
 
Old 12-31-2003, 04:12 AM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,644

Rep: Reputation: 111Reputation: 111
Quote:
Originally posted by satimis
Hi folks,


Now Kmail can send and receive mails again (after that incident, it can't send mail, alwasy indicating without "sender". I re-checked "Settings -> Configure Kmail" several times without discovering any problem there)

Maybe this is the problem of "Testing/Unstable version"


No it is not I run a similar setup and have no problems with Kmail you should check to see what you have installed for KDE there has to be a problem in there somewhere to check:
Code:
>$ COLUMNS=125 dpkg -l | grep 3.1.[34]
ii  ark                       3.1.4-1                   KDE archiving tool
ii  gawk                      3.1.3-2                   GNU awk, a pattern scanning and processing language
ii  kaddressbook              3.1.4-1                   KDE NG addressbook application
ii  kappfinder                3.1.3-1                   KDE Application Finder
ii  kate                      3.1.3-1                   KDE Advanced Text Editor
ii  kcontrol                  3.1.3-1                   KDE Control Center
ii  kdeartwork-theme-desktop  3.1.4-2                   Dummy upgrade package for official KDE desktop themes
ii  kdeartwork-theme-icon     3.1.4-2                   icon themes released with KDE
ii  kdebase                   3.1.3-1                   KDE Base metapackage
ii  kdebase-bin               3.1.3-1                   KDE Base (binaries)
ii  kdebase-data              3.1.3-1                   KDE Base (shared data)
ii  kdebase-kio-plugins       3.1.3-1                   KDE I/O Slaves
ii  kdelibs                   3.1.4-3                   KDE core libraries metapackage
ii  kdelibs-bin               3.1.4-3                   KDE core binaries
ii  kdelibs-data              3.1.4-3                   KDE core shared data
ii  kdelibs4                  3.1.4-3                   KDE core libraries
ii  kdepim-libs               3.1.4-1                   KDE PIM libraries
ii  kdeprint                  3.1.3-1                   KDE Print
ii  kdesktop                  3.1.3-1                   KDE Desktop
ii  kdewallpapers             3.1.4-2                   wallpapers released with KDE
ii  kdm                       3.1.4-1                   KDE Display Manager
ii  kfind                     3.1.3-1                   KDE File Find Utility
ii  kget                      3.1.4-1                   KDE Download Manager
ii  kghostview                3.1.4-1                   PostScript viewer for KDE
ii  khelpcenter               3.1.3-1                   KDE Help Center
ii  kicker                    3.1.3-1                   KDE Desktop Panel
ii  klipper                   3.1.3-1                   KDE Clipboard
ii  kmail                     3.1.4-1                   KDE Email client
ii  kmailcvt                  3.1.4-1                   KDE KMail addressbook converter
ii  kmenuedit                 3.1.3-1                   KDE Menu Editor
ii  kompare                   3.1.4-3                   a KDE GUI for viewing differences between files
ii  konqueror                 3.1.3-1                   KDE's advanced File Manager, Web Browser and Document Viewer
ii  konqueror-nsplugins       3.1.3-1                   Netscape plugin support for Konqueror
ii  konsole                   3.1.3-1                   KDE X terminal emulator
ii  kpager                    3.1.3-1                   KDE Desktop Pager
ii  kpersonalizer             3.1.3-1                   KDE Personalizer
ii  ksmserver                 3.1.3-1                   KDE Session Manager
ii  ksplash                   3.1.3-1                   KDE Splash Screen
ii  ksysguard                 3.1.3-1                   KDE System Guard
ii  ksysguardd                3.1.3-1                   KDE System Guard Daemon
ii  ktip                      3.1.3-1                   Kandalf's Useful Tips
ii  kuickshow                 3.1.4-1                   KDE image/slideshow viewer
ii  kview                     3.1.4-1                   KDE simple image viewer/converter
ii  kwin                      3.1.3-1                   KDE Window Manager
ii  libkdenetwork2            3.1.4-1                   KDE Network (common libraries)
ii  libkonq4                  3.1.3-1                   Core libraries for KDE's file manager
ii  libmimelib1               3.1.4-1                   KDE network mime library
ii  xfonts-konsole            3.1.3-1                   Fonts used by the KDE Konsole


Quote:
On Konsole
# dselect update
# apt-get dist-updat
Invalid Operation dist-update

Kindly advise what does it mean
You are using the wrong command it would be dist-upgrade then you would be upgrading your distribution but you really do not want to do this unless you change your distribution you are tracking from testing/unstable to just pure unstable then you use this command to upgrade the packages to the new distribution.
Quote:
TIA

Happpy New Year and B.R.
satimis
Same to you.
 
  


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 16 12-01-2011 10:24 AM
dpkg is dead! error in /var/lib/dpkg/available dezert_fox Debian 4 11-22-2011 11:28 AM
dpkg-buildpackage: passing ./configure options? neocookie Debian 3 08-27-2008 10:20 PM
dpkg: error processing libc6 (--configure) spid3r DamnSmallLinux 1 10-18-2005 04:53 PM
dpkg: error processing libpam-runtime (--configure): kkrzyho Debian 2 04-14-2004 05:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:40 PM.

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