update/flash player problem
Noob help please,been trying to get updates and keep getting this error "E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/
missing package name" seems to have happened after trying to remove/reinstall flash player. Any help would be great, or do I have to do a complete re-install?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Mark Rijckenberg
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
http://
Reinstall is not necessary, you just got your package system all muddled, this is one of the massive weaknesses in package based distros
Revision history for this message
|
#2 |
Thanks for the link.
Have tried to delete the adobe lash files in var/lib/dpkg/info and they are read only and root is the owner. Can it be done through terminal?
Revision history for this message
|
#3 |
you simply need to add 'sudo' at the start of the commands needing root access. Just like all the other times you have typed your password for an admin task.
e.g.
mv status status-bad
becomes
sudo mv status status-bad
Revision history for this message
|
#4 |
Please try this fix procedure::
Step 1: Open Terminal from "Applications-
Terminal"
Step 2: Please COPY-PASTE each line below into the Terminal then hit <enter> after each line)
sudo cp -arf /var/lib/dpkg /var/lib/
sudo cp /var/lib/
sudo cp /var/lib/
sudo rm -rf /var/lib/
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/
LANG=C;sudo aptitude clean
LANG=C;sudo aptitude autoclean
LANG=C;sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
LANG=C;sudo aptitude install -f
LANG=C;sudo aptitude update
LANG=C;sudo aptitude dist-upgrade
Step 3: Please post results (copy/paste terminal output from each command) on this thread
Revision history for this message
|
#5 |
Thanks guys, OK Mark here goes
sudo cp -arf /var/lib/dpkg /var/lib/
sudo cp /var/lib/
sudo cp /var/lib/
sudo rm -rf /var/lib/
sudo rm -rf /var/lib/apt/lists no output
sudo mkdir /var/lib/apt/lists no output
sudo mkdir /var/lib/
LANG=C;sudo aptitude clean
.......Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
LANG=C;sudo aptitude autoclean ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Freed 0B of disk space
LANG=C;sudo apt-get update
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Fetched 10.6MB in 12s (844kB/s)
Reading package lists... Done
sudo dpkg --clear-avail no ouput
sudo dpkg --configure -a no output
LANG=C;sudo aptitude install -f ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following partially installed packages will be configured:
adobe-flashplugin
0 packages upgraded, 0 newly installed, 0 to remove and 29 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
E: I wasn't able to locate file for the adobe-flashplugin package. This might mean you need to manually fix this package.
E: I wasn't able to locate file for the adobe-flashplugin package. This might mean you need to manually fix this package.
E: Internal error: couldn't generate list of packages to download
LANG=C;sudo aptitude update ......
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Done
LANG=C;sudo aptitude dist-upgrade .....
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be upgraded:
adduser apparmor apparmor-utils evince gtk2-engines-pixbuf initscripts
libapparmor-perl libapparmor1 libevdocument1 libevview1 libgail-common
libgail18 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libsmbclient
libwbclient0 samba-common samba-common-bin smbclient
system-
totem-mozilla totem-plugins tzdata tzdata-java
The following partially installed packages will be configured:
adobe-flashplugin
29 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 3879kB of archives. After unpacking 3875kB will be freed.
Do you want to continue? [Y/n/?] y
E: I wasn't able to locate file for the adobe-flashplugin package. This might mean you need to manually fix this package.
Writing extended state information... Done
E: I wasn't able to locate file for the adobe-flashplugin package. This might mean you need to manually fix this package.
E: Internal error: couldn't generate list of packages to download
Still seems to be the flash player problem...... this output from synaptic
E: The package adobe-flashplugin needs to be reinstalled, but I can't find an archive for it.
E: Internal error opening cache (1). Please report
Tried to re-install Flashplayer says file could be corrupt or check permissions
Manual repair of flash player? If so how please?
Revision history for this message
|
#6 |
Update. Managed to run update manager from system/admin It ran a partial install of the updates then mamaged to remove the broken flash player plugin (no idea how, I couldn't read the output comments at the speed they were going) Re-installed the packageand everything is working fine again.
Thanks for all the help, really appreciated.
Revision history for this message
|
#7 |
Hi Bob,
Nice to read that the issue is solved.
If it is still solved, can you please set this thread status to 'solved'?
Thanks,
Mark
Revision history for this message
|
#8 |
Thanks Mark Rijckenberg, that solved my question.
Revision history for this message
|
#9 |
Don't use flash on the adobe site, flash is installable on the repos. I have seen this issue far too many times for my liking.