Can install flash or vlc and updates failing

Asked by Ally Scott

Ok so forgive me as I am a total newbie when it comes to unbuntu, only got it today (its a temp fix for my laptop.
Im trying to install flash and vlc player but its not working. when i go to install flash in the terminal it says:

lain@lain-Satellite-C660D:~$ sudo apt-get install flashplugin-nonfree
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

And when i go to install VLC it says:

lain@lain-Satellite-C660D:~$ sudo apt-get install vlc vlc-plugin-pulse mozilla-plugin-vlc
[sudo] password for lain:
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

i was told to try and update it but all i got was:

lain@lain-Satellite-C660D:~$ sudo apt-get update
[sudo] password for lain:
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) dists/oneiric/main/binary-i386/ InRelease
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) oneiric InRelease
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) dists/oneiric/main/binary-i386/ Release.gpg
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) oneiric Release.gpg
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) dists/oneiric/main/binary-i386/ Release
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) oneiric Release
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) oneiric/main TranslationIndex
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) oneiric/restricted TranslationIndex
Err cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) dists/oneiric/main/binary-i386/ Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) dists/oneiric/main/binary-i386/ Translation-en_IE
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) dists/oneiric/main/binary-i386/ Translation-en
Err cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) oneiric/main amd64 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) oneiric/restricted amd64 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) oneiric/restricted i386 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) oneiric/main Translation-en_IE
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) oneiric/main Translation-en
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) oneiric/restricted Translation-en_IE
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012) oneiric/restricted Translation-en
Ign http://extras.ubuntu.com oneiric InRelease
Ign http://security.ubuntu.com oneiric-security InRelease
Ign http://ie.archive.ubuntu.com oneiric InRelease
Ign http://ie.archive.ubuntu.com oneiric-updates InRelease
Ign http://ie.archive.ubuntu.com oneiric-backports InRelease
Ign http://archive.canonical.com oneiric InRelease
Hit http://extras.ubuntu.com oneiric Release.gpg
Hit http://ie.archive.ubuntu.com oneiric Release.gpg
Hit http://security.ubuntu.com oneiric-security Release.gpg
Hit http://archive.canonical.com oneiric Release.gpg
Hit http://extras.ubuntu.com oneiric Release
Hit http://ie.archive.ubuntu.com oneiric-updates Release.gpg
Hit http://security.ubuntu.com oneiric-security Release
Hit http://archive.canonical.com oneiric Release
Hit http://ie.archive.ubuntu.com oneiric-backports Release.gpg
Hit http://extras.ubuntu.com oneiric/main Sources
Hit http://security.ubuntu.com oneiric-security/main Sources
Hit http://archive.canonical.com oneiric/partner amd64 Packages
Hit http://ie.archive.ubuntu.com oneiric Release
Hit http://extras.ubuntu.com oneiric/main amd64 Packages
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Hit http://security.ubuntu.com oneiric-security/restricted Sources
Hit http://security.ubuntu.com oneiric-security/universe Sources
Hit http://security.ubuntu.com oneiric-security/multiverse Sources
Hit http://security.ubuntu.com oneiric-security/main amd64 Packages
Hit http://security.ubuntu.com oneiric-security/restricted amd64 Packages
Hit http://ie.archive.ubuntu.com oneiric-updates Release
Hit http://archive.canonical.com oneiric/partner i386 Packages
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Hit http://security.ubuntu.com oneiric-security/universe amd64 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse amd64 Packages
Hit http://security.ubuntu.com oneiric-security/main i386 Packages
Hit http://security.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://security.ubuntu.com oneiric-security/universe i386 Packages
Hit http://ie.archive.ubuntu.com oneiric-backports Release
Hit http://ie.archive.ubuntu.com oneiric/main Sources
Hit http://ie.archive.ubuntu.com oneiric/restricted Sources
Hit http://ie.archive.ubuntu.com oneiric/universe Sources
Hit http://ie.archive.ubuntu.com oneiric/multiverse Sources
Hit http://security.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://security.ubuntu.com oneiric-security/main TranslationIndex
Hit http://security.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://security.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://security.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://security.ubuntu.com oneiric-security/main Translation-en
Hit http://ie.archive.ubuntu.com oneiric/main amd64 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://security.ubuntu.com oneiric-security/restricted Translation-en
Hit http://ie.archive.ubuntu.com oneiric/restricted amd64 Packages
Hit http://ie.archive.ubuntu.com oneiric/universe amd64 Packages
Hit http://ie.archive.ubuntu.com oneiric/multiverse amd64 Packages
Hit http://ie.archive.ubuntu.com oneiric/main i386 Packages
Hit http://ie.archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://security.ubuntu.com oneiric-security/universe Translation-en
Hit http://ie.archive.ubuntu.com oneiric/universe i386 Packages
Hit http://ie.archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://ie.archive.ubuntu.com oneiric/main TranslationIndex
Hit http://ie.archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://ie.archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://ie.archive.ubuntu.com oneiric/universe TranslationIndex
Hit http://ie.archive.ubuntu.com oneiric-updates/main Sources
Hit http://ie.archive.ubuntu.com oneiric-updates/restricted Sources
Hit http://ie.archive.ubuntu.com oneiric-updates/universe Sources
Hit http://ie.archive.ubuntu.com oneiric-updates/multiverse Sources
Ign https://private-ppa.launchpad.net oneiric InRelease
Ign http://archive.canonical.com oneiric/partner Translation-en_IE
Ign http://extras.ubuntu.com oneiric/main Translation-en_IE
Ign http://archive.canonical.com oneiric/partner Translation-en
Ign http://extras.ubuntu.com oneiric/main Translation-en
Hit http://ie.archive.ubuntu.com oneiric-updates/main amd64 Packages
Hit http://ie.archive.ubuntu.com oneiric-updates/restricted amd64 Packages
Hit http://ie.archive.ubuntu.com oneiric-updates/universe amd64 Packages
Hit http://ie.archive.ubuntu.com oneiric-updates/multiverse amd64 Packages
Hit http://ie.archive.ubuntu.com oneiric-updates/main i386 Packages
Hit http://ie.archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://ie.archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://ie.archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://ie.archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit https://private-ppa.launchpad.net oneiric Release.gpg
Hit http://ie.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://ie.archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://ie.archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://ie.archive.ubuntu.com oneiric-backports/main Sources
Hit http://ie.archive.ubuntu.com oneiric-backports/restricted Sources
Hit http://ie.archive.ubuntu.com oneiric-backports/universe Sources
Hit http://ie.archive.ubuntu.com oneiric-backports/multiverse Sources
Hit http://ie.archive.ubuntu.com oneiric-backports/main amd64 Packages
Hit https://private-ppa.launchpad.net oneiric Release
Hit http://ie.archive.ubuntu.com oneiric-backports/restricted amd64 Packages
Hit http://ie.archive.ubuntu.com oneiric-backports/universe amd64 Packages
Hit http://ie.archive.ubuntu.com oneiric-backports/multiverse amd64 Packages
Hit http://ie.archive.ubuntu.com oneiric-backports/main i386 Packages
Hit http://ie.archive.ubuntu.com oneiric-backports/restricted i386 Packages
Hit http://ie.archive.ubuntu.com oneiric-backports/universe i386 Packages
Hit http://ie.archive.ubuntu.com oneiric-backports/multiverse i386 Packages
Hit http://ie.archive.ubuntu.com oneiric-backports/main TranslationIndex
Hit https://private-ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ie.archive.ubuntu.com oneiric-backports/multiverse TranslationIndex
Hit http://ie.archive.ubuntu.com oneiric-backports/restricted TranslationIndex
Hit http://ie.archive.ubuntu.com oneiric-backports/universe TranslationIndex
Hit http://ie.archive.ubuntu.com oneiric/main Translation-en
Hit http://ie.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://ie.archive.ubuntu.com oneiric/restricted Translation-en
Hit http://ie.archive.ubuntu.com oneiric/universe Translation-en
Hit http://ie.archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://ie.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://ie.archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit https://private-ppa.launchpad.net oneiric/main i386 Packages
Hit http://ie.archive.ubuntu.com oneiric-updates/universe Translation-en
Hit http://ie.archive.ubuntu.com oneiric-backports/main Translation-en
Hit http://ie.archive.ubuntu.com oneiric-backports/multiverse Translation-en
Hit http://ie.archive.ubuntu.com oneiric-backports/restricted Translation-en
Hit http://ie.archive.ubuntu.com oneiric-backports/universe Translation-en
Ign https://private-ppa.launchpad.net oneiric/main TranslationIndex
Ign https://private-ppa.launchpad.net oneiric/main Translation-en_IE
Ign https://private-ppa.launchpad.net oneiric/main Translation-en
W: Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)/dists/oneiric/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)/dists/oneiric/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)/dists/oneiric/restricted/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)/dists/oneiric/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download. They have been ignored, or old ones used instead.
lain@lain-Satellite-C660D:~$

anyone have any suggesstions?

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
enubuntu (mr.tennents) said :
#1

Hi, please do this:
1. Open a terminal by hitting CTRL + ALT + T
2. Insert and run this command:
cat /etc/apt/sources.list -n

3. Copy and paste here all the output.

Revision history for this message
Ally Scott (allythepenguin) said :
#2

lain@lain-Satellite-C660D:~$ cat /etc/apt/sources.list -n
     1 deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ dists/oneiric/main/binary-i386/
     2
     3 deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ oneiric main restricted
     4
     5 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     6 # newer versions of the distribution.
     7 deb http://ie.archive.ubuntu.com/ubuntu/ oneiric main restricted
     8 deb-src http://ie.archive.ubuntu.com/ubuntu/ oneiric main restricted
     9
    10 ## Major bug fix updates produced after the final release of the
    11 ## distribution.
    12 deb http://ie.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
    13 deb-src http://ie.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
    14
    15 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    16 ## team. Also, please note that software in universe WILL NOT receive any
    17 ## review or updates from the Ubuntu security team.
    18 deb http://ie.archive.ubuntu.com/ubuntu/ oneiric universe
    19 deb-src http://ie.archive.ubuntu.com/ubuntu/ oneiric universe
    20 deb http://ie.archive.ubuntu.com/ubuntu/ oneiric-updates universe
    21 deb-src http://ie.archive.ubuntu.com/ubuntu/ oneiric-updates universe
    22
    23 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    24 ## team, and may not be under a free licence. Please satisfy yourself as to
    25 ## your rights to use the software. Also, please note that software in
    26 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    27 ## security team.
    28 deb http://ie.archive.ubuntu.com/ubuntu/ oneiric multiverse
    29 deb-src http://ie.archive.ubuntu.com/ubuntu/ oneiric multiverse
    30 deb http://ie.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
    31 deb-src http://ie.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
    32
    33 ## N.B. software from this repository may not have been tested as
    34 ## extensively as that contained in the main release, although it includes
    35 ## newer versions of some applications which may provide useful features.
    36 ## Also, please note that software in backports WILL NOT receive any review
    37 ## or updates from the Ubuntu security team.
    38 deb http://ie.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
    39 deb-src http://ie.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
    40
    41 deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
    42 deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted
    43 deb http://security.ubuntu.com/ubuntu oneiric-security universe
    44 deb-src http://security.ubuntu.com/ubuntu oneiric-security universe
    45 deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
    46 deb-src http://security.ubuntu.com/ubuntu oneiric-security multiverse
    47
    48 ## Uncomment the following two lines to add software from Canonical's
    49 ## 'partner' repository.
    50 ## This software is not part of Ubuntu, but is offered by Canonical and the
    51 ## respective vendors as a service to Ubuntu users.
    52 # deb http://archive.canonical.com/ubuntu oneiric partner
    53 # deb-src http://archive.canonical.com/ubuntu oneiric partner
    54
    55 ## This software is not part of Ubuntu, but is offered by third-party
    56 ## developers who want to ship their latest software.
    57 deb http://extras.ubuntu.com/ubuntu oneiric main
    58 deb-src http://extras.ubuntu.com/ubuntu oneiric main
lain@lain-Satellite-C660D:~$

Revision history for this message
enubuntu (mr.tennents) said :
#3

Ok do this:
1. Open a terminal by hitting CTRL + ALT + T
2. Insert and run this commands:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
sudo gedit /etc/apt/sources.list

3. In the upcoming window, change the first and the third line:
deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ dists/oneiric/main/binary-i386/

deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ oneiric main restricted

IN:

# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ dists/oneiric/main/binary-i386/

# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)]/ oneiric main restricted

4. Close the gedit window and in the terminal run:
sudo apt-get update

Now try to install something.

Can you help with this problem?

Provide an answer of your own, or ask Ally Scott for more information if necessary.

To post a message you must log in.