Find the answer to your Linux question:
Results 1 to 3 of 3
Hi folks, Ubuntu LAMP server 7.04 amd64 Encountered following upgrade problem after running ugdate. $ sudo apt-get ugrade Code: ..... Reading package fields... Done Reading package status... Done Retrieving bug ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,814

    Problem on upgrade


    Hi folks,


    Ubuntu LAMP server 7.04 amd64


    Encountered following upgrade problem after running ugdate.


    $ sudo apt-get ugrade
    Code:
    .....
    Reading package fields... Done
    Reading package status... Done
    Retrieving bug reports... Done
    Parsing Found/Fixed information... Done
    critical bugs of php5 (5.2.1-0ubuntu1.5 -> 5.2.1-0ubuntu1.6) <done>
     #471104 - php5: Please rebuild against up to date timezone data (Fixed: php5/5.2.6-1)
    serious bugs of linux-libc-dev (2.6.20-17.36 -> 2.6.20-17.37) <pending>
     #435700 - keepalived: FTBFS: conflicting types for 'loff_t'
       Merged with: 434040
    Summary:
     php5(1 bug), linux-libc-dev(1 bug)
    Are you sure you want to install/upgrade the above packages? [Y/n/?/...]
    After entering "n" and pressing [Enter]

    Code:
    ****************************************************************************
    ****** Exit with an error by force in order to stop the installation. ******
    ****************************************************************************
    E: Sub-process if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi returned an error code (10)
    E: Failure running script if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi

    Please advise how to fix the problem. TIA


    B.R.
    satimis

  2. #2
    Linux Newbie raghaven.kumar's Avatar
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    209
    try running

    sudo apt-get -f install

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,814
    Quote Originally Posted by raghaven.kumar View Post
    try running

    sudo apt-get -f install
    Hi,


    Thanks for your advice.


    I have been waiting more than a week for the bugs to be fixed.


    There are bugs on the packages to be upgraded, not the problem of broken dependencies;


    $ sudo apt-get upgrade
    Code:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages have been kept back:
      mysql-server-5.0
    The following packages will be upgraded:
      firefox libapache2-mod-php5 libnspr4 libnss3 libpcre3
      linux-image-2.6.20-17-generic linux-libc-dev php-pear php5 php5-cli
      php5-common php5-curl php5-dev php5-gd php5-mhash php5-mysql php5-pspell
      php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
    23 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    Need to get 0B/41.9MB of archives.
    After unpacking 0B of additional disk space will be used.
    Do you want to continue [Y/n]? Y
    Reading package fields... Done
    Reading package status... Done
    Retrieving bug reports... Done
    Parsing Found/Fixed information... Done
    critical bugs of php5 (5.2.1-0ubuntu1.5 -> 5.2.1-0ubuntu1.6) <done>
     #471104 - php5: Please rebuild against up to date timezone data (Fixed: php5/5.2.6-1)
    serious bugs of linux-libc-dev (2.6.20-17.36 -> 2.6.20-17.37) <pending>
    #435700 - keepalived: FTBFS: conflicting types for 'loff_t'
       Merged with: 434040
    Summary:
     php5(1 bug), linux-libc-dev(1 bug)
    Are you sure you want to install/upgrade the above packages? [Y/n/?/...]  n

    So I select "n" to exit
    Code:
    ****************************************************************************
    ****** Exit with an error by force in order to stop the installation. ******
    ****************************************************************************
    E: Sub-process if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi returned an error code (10)
    E: Failure running script if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi

    I have been googling around discovering threads talking these bugs. I don't know why Ubuntu 7.04 leaving those buggy packages on the repo.


    B.R.
    satimis

  4. $spacer_open
    $spacer_close

Posting Permissions

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