Results 1 to 2 of 2

Thread: [SOLVED] Apt-get locked in a pattern it won't break out of.

  1. #1
    Join Date
    Oct 2007
    Beans
    17
    Distro
    Ubuntu Jaunty Jackalope (testing)

    [SOLVED] Apt-get locked in a pattern it won't break out of.

    Hey, so my apt-get is rendered useless by a backlog that won't go away. Anyone have any idea how I can make it sort through all this?
    Code:
    karl@karl-desktop:~$ sudo apt-get install
    [sudo] password for karl: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    91 not fully installed or removed.
    Need to get 0B/187kB of archives.
    After this operation, 0B of additional disk space will be used.
    Preconfiguring packages ...
    (Reading database ... 190705 files and directories currently installed.)
    Preparing to replace gnome-applets 2.24.1-0ubuntu1 (using .../gnome-applets_2.24.1-0ubuntu1_i386.deb) ...
    Unpacking replacement gnome-applets ...
    /var/lib/dpkg/info/gnome-applets.postrm: 30: update-gconf-defaults: not found
    dpkg: warning - old post-removal script returned error exit status 127
    dpkg - trying script from the new package instead ...
    /var/lib/dpkg/tmp.ci/postrm: 30: update-gconf-defaults: not found
    dpkg: error processing /var/cache/apt/archives/gnome-applets_2.24.1-0ubuntu1_i386.deb (--unpack):
     subprocess new post-removal script returned error exit status 127
    /var/lib/dpkg/tmp.ci/postrm: 30: update-gconf-defaults: not found
    dpkg: error while cleaning up:
     subprocess post-removal script returned error exit status 127
    Processing triggers for man-db ...
    Errors were encountered while processing:
     /var/cache/apt/archives/gnome-applets_2.24.1-0ubuntu1_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  2. #2
    Join Date
    Jan 2007
    Location
    Melbourne, Australia
    Beans
    5,096

    Re: Apt-get locked in a pattern it won't break out of.

    Try moving the gnome-applets.postrm out of the way then reinstalling the package
    Code:
    sudo mv /var/lib/dpkg/info/gnome-applets.postrm /var/lib/dpkg/info/gnome-applets.postrm.old
    then
    Code:
    sudo apt-get --reinstall install gnome-applets
    Code:
    sudo apt-get install -f
    Ubuntu Newbie Help: irc: #beginners-help on network irc.freenode.net
    Help others, mark your threads solved.

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
  •