Find the answer to your Linux question:
Results 1 to 7 of 7
Hi folks, Debian Etch - fresh installation $ sudo aptitude upgrade Code: Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Reading task ...
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546

    Problem on running upgrade

    Hi folks,


    Debian Etch - fresh installation


    $ sudo aptitude upgrade
    Code:
    Reading package lists... Done
    Building dependency tree... Done
    Reading extended state information
    Initializing package states... Done
    Reading task descriptions... Done
    Building tag database... Done
    The following packages will be upgraded:
      linux-image-2.6.18-6-486
    1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B/16.2MB of archives. After unpacking 1839kB will be used.
    Do you want to continue? [Y/n/?] y
    Preconfiguring packages ...
    dpkg: parse error, in file `/var/lib/dpkg/available' near line 8090 package `gtk2-engines-pixbuf':
     `Depends' field, reference to `libglib2.0-0': version contains ` '
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    A package failed to install.  Trying to recover:
    dpkg: parse error, in file `/var/lib/dpkg/available' near line 8090 package `gtk2-engines-pixbuf':
     `Depends' field, reference to `libglib2.0-0': version contains ` '

    Please advise how to fix it. TIA


    B.R.
    satimis

  2. #2
    Just Joined! DingoBoy's Avatar
    Join Date
    Sep 2008
    Posts
    30
    Quote Originally Posted by satimis View Post
    Hi folks,


    Debian Etch - fresh installation


    $ sudo aptitude upgrade
    Code:
    Reading package lists... Done
    Building dependency tree... Done
    Reading extended state information
    Initializing package states... Done
    Reading task descriptions... Done
    Building tag database... Done
    The following packages will be upgraded:
      linux-image-2.6.18-6-486
    1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B/16.2MB of archives. After unpacking 1839kB will be used.
    Do you want to continue? [Y/n/?] y
    Preconfiguring packages ...
    dpkg: parse error, in file `/var/lib/dpkg/available' near line 8090 package `gtk2-engines-pixbuf':
     `Depends' field, reference to `libglib2.0-0': version contains ` '
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    A package failed to install.  Trying to recover:
    dpkg: parse error, in file `/var/lib/dpkg/available' near line 8090 package `gtk2-engines-pixbuf':
     `Depends' field, reference to `libglib2.0-0': version contains ` '

    Please advise how to fix it. TIA


    B.R.
    satimis
    Try a dpkg-reconfigure -a. This reconfigures your Synaptic (AKA dpkg) to the standart.

    Comradly, DingoBoy.

  3. #3
    Linux Enthusiast L4Linux's Avatar
    Join Date
    Sep 2008
    Location
    Greece
    Posts
    584
    You can also try this:
    Code:
    sudo apt-get clean all
    sudo apt-get install -f
    When it finishes, try again sudo aptitude upgrade.

  4. #4
    Just Joined! DingoBoy's Avatar
    Join Date
    Sep 2008
    Posts
    30
    Quote Originally Posted by L4Linux View Post
    You can also try this:
    Code:
    sudo apt-get clean all
    sudo apt-get install -f
    When it finishes, try again sudo aptitude upgrade.
    That's better yes. I'd (personally) do the dpkg-reconfigure first, then this.

    There is nothing principally unclean about my way is there?

  5. #5
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546
    Hi folks,


    Thanks for your advice.


    Solved the problem already.


    IIRC there wa a package in problem. I removed it and restall it on debian-backport the problem was gone.


    B.R.
    satimis

  6. #6
    Linux Enthusiast L4Linux's Avatar
    Join Date
    Sep 2008
    Location
    Greece
    Posts
    584
    That's better yes. I'd (personally) do the dpkg-reconfigure first, then this.

    There is nothing principally unclean about my way is there?
    No, dpkg-reconfigure and apt-get install -f are basically the same thing, because apt is a front-end to dpkg.

  7. #7
    Just Joined! DingoBoy's Avatar
    Join Date
    Sep 2008
    Posts
    30
    Quote Originally Posted by L4Linux View Post
    No, dpkg-reconfigure and apt-get install -f are basically the same thing, because apt is a front-end to dpkg.
    Oh yes i know. I just didn't assume you'd advince for the same thing with a different coat. Glad i was corrected.

Posting Permissions

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