MEPISThis forum is for the discussion of MEPIS Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Will I then have a set of Debian-testing packages? Will my system be broken in anyway?
I want to have the testing version of Debian, but it is too much of a hassle. Mepis on the other hand offers me the power of Debian with ease and simplicity, and comes preloaded with a lot of goodies and so I thought this would be an easy way to have Etch packages.
Distribution: ArchLinux (Can use any distro though)
Posts: 231
Rep:
if you want a mepis system with testing i suggest you download 2004.06 alter the sources.list and upgrade from there (it will be a very sizable upgrade) the later releases already have quite a few files from unstable and are hard to downgrade to testing.
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)
Try this on some-else's computer first before trying it on your own. ;-)
[I had apt set to unstable]
I had a2ps pinned, worked for me.
I unpinned and upgraded, complained of errors.
Tried to make sense of your last tip Moz, didn't quite work for me, different errors but better ones. :-)
So...I...
Uninstalled [removed resdual as well] a2ps, that ment apsfilter as well for me.
Then Uninstalled [removed resdual as well] emacsen-common
Re-installed a2ps, then apsfilter, then emacsen-common.
That stoped the errors, all things happy.
I have skype, ndiswrapper-utils, rt2400 pinned at the moment, some problems/errors, not using any of their features.
NH
Hmm.. So those are the other programs that can cause potential dist-upgrade problems..do any body else know of any other programs in default Mepis installation that are likely to candidates for errors during apt-get dist-upgrade to testing?
Bump! Bump! I've been working on updating several different systems from Meops 3.3.2 test 03 for a few weeks now.
I've found everything aside from this a2ps thing easy to fix. The ndiswrapper package can be uninstalled and re-installed and no longer cause a problem with apt (though I find it doesn't work as well - it's probably better to build from CVS anyway). I swear I tried removing and re-installing a2ps and emacsen-common before - but it didn't work. So on a fresh install I tried what mos suggested and, I too received different errors:
Preparing to replace a2ps 1:4.13b-4.3 (using .../a2ps_1%3a4.13b-5_i386.deb) ...
/usr/lib/emacsen-common/packages/remove/a2ps: line 7: [: !=: unary operator expected
Unpacking replacement a2ps ...
Setting up a2ps (4.13b-5) ...
Installing new version of config file /etc/a2ps.cfg ...
/usr/lib/emacsen-common/packages/install/a2ps: line 11: [: =: unary operator expected
install/a2ps: Handling install for emacsen flavor
/usr/lib/emacsen-common/packages/install/a2ps: line 42: -q: command not found
emacs-package-install: /usr/lib/emacsen-common/packages/install/a2ps failed at /usr/lib/emacsen-common/emacs-package-install line 30, <TSORT> line 1.
dpkg: error processing a2ps (--configure):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
a2ps
E: Sub-process /usr/bin/dpkg returned an error code (1)
Following Nix_Hard's advice, as root I removed and reinstalled the affected packages:
Originally posted by virtualx Bump! Bump! snip...So on >>> a fresh install <<< I tried what mos suggested and, I too received different errors ...snip
Just did it again myself, a fresh install on a IBM r40 ThinkPad, would not work doing it my way, backed up a little and read what virtualx had said, BINGO !!!
Mos was so right.
You have to apply his fix as stated, then my routine. Then the problem is gone.
Both myself & virtualx did mos's fix first [needs that file], before my uninstall/re-install routine. That's why it worked.
Hope this helps clear things up further.
NH
So I'm the lucky one who gets to follow up on mos's comment... --I borked the other machine that was only slightly broken due to a problem related to this. From what I understood mos was saying that I should be able to get away with just:
This did not work and I had to remove/reinstall a2ps and emacsen-common as stated before.
If anyone cares here's some more detail for reference:
After applying what I thought was mos's solution (listed above) I got the following error with regard to a2ps:
Code:
# apt-get install a2ps
Reading package lists... Done
Building dependency tree... Done
a2ps is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up a2ps (4.13b-5) ...
/usr/lib/emacsen-common/packages/install/a2ps: line 11: [: =: unary operator expected
install/a2ps: Handling install for emacsen flavor
/usr/lib/emacsen-common/packages/install/a2ps: line 42: -q: command not found
emacs-package-install: /usr/lib/emacsen-common/packages/install/a2ps emacs21 failed at /usr/lib/emacsen-common/emacs-package-install line 30, <TSORT> line 1.
dpkg: error processing a2ps (--configure):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
a2ps
E: Sub-process /usr/bin/dpkg returned an error code (1)
The reason I borked the machine and decided to go for a fresh install:
This thread wasn't here when I originally encountered the problem, so I had reduced the problem to tying to remove emacsen-common and it wouldn't uninstall. So I started uninstalling emacs everything and got stuck at emacs21-nox - it partially uninstalled, but I stopped it because it was taking forever (some program dpkg was using to decompile and cross check original dependencies was working hard, but not seeming to get anywhere). When I figured out what was going on I tried to let it continue, but it was too late - couldn't do anything --purge or --force-remove-reinstreq or remove the dir manually got me no where - took a suggestion to play with deselect - it uninstalled all window and desktop managers, then eventually it fscked X after I installed litestep and kdesktop etc.
In conclusion, to save time if you get the a2ps error just:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.