LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   MEPIS (https://www.linuxquestions.org/questions/mepis-64/)
-   -   Apt Upgrade Error (https://www.linuxquestions.org/questions/mepis-64/apt-upgrade-error-386280/)

BittaBrotha 11-24-2005 09:36 PM

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.

JackieBrown 11-24-2005 09:45 PM

I don't have it installed.

BittaBrotha 11-24-2005 10:15 PM

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?

mos 11-25-2005 12:31 AM

I posted a solution here

BittaBrotha 11-25-2005 01:48 AM

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'

mos 11-25-2005 01:54 AM

thats covered in that thread as well

BittaBrotha 11-26-2005 01:27 AM

Got it fixed, thnx for all the help.


All times are GMT -5. The time now is 01:35 AM.