LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-15-2007, 09:56 PM   #1
ecturkum
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Rep: Reputation: 0
Exclamation Broke my Apt-get


Hi All,
newbie klutz broke my synaptic program somehow. I can't even say what I did to mess it up.

Running FC6 this is the error message I get

E: Error occured while processing gdeskcal (CollectFileProvides)
E: Problem with MergeFileProvides /var/lib/apt/lists/download.fedora.redhat.com_pub_fedora_linux_extras_6_i386_repodata_primary.xml
E: The package lists or status file could not be parsed or opened.


can someone tell me how to repair this problem. I want to think its nothing major.

Thanks in advance
 
Old 02-15-2007, 11:59 PM   #2
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
Just a thought. In Synaptic, Go to Edit >> Fix Broken Packages. Not sure if this will help with your problem though.
 
Old 02-16-2007, 04:14 AM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
Quote:
Originally Posted by ecturkum
/var/lib/apt/lists/download.fedora.redhat.com_pub_fedora_linux_extras_6_i386_repodata_primary.xml
E: The package lists or status file could not be parsed or opened.
Did you run an apt-get update? Maybe it's because download.fedora.redhat.com/... is not accessible anymore or you have removed the source line and didn't update..?
 
Old 02-16-2007, 08:17 AM   #4
ecturkum
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Hi cgjones,nx5000

I actually tried to fix broken files but that did nothing, I think that thats not related.
Nx5000,
Actually that ended up working after I re-booted.

Thank you,

Last edited by ecturkum; 02-16-2007 at 12:52 PM.
 
Old 02-28-2007, 06:01 AM   #5
frantique
LQ Newbie
 
Registered: Feb 2007
Posts: 5

Rep: Reputation: 0
Same problem here as well. I tried to reset the apt-get .bin files as well, but it did not helped. Also I fetched the problematic files with wget, and the server can be reached. Is any hidden switch in apt-get to see a verbose debug?
 
Old 02-28-2007, 06:12 AM   #6
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
Quote:
Debug
{
pkgProblemResolver "false";
pkgDepCache::AutoInstall "false"; // what packages apt install to satify dependencies
pkgAcquire "false";
pkgAcquire::Worker "false";
pkgAcquire::Auth "false";
pkgDPkgPM "false";
pkgDPkgProgressReporting "false";
pkgOrderList "false";
BuildDeps "false";

pkgInitialize "false"; // This one will dump the configuration space
NoLocking "false";
Acquire::Ftp "false"; // Show ftp command traffic
Acquire::Http "false"; // Show http command traffic
Acquire::gpgv "false"; // Show the gpgv traffic
aptcdrom "false"; // Show found package files
IdentCdrom "false";

}
You have all these options. Enable the ones you want in /etc/apt/apt.conf.
 
Old 02-28-2007, 06:28 AM   #7
frantique
LQ Newbie
 
Registered: Feb 2007
Posts: 5

Rep: Reputation: 0
I made some investigation:
The error starts at the file download.fedora.redhat.com_pub_fedora_linux_core_updates_6_i386_repodata_filelists.xml
This file seems to be allright and complete.
The funny part about the filelist.xml:
gzip: stdin: invalid compressed data--crc error
gzip: stdin: invalid compressed data--length error
It seems to me that while the archive was created, something went wrong. It is not a gzip problem, because it manages the other repo's files correctly.
 
Old 02-28-2007, 06:50 AM   #8
frantique
LQ Newbie
 
Registered: Feb 2007
Posts: 5

Rep: Reputation: 0
Where can I find some mirror for extras?
 
Old 02-28-2007, 07:08 AM   #9
frantique
LQ Newbie
 
Registered: Feb 2007
Posts: 5

Rep: Reputation: 0
Fixed!

So, I found a solution:
In /etc/apt/sources.list.d:
FILE: fedora-extras.list

# Fedora Extras
#repomd http://download.fedora.redhat.com/pub/ fedora/linux/extras/$(VERSION)/$(ARCH)/
repomd http://dl.atrpms.net/ fc$(VERSION)-$(ARCH)/redhat/extras/
# Debug packages
# repomd http://download.fedora.redhat.com/pub/ fedora/linux/extras/$(VERSION)/$(ARCH)/debug/
# Sources
#repomd-src http://download.fedora.redhat.com/pub/ fedora/linux/extras/$(VERSION)/SRPMS/

FILE: fedora-updates.list
# Fedora Core
#repomd http://download.fedora.redhat.com/pub/ fedora/linux/core/updates/$(VERSION)/$(ARCH)/
repomd ftp://ftp.tvnet.hu/pub/ fedora/linux/core/updates/$(VERSION)/$(ARCH)/
# Debug packages
#repomd http://download.fedora.redhat.com/pub/ fedora/linux/core/updates/$(VERSION)/$(ARCH)/debug/
# sources
#repomd-src http://download.fedora.redhat.com/pub/ fedora/linux/core/updates/$(VERSION)/SRPMS/

This will fix the problem.
 
  


Reply


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 upgrade broke kcm_kio.so Dtsazza Debian 1 10-10-2006 09:54 AM
HELP! I broke APT cerealdaemon Ubuntu 4 04-29-2006 11:03 PM
I broke apt, sort of coldsalmon Debian 4 06-08-2005 05:47 AM
apt-get broke! jon_k Linux - Software 1 11-07-2004 03:14 PM
Broke apt .5.20 Modify Linux - General 0 01-13-2004 01:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration