trouble installing new programs - package problem
Whenever I try to install anything new, like Java or Itunes, I receive this error message:
E: Encountered a section with no package: header
E: Problem with MergeList /var/lib/
E:The package lists or status file could not be parsed or opened.
I have tried a few fixes from similar problems, but I always encounter the same problem again in the end.
Anything you can suggest would be great.
Thanks so much,
Louise
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Java is in Ubuntu Software Center.
If you Google "Itunes Linux", there are a good many answers.
Revision history for this message
|
#2 |
Try https:/
If the error comes back you might have an error in one of your apt configuration files (maybe with a nonprintable character).
In that case open a terminal (ctrl-alt-t) and enter the following command
grep wine /etc/apt/
Then select all output (edit - select all) copy it (edut copy) and paste all output into a new message of this question thread.
Revision history for this message
|
#3 |
Thanks so much for your help. I tried what you said, and here is my output...
travis@
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
travis@
Revision history for this message
|
#4 |
As expected, there are wrong characters (question marks) in the ppa addresses.
my recommendation for correcting that is to delete all the files that point to the ubuntu-wine ppa, and to re-create them with the correct command.
open a terminal and issue the following commands:
sudo rm /etc/apt/
sudo rm /etc/apt/
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
When asked for your password please enter it but note, that you will not see any feedback (no echo, not even '*' placeholders) for the password.
After that you should be able to use the package management programs again to install whatever program you want.
Revision history for this message
|
#5 |
Ok...thank you again by the way.
I followed your advice and put those commands in...
Here is my output
travis@
[sudo] password for travis:
travis@
travis@
Executing: gpg --ignore-
gpg: requesting key F9CB8DB0 from hkp server keyserver.
gpg: key F9CB8DB0: "Launchpad PPA for Ubuntu Wine Team" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
travis@
Ign http://
Err http://
Something wicked happened resolving '.archive.
Ign http://
Ign http://
Err http://
Something wicked happened resolving '.archive.
Err http://
Something wicked happened resolving '.archive.
Err http://
Something wicked happened resolving '.archive.
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:1 http://
Hit http://
Hit http://
Get:2 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:3 http://
Hit http://
Hit http://
Ign http://
Hit http://
Ign http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:8 http://
Get:9 http://
Get:10 http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Fetched 554 kB in 13s (42.2 kB/s)
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
E: Some index files failed to download. They have been ignored, or old ones used instead.
travis@
Revision history for this message
|
#6 |
Now you seem to have another error in your sources.list
open update-manager
click on settings
and browse through your software sources.
there must somewhere be an entry starting with http://
That has to be changed to http://
Can you help with this problem?
Provide an answer of your own, or ask travis for more information if necessary.