Posts: 66
santotomas
Joined: 25 Aug 2014

31 Aug 2014, 10:03 #1

I have AntiX 14R alpha-1. It had been quite suitable as an OS for my needs on this 7 year old (former Win XP) computer; that is until I installed Chromium through Synaptic. The install, in fact, did not go smoothly as it was interrupted. Although I can use Chromium, my PC crashes after a few minutes on on line use, even when I'm in Iceweasel. When I try to access Synaptic through CC I get this message:
An error ocurred:

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.


Can anyone give this newbie some pointers? I know very little about using the terminal but I'm willing to learn. I would also like to know how to uninstall software completely in AntiX, as it is not at all clear anywhere how to do that.
Posts: 667
jdmeaux1952
Joined: 01 Nov 2013
#2
First, in a terminal run

Code: Select all

inxi -F
and paste the results in your reply.

You need to be aware that most"alpha 1" programs are test programs. There are bugs all over. Depending on what other programs you use, it may run okay until it hits a bad spot. Then CHAOS.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#3
first thing to try is running the command

dpkg --configure -a

as root in the terminal. hopefully that will clear things up.

as to uninstalling, in synaptic right click on the package and click"remove completely". running"apt-get purge packagename" will do it from the command line.
Posts: 66
santotomas
Joined: 25 Aug 2014
#4
Thank you both for your help and quick response. Dolphin Oracle, thanks for the first fix- it retored my access to synaptic. I tried uninstalling Chromium through Synaptic first but when I clicked"apply," it gave me this message:

E: chromium-dbg: package is in a very bad inconsistent state; you should reinstall it before attempting a removal

I am ready to try uninstalling it through the command line but I thought I'd check with you first. Would it be wise to do that? Today I'm experiencing a couple of crashes with my browser. I can't wait to remove Chromium. Thanks in advance.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#5
you can try apt-get remove chromium from the cli, but I have found that following apt's (which is still the backend for synaptic) advice is usually good, so if it is recommending reinstalling chromium before attempting a uninstall, I'm inclined to go that route.
Posts: 66
santotomas
Joined: 25 Aug 2014
#6
Dolphin Oracle,

Thanks so much for responding so quickly. I've hit some kind of snag. I went ahead and tried to re-install Chromium through Synaptic in order to, then, uninstall it but I got this message:

E: chromium-dbg: package is in a very bad inconsistent state; you should reinstall it before attempting a removal

It's the chromium-dbg package that is holding things up it seems. It won't reinstall either. Thank you again for your help!
Posts: 88
kmathern
Joined: 25 Aug 2012
#7
santotomas wrote:... I got this message:

E: chromium-dbg: package is in a very bad inconsistent state; you should reinstall it before attempting a removal
Do you have a good reason for installing the chromium-dbg package?

The"-dbg" package installs the debugging symbols for the chromium web browser, but you probably don't need them.
(you would need them if you were using GDB to do some heavy-duty troubleshooting/debugging of some problem with Chromium)

Also the installed size of the chromium-dbg package is quite large (approx. 570MB).
Posts: 66
santotomas
Joined: 25 Aug 2014
#8
kmathern,

I agree with you that it is quite large a file and NO, I don't need it. I'd just as soon uninstall it, if only Synaptic would oblige me! This is what I want to do, simply, remove- uninstall Chromium- but it says I can't until I re-install chromium-dbg.

Thank you also for your kind response to my enigma here. You guys are GREAT!
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#9
Well, instead of using synaptic to uninstall chromiium. Since all synaptic is, is a limited graphical frontend of apt anyways.
Maybe try in AntiX root terminal.

Code: Select all

sudo apt-get --force-yes remove chromium-browser
Just to see what happens. To copy and paste in AntiX root terminal. If using a wheel mouse. Use the middle scroll whell or button.
On a 2 button laptop. Just highlight with left click. Then to paste hit both laptop touchpad buttons exactly at the same time.

Happy Trails. Rok
Posts: 66
santotomas
Joined: 25 Aug 2014
#10
Thank you Rok! __{{emoticon}}__ I went through the Rox terminal with your fix and this is what I got:

sudo apt-get --force-yes remove chromium-browser
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'chromium-browser' is not installed, so not removed
The following packages were automatically installed and are no longer required:
hplip-data libcolord1 libpython3.3-minimal libpython3.3-stdlib libsane-hpaio
printer-driver-brlaser python-pexpect python-reportlab
python-reportlab-accel python3.3 python3.3-minimal
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
chromium-dbg
The following packages will be upgraded:
chromium-dbg
1 upgraded, 0 newly installed, 0 to remove and 1054 not upgraded.
3 not fully installed or removed.
Need to get 0 B/623 MB of archives.
After this operation, 2,403 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package chromium-dbg.
(Reading database ... 225130 files and directories currently installed.)
Preparing to unpack .../chromium-dbg_35.0.1916.153-2_i386.deb ...
Unpacking chromium-dbg (35.0.1916.153-2) over (35.0.1916.153-2) ...
Setting up isc-dhcp-server (4.3.0+dfsg-2) ...
Job for isc-dhcp-server.service failed. See 'systemctl status isc-dhcp-server.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript isc-dhcp-server, action"start" failed.
dpkg: error processing package isc-dhcp-server (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up chromium-dbg (35.0.1916.153-2) ...
dpkg: dependency problems prevent configuration of ltsp-server-standalone:
ltsp-server-standalone depends on isc-dhcp-server | dhcp3-server | dnsmasq; however:
Package isc-dhcp-server is not configured yet.
Package dhcp3-server is not installed.
Package dnsmasq is not installed.

dpkg: error processing package ltsp-server-standalone (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
isc-dhcp-server
ltsp-server-standalone
E: Sub-process /usr/bin/dpkg returned an error code (1)

I assume that the issue with Chromium, for my purposes, is resolved. Should I go into Synaptic and do anything else? Looks like your fix worked. Thank you all again!
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#11
Lets try some cleaning in a terminal, and run in root terminal:

Code: Select all

apt-get clean

Code: Select all

apt-get autoclean

Code: Select all

apt-get autoremove
Now to start over

Code: Select all

apt-get update

Code: Select all

apt-get install -f
The last command is to fix broken packages.
Posts: 66
santotomas
Joined: 25 Aug 2014
#12
Rok, I proceeded with your series of commands and these were the responses on the terminal

root@usual362:/home/aidylm# apt-get clean
root@usual362:/home/aidylm# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
hplip-data libcolord1 libpython3.3-minimal libpython3.3-stdlib libsane-hpaio
printer-driver-brlaser python-pexpect python-reportlab
python-reportlab-accel python3.3 python3.3-minimal
0 upgraded, 0 newly installed, 11 to remove and 1051 not upgraded.
2 not fully installed or removed.
After this operation, 30.2 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 225139 files and directories currently installed.)
Removing hplip-data (3.14.6-1) ...
Removing libcolord1:i386 (1.0.6-1) ...
Removing python3.3 (3.3.5-1) ...
Removing python3.3-minimal (3.3.5-1) ...
Unlinking and removing bytecode for runtime python3.3
Removing libpython3.3-stdlib:i386 (3.3.5-1) ...
dpkg-query: no packages found matching pkgname
Removing libpython3.3-minimal:i386 (3.3.5-1) ...
dpkg-query: no packages found matching pkgname
Removing libsane-hpaio (3.14.6-1) ...
Removing printer-driver-brlaser (3-3) ...
Removing python-pexpect (3.1-1) ...
Removing python-reportlab (3.0-1) ...
Removing python-reportlab-accel (3.0-1) ...
Processing triggers for libc-bin (2.19-7) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for gnome-menus (3.13.3-1) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.54) ...
Processing triggers for menu (2.1.46) ...
Processing triggers for cups (1.7.4-4) ...
Updating PPD files for gutenprint ...
PPD for printer Canon-iP1900-series updated
Setting up isc-dhcp-server (4.3.0+dfsg-2) ...
Job for isc-dhcp-server.service failed. See 'systemctl status isc-dhcp-server.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript isc-dhcp-server, action"start" failed.
dpkg: error processing package isc-dhcp-server (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ltsp-server-standalone:
ltsp-server-standalone depends on isc-dhcp-server | dhcp3-server | dnsmasq; however:
Package isc-dhcp-server is not configured yet.
Package dhcp3-server is not installed.
Package dnsmasq is not installed.

dpkg: error processing package ltsp-server-standalone (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
isc-dhcp-server
ltsp-server-standalone
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@usual362:/home/aidylm# apt-get update
Err
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org"
linktext was:"http://ftp.us.debian.org"
====================================
testing InRelease

Err
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://security.debian.org"
linktext was:"http://security.debian.org"
====================================
testing/updates InRelease

Err
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org"
linktext was:"http://ftp.us.debian.org"
====================================
experimental InRelease

Err
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org"
linktext was:"http://ftp.us.debian.org"
====================================
testing Release.gpg
Could not resolve 'ftp.us.debian.org'
Err
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://security.debian.org"
linktext was:"http://security.debian.org"
====================================
testing/updates Release.gpg
Could not resolve 'security.debian.org'
Err
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org"
linktext was:"http://ftp.us.debian.org"
====================================
experimental Release.gpg
Could not resolve 'ftp.us.debian.org'
Err
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.daveserver.info"
linktext was:"http://antix.daveserver.info"
====================================
stable InRelease

Err
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.daveserver.info"
linktext was:"http://antix.daveserver.info"
====================================
testing InRelease

Err
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.daveserver.info"
linktext was:"http://antix.daveserver.info"
====================================
stable Release.gpg
Could not resolve 'antix.daveserver.info'
Err
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.daveserver.info"
linktext was:"http://antix.daveserver.info"
====================================
testing Release.gpg
Could not resolve 'antix.daveserver.info'
Reading package lists... Done
W: Failed to fetch
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.daveserver.info/stable/dists/stable/InRelease"
linktext was:"http://antix.daveserver.info/stable/dis ... /InRelease"
====================================


W: Failed to fetch
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.daveserver.info/testing/dists/testing/InRelease"
linktext was:"http://antix.daveserver.info/testing/di ... /InRelease"
====================================


W: Failed to fetch
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/dists/testing/InRelease"
linktext was:"http://ftp.us.debian.org/debian/dists/testing/InRelease"
====================================


W: Failed to fetch
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://security.debian.org/dists/testing/updates/InRelease"
linktext was:"http://security.debian.org/dists/testin ... /InRelease"
====================================


W: Failed to fetch
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/dists/experimental/InRelease"
linktext was:"http://ftp.us.debian.org/debian/dists/e ... /InRelease"
====================================


W: Failed to fetch
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/dists/testing/Release.gpg"
linktext was:"http://ftp.us.debian.org/debian/dists/t ... elease.gpg"
====================================
Could not resolve 'ftp.us.debian.org'

W: Failed to fetch
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://security.debian.org/dists/testing/updates/Release.gpg"
linktext was:"http://security.debian.org/dists/testin ... elease.gpg"
====================================
Could not resolve 'security.debian.org'

W: Failed to fetch
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/dists/experimental/Release.gpg"
linktext was:"http://ftp.us.debian.org/debian/dists/e ... elease.gpg"
====================================
Could not resolve 'ftp.us.debian.org'

W: Failed to fetch
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.daveserver.info/stable/dists/stable/Release.gpg"
linktext was:"http://antix.daveserver.info/stable/dis ... elease.gpg"
====================================
Could not resolve 'antix.daveserver.info'

W: Failed to fetch
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.daveserver.info/testing/dists/testing/Release.gpg"
linktext was:"http://antix.daveserver.info/testing/di ... elease.gpg"
====================================
Could not resolve 'antix.daveserver.info'

W: Some index files failed to download. They have been ignored, or old ones used instead.
root@usual362:/home/aidylm# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1100 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up isc-dhcp-server (4.3.0+dfsg-2) ...
Job for isc-dhcp-server.service failed. See 'systemctl status isc-dhcp-server.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript isc-dhcp-server, action"start" failed.
dpkg: error processing package isc-dhcp-server (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ltsp-server-standalone:
ltsp-server-standalone depends on isc-dhcp-server | dhcp3-server | dnsmasq; however:
Package isc-dhcp-server is not configured yet.
Package dhcp3-server is not installed.
Package dnsmasq is not installed.

dpkg: error processing package ltsp-server-standalone (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
isc-dhcp-server
ltsp-server-standalone
E: Sub-process /usr/bin/dpkg returned an error code (1)

I then logged out and rebooted. All seems to be working well.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#13
I then logged out and rebooted. All seems to be working well.
__{{emoticon}}__ Well that is good news. But somehow. I don't know how. Reading your readouts.

You have 2 broken package installs going on. Usually a install -f will fix this but npt in your case I bet.
I never seen such a messed up install going on from just a chromium install and then a uninstall.

Usually I find the solution to a root cause of a install problem is caused by what the original poster does not tell you.

So. Was a md5sum of downloaded AntiX iso done before you burned your cd.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://help.ubuntu.com/community/HowToMD5SUM"
linktext was:"https://help.ubuntu.com/community/HowToMD5SUM"
====================================


Because I personaly have recieved corrupted downloads myself in the past of linux downloaded isos
which cause weird phantom problems.
Posts: 66
santotomas
Joined: 25 Aug 2014
#14
Rok,
That sounds ominous. My question is, is it fixable? Even more importantly, can I update this monster (AntiX) when the time comes? I'd really started enjoying this OS over Win XP. Fact is, I would not go back to Windows for anything in the world. I really like Linux- it is really great to work with. Anyway, I'll take a look at the thread on MD5SUM that you suggested to see if I understand things better. I hope I don't have to do a fresh install of AntiX? Thank you in advnce for all your help.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#15
You can check the iso you downloaded if you still have it on file.
If not. If me. I would start over with a verified md5sum of AntiX before
burning a cd and then do a reinstall.

Backing up what I widh to keep to a external usb hard drive or flash drive.
If you read my post on fixing this panasonic cf-48 I fixed tonight with AntiX 11 test 3
on it. I have it tricked out but I am not afeared of a reinstall because I can grab my saved Docs,.conkyrc,wallpapers,music,movies,books,comics, etc...... to a outside drive and do a more current
install on this laptop now that is is fixed.

This will become my new/old gear tester when 14 testing comes forth.
Like I said.
A reinstall with a backup is what I would do in your shoes. With a verified md5sum.
It is how I roll in testing so Anti knows my problem reports are legit and not because of a
bad burn or corrupted iso download.

Or, live with it and if it breaks again later. You will be cornered into a re-install anyways.
Because your terminal readouts are fubar to me.
Dave server 404 seems normal lately.
W: Failed to fetch
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/dists/t"
linktext was:"http://ftp.us.debian.org/debian/dists/t"
====================================
... elease.gpg Could not resolve 'ftp.us.debian.org'

W: Failed to fetch
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://security.debian.org/dists/testin"
linktext was:"http://security.debian.org/dists/testin"
====================================
... elease.gpg Could not resolve 'security.debian.org'

W: Failed to fetch
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/dists/e"
linktext was:"http://ftp.us.debian.org/debian/dists/e"
====================================
... elease.gpg Could not resolve 'ftp.us.debian.org'
dpkg: error processing package ltsp-server-standalone (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
isc-dhcp-server
ltsp-server-standalone
E: Sub-process /usr/bin/dpkg returned an error code (1)
That does not however.


Up to you though.

Happy Trails, Rok