Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all, Ubuntu 12.04 desktop $ sudo apt-get update Code: ..... Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,763

    Can't upgrade


    Hi all,

    Ubuntu 12.04 desktop

    $ sudo apt-get update
    Code:
    .....
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
    N: Ignoring file 'gcl' in directory '/etc/apt/sources.list.d/' as it has no filename extension
    N: Ignoring file 'google.OLDlist' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    $ sudo apt-get upgrade
    Code:
    ......
    Preconfiguring packages ...
    (Reading database ... 55%dpkg: unrecoverable fatal error, aborting:
     reading files list for package 'libdca0': Is a directory
    N: Ignoring file 'gcl' in directory '/etc/apt/sources.list.d/' as it has no filename extension
    N: Ignoring file 'google.OLDlist' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    N: Ignoring file 'gcl' in directory '/etc/apt/sources.list.d/' as it has no filename extension
    N: Ignoring file 'google.OLDlist' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    Ran;
    $ sudo apt-get clean
    $ sudo apt-get autoremove

    Problem still remains.

    Please help. Thanks

    Rgds
    satimis

  2. #2
    Linux User Steven_G's Avatar
    Join Date
    Jun 2012
    Location
    Western US
    Posts
    313
    Just a few ideas: Is this for the google-concurrency-library? If so then it may be that something went wrong when you originally compiled it. I'd try purging / recompiling and /or running the gammut of update and dep repair tools in apt, aptitude and dpkg. I'd also check my software sources for invalid addresses. If you find any try running updates without those addresses and see if it will run. I know a lot of times on google stuff when they change versions they close the old repo and set up a new one for the new version. You may need an uninstall / reinstall / version upgrade to hit an active repo.

  3. #3
    Linux Enthusiast TNFrank's Avatar
    Join Date
    Jul 2013
    Location
    Crossville, TN. USA
    Posts
    550
    Looks like your source.list in etc/apt may be messed up. When you do "update" apt uses the source.list to check for new packages on the interweb then when you do the "upgrade" it'll install those packages. Go into your System Files or "Computer" and check what's in the text document that's called "source.list" that's in etc/apt. You should see something like this:
    (this is from my recent install of Ubuntu/Gnome, you list should be different but similar.)

    #deb cdrom:[Ubuntu-GNOME 13.10 _Saucy Salamander_ - Release i386 (20131017)]/ saucy main multiverse restricted universe

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

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb Index of /ubuntu saucy-updates main restricted
    deb-src Index of /ubuntu saucy-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 Index of /ubuntu saucy universe
    deb-src Index of /ubuntu saucy universe
    deb Index of /ubuntu saucy-updates universe
    deb-src Index of /ubuntu saucy-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 Index of /ubuntu saucy multiverse
    deb-src Index of /ubuntu saucy multiverse
    deb Index of /ubuntu saucy-updates multiverse
    deb-src Index of /ubuntu saucy-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 Index of /ubuntu saucy-backports main restricted universe multiverse
    deb-src Index of /ubuntu saucy-backports main restricted universe multiverse

    deb Index of /ubuntu saucy-security main restricted
    deb-src Index of /ubuntu saucy-security main restricted
    deb Index of /ubuntu saucy-security universe
    deb-src Index of /ubuntu saucy-security universe
    deb Index of /ubuntu saucy-security multiverse
    deb-src Index of /ubuntu saucy-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 Index of /ubuntu saucy partner
    # deb-src Index of /ubuntu saucy partner

    ## This software is not part of Ubuntu, but is offered by third-party
    ## developers who want to ship their latest software.
    deb Index of /ubuntu saucy main
    deb-src Index of /ubuntu saucy main

    That's my list from a recent install of Ubuntu Gnome. If you don't have a list like that then apt can't go out and pull packages to upgrade the system with. You'll need to modify the list using gedit from the Terminal. Just get into the Terminal and "sudo gedit" and it'll open gedit then find the source.list file and open it and add a source list to it then save and do a sudo apt-get update. You should see the places on the list you addedd fly by in Terminal then you can do the upgrade and Bob's your Uncle if all went well.

Posting Permissions

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