LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-09-2012, 08:35 AM   #1
enryfox
LQ Newbie
 
Registered: Apr 2004
Posts: 25

Rep: Reputation: 15
Unhappy Problems with PPA repositories


I'm running ubuntu 12.04 and i'm having problems with PPA launchpad repositories: i add them using the command

Code:
sudo add-apt-repository ppa:.....
and everything works fine, but then with a

Code:
sudo apt-get update
I get hash mismatch errors.

Code:
......
bzip2: Data integrity error when decompressing

.....

W: Failed to fetch gzip:/var/lib/apt/lists/partial/ppa.launchpad.net_xxxxxxxxxxx_ubuntu_dists_precise_main_binary-amd64_Packages  Hash Sum mismatch
If I browse the PPA folders with Firefox and manually download the package file, I can expand it and read it with a text editor. I even tried copying it into /var/lib/apt/list and it is recognised by the synaptic (i.e. I can download listed packages). Problem is, the file automatically retrieved by apt-get and available in /var/lib/apt/list/partial is indeed corrupted and its size is different from what I manually download.

What is wrong ?

thanks in advance
 
Old 05-10-2012, 05:09 PM   #2
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Does the PPA have it's own instruction on how to add it? If it does try that method, maybe even add it manually and then try apt-get update.
 
Old 05-11-2012, 01:35 AM   #3
enryfox
LQ Newbie
 
Registered: Apr 2004
Posts: 25

Original Poster
Rep: Reputation: 15
Actually after a long googling session and found a similar but seemingly unrelated problem with PPA's. Solution to that problem is to add in /etc/apt/conf.d a file named "99<whatever you want>" containing a simple line of text:

Code:
Acquire::http::Pipeline-Depth "0";
That has fixed my problems with http PPA's (the vast majority) but indeed I now have problems with ftp PPA's (like the one I used before...)

cheers

Last edited by enryfox; 05-11-2012 at 07:42 AM.
 
  


Reply



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
LXer: Medibuntu repositories available for Ubuntu 12.04 LTS Precise Pangolin | PPA LXer Syndicated Linux News 0 03-10-2012 07:31 PM
LXer: Y PPA Manager: One Stop Shop For All Your PPA Related Needs in Ubuntu Natty LXer Syndicated Linux News 0 05-14-2011 11:30 AM
Create a Linux distro using Launchpad PPA repositories Kenny_Strawn Linux - Distributions 3 04-16-2010 04:19 PM
LXer: Ubun-student is renamed to "Ailurus"-New PPA repositories included- LXer Syndicated Linux News 0 12-11-2009 06:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:13 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration