Results 1 to 5 of 5

Thread: Oh dear, what have I done? apt-get update/clean not working.

  1. #1
    Join Date
    Feb 2013
    Beans
    11

    Oh dear, what have I done? apt-get update/clean not working.

    I'm very new to ubuntu and I'm trying to update the packages but every time I run apt-get update I get this

    W: Duplicate sources.list entry cdrom://Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)/ breezy/main i386 Packages (/var/lib/apt/lists/Ubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Release%20i386%20(20051012)_dists_breezy_main_b inary-i386_Packages)
    W: Duplicate sources.list entry cdrom://Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)/ breezy/restricted i386 Packages (/var/lib/apt/lists/Ubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Release%20i386%20(20051012)_dists_breezy_restri cted_binary-i386_Packages)
    W: You may want to run apt-get update to correct these problems
    If I run apt-get clean absolutely nothing happens.

    What have I done?

    I very rarely post on forums with my issues and work out the solution from other people's queries but this one I really can't solve.
    Last edited by vermox; February 25th, 2013 at 09:45 PM.

  2. #2
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    6,575
    Distro
    Ubuntu

    Re: Oh dear, what have I done? apt-get update/clean not working.

    What version are you running?
    I don't think you'd be running breezy.

    Anyway, you'll need to open up the software sources and uncheck the cd-rom mark in other software.

    However, being that it would be hard to fathom your current system is what the error says, getting to the software sources can differ from release to release.

    Also, if you will post the output from:
    Code:
    cat /etc/apt/sources.list
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  3. #3
    Join Date
    Feb 2013
    Beans
    11

    Re: Oh dear, what have I done? apt-get update/clean not working.

    I'm running version version 12.04 LTS

    This is what the output said

    deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted
    deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted
    # deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release i386 (20130213)]/ precise main restricted

    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    deb http://nz.archive.ubuntu.com/ubuntu/ precise main restricted
    deb-src http://nz.archive.ubuntu.com/ubuntu/ precise main restricted

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://nz.archive.ubuntu.com/ubuntu/ precise-updates main restricted
    deb-src http://nz.archive.ubuntu.com/ubuntu/ precise-updates main restricted

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team. Also, please note that software in universe WILL NOT receive any
    ## review or updates from the Ubuntu security team.
    deb http://nz.archive.ubuntu.com/ubuntu/ precise universe
    deb-src http://nz.archive.ubuntu.com/ubuntu/ precise universe
    deb http://nz.archive.ubuntu.com/ubuntu/ precise-updates universe
    deb-src http://nz.archive.ubuntu.com/ubuntu/ precise-updates universe

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb http://nz.archive.ubuntu.com/ubuntu/ precise multiverse
    deb-src http://nz.archive.ubuntu.com/ubuntu/ precise multiverse
    deb http://nz.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    deb-src http://nz.archive.ubuntu.com/ubuntu/ precise-updates multiverse

    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    deb http://nz.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    deb-src http://nz.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

    deb http://security.ubuntu.com/ubuntu precise-security main restricted
    deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
    deb http://security.ubuntu.com/ubuntu precise-security universe
    deb-src http://security.ubuntu.com/ubuntu precise-security universe
    deb http://security.ubuntu.com/ubuntu precise-security multiverse
    deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository.
    ## This software is not part of Ubuntu, but is offered by Canonical and the
    ## respective vendors as a service to Ubuntu users.
    # deb http://archive.canonical.com/ubuntu precise partner
    # deb-src http://archive.canonical.com/ubuntu precise partner

    ## This software is not part of Ubuntu, but is offered by third-party
    ## developers who want to ship their latest software.
    deb http://extras.ubuntu.com/ubuntu precise main
    deb-src http://extras.ubuntu.com/ubuntu precise main
    Sorry, I'm a real dunce. Just switched to Linux from Windows.

  4. #4
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    6,575
    Distro
    Ubuntu

    Re: Oh dear, what have I done? apt-get update/clean not working.

    Ok somehow, for whatever reason, you have the cdrom option available for breezy badger.

    Code:
    deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted
    deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted
    If in the sources.list you posted you see how some entries have a # symbol next to them. This symbol is the comment symbol and means the entry on said line will be ignored when read.
    So simple enough, open a text editor with sudo(root):
    Code:
    gksudo gedit /etc/apt/sources.list
    And add a # to both breezy badger cdrom lines.Then save the file.
    Then close and run update again, see if that helps.
    And if more errors come, post them.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  5. #5
    Join Date
    Feb 2013
    Beans
    11

    Re: Oh dear, what have I done? apt-get update/clean not working.

    Wow, thank you so much!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •