Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

apt-get/synaptic error

Post comments, bugs here.

apt-get/synaptic error

Postby thinkpada21 on Tue Feb 17, 2009 3:09 am

I tried installing the Java RE from Synaptic. Unfortunately, the package has an interactive "installer". While Synaptic's detail window showed me what was going on, there was no way I could find to supply input to the "installer".

Eventually, the installer timed put and Synaptic reported a lot of errors.

I tried again to install it the Java RE - this time with apt-get. However, I got the error:
unable to read filedescriptor flags for <package status and progress file descriptor>: Bad file descriptor

After this, every time I tried to do anything with apt-get or Synaptic, I get that error. I even tried rebooting, but still get that error.

I can only guess that the package management is corrupted, however, I have not yet found anything in the documentation to help fix this.
thinkpada21
 
Posts: 59
Joined: Thu Sep 13, 2007 3:34 am

Re: apt-get/synaptic error

Postby mariel77 on Tue Feb 17, 2009 7:30 am

Can you please post your /etc/apt/sources.list?
It may be that you have been caught in the Debian repo shift - Lenny is stable now.

If you really just lost synaptic, then from this thread:
http://www.mepislovers.org/forums/showt ... hp?t=19909
To get synaptic back open a terminal
#su
#your root passowrd
#apt-get install synaptic

You may need to do a
#apt-get -f install
User avatar
mariel77
 
Posts: 247
Joined: Thu Sep 13, 2007 2:20 am

Re: apt-get/synaptic error

Postby thinkpada21 on Tue Feb 17, 2009 10:39 am

Synaptic itself works fine - until I click Apply. Then I get the error I mentioned, above.

Here is my /etc/apt/sources.list (Except for changing the country code part to us, it is just as it was after upgraded to 7.5 from 7.2 using the upgrade script.)

Code: Select all
###
### MEPIS: Use for kernel upgrades and nvidia/ati drivers only ###
##deb ftp://ftp.mepis.com/mepis/ mepis-7.0 main

deb http://ftp.us.debian.org/debian/ stable main contrib non-free 
deb http://ftp.us.debian.org/debian/ testing main contrib non-free 

# deb-src http://ftp.us.debian.org/debian/ stable main contrib non-free 

deb http://security.debian.org/ stable/updates main contrib non-free   

# mplayer
deb http://www.debian-multimedia.org/ etch main
deb http://www.debian-multimedia.org/ testing main

# VirtualBox
deb http://www.virtualbox.org/debian/ etch non-free

# wicd
deb http://apt.wicd.net/ debian extras
thinkpada21
 
Posts: 59
Joined: Thu Sep 13, 2007 3:34 am

Re: apt-get/synaptic error

Postby anticapitalista on Tue Feb 17, 2009 11:10 am

Try this.

Open rox as root user and navigate to /var/lib/dpkg/info
and remove the postin postrm preinst prerm files connected with Java RE

Then open root terminal

apt-get update
apt-get -f install

If there are messages, please post them

You will need to change you repos too if you want to upgrade to antiX-M8 or keep it Lenny or Etch.
Philosophers have interpreted the world in many ways; the point is to change it.
User avatar
anticapitalista
Site Admin
 
Posts: 2144
Joined: Tue Sep 11, 2007 4:55 pm
Location: Greece

Re: apt-get/synaptic error

Postby thinkpada21 on Tue Feb 17, 2009 12:04 pm

The only java related files I found there appear to be for the java-common package.

I did not try the apt-get update ; apt-get -f install

Right now is not a good time for me to update to 8.0, however, I plan to do so in a few weeks.

My last update/upgrade was on Friday, Feb 13, so was before the Lenny release.
thinkpada21
 
Posts: 59
Joined: Thu Sep 13, 2007 3:34 am

Re: apt-get/synaptic error

Postby anticapitalista on Tue Feb 17, 2009 12:20 pm

Remove the java-common files from there and then

apt-get clean
apt-get update
apt-get -f install

I think this is what is blocking apt-get/synaptic. If we cn get rid of it then we can start again
Philosophers have interpreted the world in many ways; the point is to change it.
User avatar
anticapitalista
Site Admin
 
Posts: 2144
Joined: Tue Sep 11, 2007 4:55 pm
Location: Greece

Re: apt-get/synaptic error

Postby thinkpada21 on Tue Feb 17, 2009 12:27 pm

Thanks.

I did the "apt-get clean" and got the message:
dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem

Is there any reason I should not run the suggested command?
thinkpada21
 
Posts: 59
Joined: Thu Sep 13, 2007 3:34 am


Return to antiX-M7.5 Toussaint Louverture

Who is online

Users browsing this forum: No registered users and 0 guests