[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: upgrade from Squeeze to Wheezy



On Mon, 3 Dec 2012, Chris Bannister wrote:

What I'd do is: (as root)

apt-get update
apt-get install linux-image-3.2.0-4-686-pae udev grub apt dpkg

  that failed with the same dependencies problem, but what worked was:
  #  apt-get install linux-image-3.2.0-4-686-pae
  #  apt-get install grub

  now, linux-image, initrd and grub.cfg are OK.

  # apt-get install udev apt dpkg
  gave
     initscripts : Breaks: nfs-common (< 1:1.2.5-3) but 1:1.2.2-4squeeze2 is to be installed
     libva1 : Breaks: vlc-nox (< 1.1.5-3) but 1.1.3-1squeeze6 is to be installed

  Then I made several tries with apt-get install, adding each time in the package list
  the packages giving dependencies problem in the previous call.
  At the 4th step, that gave:

  # apt-get install nfs-common vlc-nox gnome-control-center update-notifier
    which seemed to work, proposing
    611 upgraded, 429 newly installed, 163 to remove and 1085 not upgraded.
    (the "remove" list didn't seem too harmful)
    but after about 1 hour, it failed with

       Reading package fields... 77%/usr/lib/ruby/1.8/debian/utils.rb:47:in `pipe': Too many open files (Errno::EMFILE)
        from /usr/lib/ruby/1.8/debian/utils.rb:47:in `pipeline'
        from /usr/lib/ruby/1.8/debian/utils.rb:86:in `tar'
        from /usr/lib/ruby/1.8/debian.rb:142:in `load'
        from /usr/lib/ruby/1.8/debian/utils.rb:75:in `gunzip'
        from /usr/lib/ruby/1.8/debian/utils.rb:40:in `pipeline'
        from /usr/lib/ruby/1.8/debian/utils.rb:72:in `gunzip'
        from /usr/lib/ruby/1.8/debian.rb:141:in `load'
        from /usr/lib/ruby/1.8/debian/ar.rb:150:in `open'
        from /usr/lib/ruby/1.8/debian/ar.rb:147:in `each'
        from /usr/lib/ruby/1.8/debian/ar.rb:147:in `open'
        from /usr/lib/ruby/1.8/debian.rb:140:in `load'
        from /usr/lib/ruby/1.8/debian.rb:82:in `field'
        from /usr/share/apt-listbugs/apt-listbugs/logic.rb:733:in `field'
        from /usr/share/apt-listbugs/apt-listbugs/logic.rb:751:in `create'
        from /usr/share/apt-listbugs/apt-listbugs/logic.rb:743:in `each_index'
        from /usr/share/apt-listbugs/apt-listbugs/logic.rb:743:in `create'
        from /usr/sbin/apt-listbugs:323
        /usr/lib/ruby/1.8/debian.rb:198:in `parseFields': E: required field Package not found in  (Debian::FieldError)
        from /usr/lib/ruby/1.8/debian.rb:196:in `each'
        from /usr/lib/ruby/1.8/debian.rb:196:in `parseFields'
        from /usr/lib/ruby/1.8/debian.rb:439:in `initialize'
        from /usr/lib/ruby/1.8/debian.rb:150:in `new'
        from /usr/lib/ruby/1.8/debian.rb:150:in `load'
        from /usr/lib/ruby/1.8/debian.rb:82:in `field'
        from /usr/share/apt-listbugs/apt-listbugs/logic.rb:733:in `field'
        from /usr/share/apt-listbugs/apt-listbugs/logic.rb:751:in `create'
        from /usr/share/apt-listbugs/apt-listbugs/logic.rb:743:in `each_index'
        from /usr/share/apt-listbugs/apt-listbugs/logic.rb:743:in `create'
        from /usr/sbin/apt-listbugs:323
  E: Sub-process /usr/sbin/apt-listbugs apt || exit 10 returned an error code (10)
  E: Failure running script /usr/sbin/apt-listbugs apt || exit 10


  This time, I'm really lost!

  What about rebooting now?

best regards,
--
Pierre Frenkiel


Reply to: