Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Can't install any updates 11.04

  1. #1
    Join Date
    Sep 2008
    Beans
    93

    Can't install any updates 11.04

    Hi. I have been unable to install any of the updates that I have downloaded for more than a month now.
    Update Manager downloads the updates but when it tries to install them it comes up with this error "Package Operation Failed" and whn you check the details is says this at the bottom


    dpkg: error: parsing file '/var/lib/dpkg/status' near line 37640 package 'gnome-applets':
    'Depends' field, reference to 'gir1.2-gdkpixbuf-2.0': invalid architecture name 'i386': a value different from 'any' is currently not allowed

    I have no idea what this means. Any ideas out there?

  2. #2
    Join Date
    Oct 2009
    Location
    Reykjavík, Ísland
    Beans
    13,647
    Distro
    Xubuntu

    Re: Can't install any updates 11.04

    Let's try to get a better error message. Please boot the computer, close all windows which may open and run

    Code:
    sudo apt-get clean
    sudo apt-get update
    sudo apt-get upgrade
    Please post the error messages, if any.
    Bringing old hardware back to life. About problems due to upgrading.
    Please visit Quick Links -> Unanswered Posts.
    Don't use this space for a list of your hardware. It only creates false hits in the search engines.

  3. #3
    Join Date
    Sep 2008
    Beans
    93

    Re: Can't install any updates 11.04

    Fetched 142 MB in 12min 52s (183 kB/s)
    Extracting templates from packages: 100%
    Preconfiguring packages ...
    dpkg: error: parsing file '/var/lib/dpkg/status' near line 37640 package 'gnome-applets':
    'Depends' field, reference to 'gir1.2-gdkpixbuf-2.0': invalid architecture name 'i386': a value different from 'any' is currently not allowed
    E: Sub-process /usr/bin/dpkg returned an error code (2)

  4. #4
    Join Date
    Oct 2009
    Location
    Reykjavík, Ísland
    Beans
    13,647
    Distro
    Xubuntu

    Re: Can't install any updates 11.04

    Let's try removing the package which makes trouble:

    Code:
    sudo apt-get --purge remove gnome-applets
    Bringing old hardware back to life. About problems due to upgrading.
    Please visit Quick Links -> Unanswered Posts.
    Don't use this space for a list of your hardware. It only creates false hits in the search engines.

  5. #5
    Join Date
    Sep 2008
    Beans
    93

    Re: Can't install any updates 11.04

    didn't work i'm afraid


    evan@evan-netbook:~$ sudo apt-get --purge remove gnome-applets
    [sudo] password for evan:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    desktop-base libbluray0 xfce4-appfinder libgarcon-1-0 tango-icon-theme
    libgarcon-common thunar-data gtk2-engines-xfce xfdesktop4-data
    Use 'apt-get autoremove' to remove them.
    The following packages will be REMOVED:
    gnome-applets* ubuntu-desktop* ubuntu-netbook*
    0 upgraded, 0 newly installed, 3 to remove and 122 not upgraded.
    After this operation, 692 kB disk space will be freed.
    Do you want to continue [Y/n]? y
    dpkg: error: parsing file '/var/lib/dpkg/status' near line 37640 package 'gnome-applets':
    'Depends' field, reference to 'gir1.2-gdkpixbuf-2.0': invalid architecture name 'i386': a value different from 'any' is currently not allowed
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    evan@evan-netbook:~$ sudo apt-get --purge remove gnome-applets
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    desktop-base libbluray0 xfce4-appfinder libgarcon-1-0 tango-icon-theme
    libgarcon-common thunar-data gtk2-engines-xfce xfdesktop4-data
    Use 'apt-get autoremove' to remove them.
    The following packages will be REMOVED:
    gnome-applets* ubuntu-desktop* ubuntu-netbook*
    0 upgraded, 0 newly installed, 3 to remove and 122 not upgraded.
    After this operation, 692 kB disk space will be freed.
    Do you want to continue [Y/n]? y
    dpkg: error: parsing file '/var/lib/dpkg/status' near line 37640 package 'gnome-applets':
    'Depends' field, reference to 'gir1.2-gdkpixbuf-2.0': invalid architecture name 'i386': a value different from 'any' is currently not allowed
    E: Sub-process /usr/bin/dpkg returned an error code (2)

  6. #6
    Join Date
    Oct 2009
    Location
    Reykjavík, Ísland
    Beans
    13,647
    Distro
    Xubuntu

    Re: Can't install any updates 11.04

    Then I am out of ideas, sorry.
    Bringing old hardware back to life. About problems due to upgrading.
    Please visit Quick Links -> Unanswered Posts.
    Don't use this space for a list of your hardware. It only creates false hits in the search engines.

  7. #7
    Join Date
    Sep 2008
    Beans
    93

    Re: Can't install any updates 11.04

    Actually I can't install anything now, applications or updates! Help!

  8. #8
    Join Date
    Sep 2007
    Location
    In here watching you!
    Beans
    Hidden!

    Re: Can't install any updates 11.04

    If you look in /var/lib/dpkg/ you will find a file with the name "status" and another named "status-old". Change the name of "status" to "status-bak". Then change the name of "status-old" to "status". Then try to update.

    You will need to use sudo or gksudo the change the name of the file.
    Last edited by Old_Grey_Wolf; October 2nd, 2011 at 08:11 PM.
    Use whatever OS or desktop works for you. Dual boot or use VMs if you want. Backup your computer regularly, and definitely before upgrading, partitioning, or installing an OS.

    No support requests by PM please.

  9. #9
    Join Date
    Sep 2008
    Beans
    93

    Re: Can't install any updates 11.04

    ok so gedit allowed me save the file names to a different one, so 'status' became 'status-bak', 'status-old' became 'status'. It did not seem possible to delete other files so there is now 2 identical files, once called 'status-old' and the other called 'status'.

    When I ran update manager it just got stuck at 'waiting' and will not download anything

  10. #10
    Join Date
    Sep 2007
    Location
    In here watching you!
    Beans
    Hidden!

    Re: Can't install any updates 11.04

    Quote Originally Posted by notanerd View Post
    ok so gedit allowed me save the file names to a different one, so 'status' became 'status-bak', 'status-old' became 'status'. It did not seem possible to delete other files so there is now 2 identical files, once called 'status-old' and the other called 'status'.

    When I ran update manager it just got stuck at 'waiting' and will not download anything
    Are you saying you have 2 files named status-old and 2 files named status? You should have used gksudo nautilus or sudo mv to change the name of the files.

    If you run the commands
    Code:
    sudo apt-get update
    and
    Code:
    sudo apt-get upgrade
    and post the errors; then, we can see what it may be waiting on.
    Last edited by Old_Grey_Wolf; October 3rd, 2011 at 11:44 PM.
    Use whatever OS or desktop works for you. Dual boot or use VMs if you want. Backup your computer regularly, and definitely before upgrading, partitioning, or installing an OS.

    No support requests by PM please.

Page 1 of 2 12 LastLast

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
  •