LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 11-24-2005, 09:36 PM   #1
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Apt Upgrade Error


Everytime I do an apt-get upgrade, it always stop with this error message:

My source list uses etch & sid sources.

Preconfiguring packages ...
(Reading database ... 71151 files and directories currently installed.)
Preparing to replace a2ps 1:4.13b-4.3 (using .../a2ps_1%3a4.13b-5_i386.deb) ...
ERROR: emacsen-common being used before being configured.
ERROR: This is likely a bug in the a2ps package, which needs to
ERROR: add one of the appropriate dependencies.
ERROR: See /usr/share/doc/emacsen-common/debian-emacs-policy.gz
ERROR: for details.
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
ERROR: emacsen-common being used before being configured.
ERROR: This is likely a bug in the a2ps package, which needs to
ERROR: add one of the appropriate dependencies.
ERROR: See /usr/share/doc/emacsen-common/debian-emacs-policy.gz
ERROR: for details.
dpkg: error processing /var/cache/apt/archives/a2ps_1%3a4.13b-5_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/a2ps_1%3a4.13b-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Do I really need a2ps or can I remove it?

Any suggestions on how to fix it?

Thnx.
 
Old 11-24-2005, 09:45 PM   #2
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
I don't have it installed.
 
Old 11-24-2005, 10:15 PM   #3
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Original Poster
Rep: Reputation: 31
It seems trying to remove a2ps is dependent on emacsen-common, and removing both gives the same or similar error. I can't seem to remove either.

Any other ideas?
 
Old 11-25-2005, 12:31 AM   #4
mos
Member
 
Registered: May 2005
Location: Orlando, Fl
Distribution: ArchLinux (Can use any distro though)
Posts: 231

Rep: Reputation: 30
I posted a solution here
 
Old 11-25-2005, 01:48 AM   #5
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Original Poster
Rep: Reputation: 31
Thnx mos, I just followed along with the link to the other thread and from what I can tell, it seems to have worked.

I did have to remove and reinstall a2ps & the emacsen-common.

So I was able to finish doing the apt-get upgrade and in the end, this appeared, not sure if its a problem or not

'Unpacking emacsen-common (from .../emacsen-common_1.4.16_all.deb) ...
Setting up emacsen-common (1.4.16) ...
emacsen-common: Handling install of emacsen flavor emacs
emacsen-common: Handling install of emacsen flavor
/usr/lib/emacsen-common/packages/install/emacsen-common: line 10: [: !=: unary operator expected'
 
Old 11-25-2005, 01:54 AM   #6
mos
Member
 
Registered: May 2005
Location: Orlando, Fl
Distribution: ArchLinux (Can use any distro though)
Posts: 231

Rep: Reputation: 30
thats covered in that thread as well
 
Old 11-26-2005, 01:27 AM   #7
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Original Poster
Rep: Reputation: 31
Got it fixed, thnx for all the help.
 
  


Reply



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
debian apt-get upgrade error strattonbrazil Debian 4 11-17-2005 06:52 AM
Apt-get upgrade error Quietus25 Linux - Newbie 3 07-11-2005 07:02 PM
error after apt-get upgrade... twkz Debian 10 07-04-2005 09:28 AM
Error on 'apt-get upgrade' slackmagic Linux - Software 1 05-04-2004 02:54 PM
error with apt-get upgrade bronko Debian 6 01-07-2004 06:10 PM

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

All times are GMT -5. The time now is 03:48 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
Open Source Consulting | Domain Registration