LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-06-2010, 04:21 AM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,437

Rep: Reputation: 83
aptitude update chokes. (99% [9 Translation-en bzip2 0])


Hya

Today, (Mon Sep 6 UTC 2010)
"aptitude update" hangs at the end complaining
Code:
99% [2 Translation-en bzip2 0]
This happens three of my Debian squeeze (one 32bit, two 64bit). They all have somewhat different /etc/apt/sources.list

Does anybody else experience similar situation?
 
Old 09-06-2010, 05:06 AM   #2
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled
I had the same yesterday,seems to be working ok today.
 
Old 09-06-2010, 05:52 AM   #3
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,437

Original Poster
Rep: Reputation: 83
Hya

Thank you for your report.

It looks like that this is the problem.

So, I need to find a mirror without empty files.

Happy Penguins!
 
Old 09-06-2010, 08:11 AM   #4
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled
Yes,it would appear the problem is with Debian Multimedia.
Here's what I have in my sources.list:

Code:
deb http://debian-multimedia.org squeeze main non-free
deb-src http://debian-multimedia.org squeeze main non-free
This works for me currently.
 
Old 09-06-2010, 11:59 PM   #5
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 488

Rep: Reputation: 110Reputation: 110
It seems the problem IS on some debian multimedia mirrors only.

I had to change my mirror in my sources.list and it was there for at least a year!
The new one I put there worked... for a day, then I changed it again.

Btw, commenting out the debian multimedia mirror at first did allow the update to finish flawlessly.
 
Old 09-07-2010, 05:58 AM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595812


It is not a bug in apt-get or aptitude, but a snafu in the dmm repos. All it takes is for one package to be messed up in a repo for it to cause apt/aptitude to snarl. Even though Christian is a DD his dmm repo is not an official Debian repo, a bug in it is not a bug in a Debian package.
Comment dmm it works, and on sid whatever the problem was it has been fixed even with dmm uncommented.The main dmm repo seems to work OK now at least on sid.
 
Old 09-11-2010, 06:16 PM   #7
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,437

Original Poster
Rep: Reputation: 83
Hya,

As as of now (Sat Sep 11 UTC), apt chokes, unless sources.list file is modified. I am trying to tweak options as suggested by posts #49 and #54 in this report.

However, after reading "man 5 apt.config" and "/usr/share/doc/apt/examples/*", I am not sure how to proceed. Also, apt-howto in www.debian.org says that it is obsolete.

So far, I have found that "apt-config dump" does NOT show language line, and simply putting "/usr/share/doc/apt/examples/apt.conf" in /etc/apt/ makes "aptitude update" to revive under some circumstances.

I am not quite sure what is going on around me. Just an update.

Happy penguins!

Last edited by kaz2100; 09-11-2010 at 06:27 PM. Reason: missing line
 
Old 09-11-2010, 11:07 PM   #8
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
Edit /etc/apt/sources.list

The Apt Howto is obsolete because it is old and hasn't been updated in forever ( the howto not Apt).

Basic stable sources.list
Code:
##################
## Debian Stable  ##
##################
#Stable 
#deb http://http.us.debian.org/debian/ lenny main contrib non-free 
#Stable Sources
#deb-src http://http.us.debian.org/debian/ lenny main contrib non-free 

#Security Updates  http://www.debian.org/security/
#deb http://security.debian.org/ lenny/updates main contrib non-free 

# Debian Volatile http://www.debian.org/volatile/
# deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
# deb http://volatile.debian.org/debian-volatile lenny/volatile-sloppy main contrib non-free

# Debian Stable Backports 
# For information visit - http://backports.debian.org/
# Secure apt: apt-get install debian-backports-keyring
#deb http://backports.debian.org/debian-backports lenny-backports main contrib non-free
deb http://www.debian-multimedia.org lenny main non-free
List of DMM Mirrors http://debian-multimedia.org/debian-m.php
 
Old 09-12-2010, 05:53 PM   #9
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,437

Original Poster
Rep: Reputation: 83
Hya,

Yes, modified sources.list works. I remember that maintainer of Debian multimedia used to have (or has?) difficulty with bandwidth, if I am correct. Another reason is that I would like to learn how apt works. So post #7 was sent.

Happy Penguins!
 
Old 09-14-2010, 12:51 AM   #10
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,437

Original Poster
Rep: Reputation: 83
Hya,

I simply copy /usr/share/doc/apt/examples/apt.conf into /etc/apt/, then modified it so that Aquire section looks like
Code:
Acquire
{
  Retries "0";
        Languages "none";
        Translation "none";
};
It looks like OK.

Happy Penguins!
 
  


Reply

Tags
aptitude, bzip2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get update: Sources.bz2 Hash Sum mismatch, aptitude update: no errors Aidin Sabetian Linux - Software 7 08-11-2010 06:33 PM
chapter 6, want to use bzip2 but it fails with bash: bzip2: No such file or directory nomad5000 Linux From Scratch 2 10-12-2009 08:58 PM
What protocol is used when you update using 'aptitude update'? mazinoz Debian 1 09-20-2009 03:26 AM
Update manager: 2 Aptitude: 0 aquaboot Debian 5 07-24-2008 11:47 PM
Update bzip2 archive sanjeev taran Linux - General 6 04-18-2007 03:16 PM


All times are GMT -5. The time now is 09:59 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration