LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   LMDE causing same-old APT problems (https://www.linuxquestions.org/questions/linux-mint-84/lmde-causing-same-old-apt-problems-832005/)

Kenny_Strawn 09-13-2010 11:35 PM

LMDE causing same-old APT problems
 
When I just tried upgrading my Linux Mint Debian installation, I again ran into that dreaded bug that causes APT to hang without consuming any CPU. I seriously am going to switch to Fedora if this bug with APT isn't going to be ironed out anytime soon.

evo2 09-13-2010 11:42 PM

It'll never be "fixed" if that is the extent of it's description.

Evo2.

Kenny_Strawn 09-14-2010 08:34 AM

What happens is this: On the part where APT starts "Unpacking" the .deb files, nothing happens. It just echoes "Unpacking" and then stops. On top of that, when I am looking at my CPU indicator light, it would be flashing if the CPU or RAM was being consumed. Instead, nothing. It almost looks like an infinite loop is causing the problem.

evo2 09-14-2010 08:05 PM

Hi,

Quote:

Originally Posted by Kenny_Strawn (Post 4097093)
What happens is this: On the part where APT starts "Unpacking" the .deb files, nothing happens. It just echoes "Unpacking" and then stops. On top of that, when I am looking at my CPU indicator light, it would be flashing if the CPU or RAM was being consumed. Instead, nothing.

Is this specific to a certain package?

You could try running the following to try to understand exactly what it is hanging on.
Code:

ps aux | grep -E 'apt|dpkg'
It also could be worth running apt-get under strace. Eg:
Code:

strace apt-get install foo
Quote:

It almost looks like an infinite loop is causing the problem.
If that was the case I'd expect to see a spike in cpu usage.

Cheers,

Evo2.

Kenny_Strawn 09-14-2010 10:42 PM

Trying to run strace returns this:

Code:

The program 'strace' is currently not installed.  To run 'strace' please ask your administrator to install the package 'strace'
strace: command not found

And trying to build an older version of APT from source sure doesn't help:

Code:

configure: error: cannot run /bin/bash buildlib/config.sub
I am thinking of just reinstalling.

Kenny_Strawn 09-14-2010 11:11 PM

I also know that the version of APT in LMDE is 0.8.0, while the version in Ubuntu Maverick is 0.8.3, which isn't causing as many problems. So, I will install Ubuntu 10.10 until LMDE or Debian (considering LMDE uses Debian repos) uses 0.8.3 and then switch back again.

evo2 09-14-2010 11:37 PM

I'm running both Debian stable (apt version 0.7.20.2+lenny2) and Debian unstable (apt version 0.8.4) and have no problems like the one you describe. Seems like compete overkill to install a different distribution instead of trying to understand and fix the problem (or perhaps filing a bug report), but each to their own I guess.

Cheers,

Evo2.

Kenny_Strawn 09-14-2010 11:45 PM

Yes, but LMDE uses 0.8.0 as I said, and it draws from Debian Testing, not Unstable. And it's 0.8.0 that caused this bug in an old version of Maverick Meerkat (Alpha 3). I also think it to be Acer Aspire One-specific.

craigevil 10-15-2010 06:26 AM

Haven't seen anyone with this issue on forums.debian.net or on the Mint LMDE forum.

Never ran into it here and my install is over 6 yrs old, with apt-get update && apt-get dist-upgrade ran daily.(Fingers crossed, it will be 7 yrs in Feb 2011)

Is the problem you are having listed on either launchpad or on the Debian BTS? Keep in mind that Ubuntu changes things so a bug on Ubuntu doesn't mean a bug on Debian and same for the other way around.

Only thing similar is http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=442189

or this http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=252758 but it is from an old old version of apt.


All times are GMT -5. The time now is 03:56 PM.