Author Topic: recent update/upgrade keeps rebuilding the kernel  (Read 9838 times)

marrandy

  • Guru
  • ****
  • Posts: 162
    • View Profile
recent update/upgrade keeps rebuilding the kernel
« on: May 26, 2010, 07:12:26 pm »
In the last week ?

I noticed a Vl4 update and it uninstalled a ton of modules added new ones and rebuilt the kernel.

I let it happen, come back later when its finished and reboot.

But since then I have been doing the update/upgrade every other day and it sees, what appears to be the same vl4 update, and goes through the same procedure again.

It just did it a Third time.

???

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: recent update/upgrade keeps rebuilding the kernel
« Reply #1 on: May 26, 2010, 09:23:31 pm »
Just did apt-get update and apt-get upgrade after removing references to mythtv in the preferences file. It wants to downgrade 70 packages.

I said no thanks. Is this what you're seeing?
Barney

Code: [Select]
root@dcerouter:/etc/apt# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be DOWNGRADED:
  ansi2html lmce-game-db lmce-mediatomb lmce-mythtv-scripts lmce-skins-slate
  lmce-skins-titanium lmce-skins-uita mythtv mythtv-themes mythweb
  pluto-app-server pluto-asterisk pluto-avwizard pluto-avwizard-skin-basic
  pluto-confirm-dependencies pluto-convert-mac pluto-createdevice
  pluto-database-settings pluto-dcerouter pluto-dhcpd-plugin
  pluto-disc-drive-functions pluto-disk-drive pluto-disk-monitor
  pluto-dummy-console-tools pluto-dynamic-dns pluto-hal-device-finder
  pluto-hald pluto-install-scripts pluto-irbase pluto-libresolution
  pluto-libserial pluto-local-database pluto-mcr-remote pluto-media-database
  pluto-messagetrans pluto-motion-wrapper pluto-mplayer-player
  pluto-network-storage pluto-newmdinteractor pluto-nvidia-video-drivers
  pluto-orbiter pluto-photo-screen-saver pluto-pluto-media-db
  pluto-pluto-security-db pluto-pluto-telecom-db pluto-plutodhcp
  pluto-proxy-orbiter pluto-qos pluto-ra pluto-raid-tools
  pluto-remoteassistance pluto-sample-media pluto-sdl-helpers
  pluto-security-database pluto-simplephone pluto-skins-basic
  pluto-sound-card-scripts pluto-sqlcvs pluto-telecom-database
  pluto-test-serial-port pluto-text-to-speech pluto-updatemedia
  pluto-usb-uirt-0038 pluto-voicemail-monitor pluto-windowsce-libraries
  pluto-x-scripts pluto-xine-player pluto-xine-plugin v4l2-firmware
  v4l2-modules
0 upgraded, 0 newly installed, 70 downgraded, 0 to remove and 4 not upgraded.
Need to get 443MB of archives.
After this operation, 83.8MB of additional disk space will be used.
Do you want to continue [Y/n]?

marrandy

  • Guru
  • ****
  • Posts: 162
    • View Profile
Re: recent update/upgrade keeps rebuilding the kernel
« Reply #2 on: May 26, 2010, 09:42:28 pm »
No, I didn't do anything like that.

I'll try and do it again and copy some of the stuff.

marrandy

  • Guru
  • ****
  • Posts: 162
    • View Profile
Re: recent update/upgrade keeps rebuilding the kernel
« Reply #3 on: May 27, 2010, 06:10:38 pm »
OK - did the update and upgrade again and it runs through the same uninstall/re-install-build kernel yet again.  I have deleted a bunch of extra, similar stuff to get to the meat.  I hope it is useful.

===================

99% [Working]
             
Fetched 11.9kB in 1s (6056B/s)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/universe/main/binary-i386/Packages.gz  404 Not Found [IP: 91.189.88.40 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/universe/non-free/binary-i386/Packages.gz  404 Not Found [IP: 91.189.88.40 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/universe/contrib/binary-i386/Packages.gz  404 Not Found [IP: 91.189.88.40 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Reading state information... 0%

Reading state information... Done

The following packages will be upgraded:
  v4l2-firmware v4l2-modules
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/14.9MB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  v4l2-firmware v4l2-modules
Authentication warning overridden.


(Reading database ... 158487 files and directories currently installed.)
Preparing to replace v4l2-firmware cc01851735c3-0ubuntu1~ppa1i (using .../v4l2-firmware_cc01851735c3-0ubuntu1~ppa1i_all.deb) ...
Leaving `diversion of /lib/firmware/v4l-cx2341x-init.mpg to /lib/firmware/v4l-cx2341x-init.mpg.wraped by v4l2-firmware'Script started on Thu 27 May 2010 10:20:16 AM EDT
Leaving `diversion of /lib/firmware/v4l-cx2341x-enc.fw to /lib/firmware/v4l-cx2341x-enc.fw.wraped by v4l2-firmware'

================Similar stuff removed

Leaving `diversion of /lib/firmware/dvb-usb-umt-010-02.fw to /lib/firmware/dvb-usb-umt-010-02.fw.wraped by v4l2-firmware'
Leaving `diversion of /lib/firmware/dvb-usb-dib0700-1.10.fw to /lib/firmware/dvb-usb-dib0700-1.10.fw.wraped by v4l2-firmScript started on Thu 27 May 2010 10:20:16 AM EDT
Unpacking replacement v4l2-firmware ...
Preparing to replace v4l2-modules cc01851735c3-0ubuntu1~ppa1i (using .../v4l2-modules_cc01851735c3-0ubuntu1~ppa1i_all.deb) ...

-------- Uninstall Beginning --------
Module:  v4l2-modules
Version: cc01851735c3
Kernel:  2.6.27-17-generic (i686)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

gspca_m5602.ko:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.27-17-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


dvb-usb-dtv5100.ko:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.27-17-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


=====================More of the same, removed

zc0301.ko:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.27-17-generic/updates/dkms/
 - Original module
   - Archived original module found in the DKMS tree
   - Moving it to: /lib/modules/2.6.27-17-generic/kernel/drivers/media/video/zc0301/

au0828.ko:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.27-17-generic/updates/dkms/
 - Original module
   - Archived original module found in the DKMS tree
   - Moving it to: /lib/modules/2.6.27-17-generic/kernel/drivers/media/video/au0828/
depmod.....

Removing original_module from DKMS tree for kernel 2.6.27-17-generic (i686)

DKMS: uninstall Completed.

-------- Uninstall Beginning --------
Module:  v4l2-modules
Version: cc01851735c3
Kernel:  2.6.27-17-generic (i686)
-------------------------------------

Status: This module version was INACTIVE for this kernel.
depmod....

DKMS: uninstall Completed.

------------------------------
Deleting module version: cc01851735c3
completely from the DKMS tree.
------------------------------
Done.
Unpacking replacement v4l2-modules ...
Setting up v4l2-firmware (cc01851735c3-0ubuntu1~ppa1i) ...
Setting up v4l2-modules (cc01851735c3-0ubuntu1~ppa1i) ...

Creating symlink /var/lib/dkms/v4l2-modules/cc01851735c3/source ->
                 /usr/src/v4l2-modules-cc01851735c3

DKMS: add Completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.27-17-generic...
cleaning build area....

DKMS: build Completed.
Running module version sanity check.

gspca_m5602.ko:
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.27-17-generic/updates/dkms/

dvb-usb-dtv5100.ko:
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.27-17-generic/updates/dkms/



au0828.ko:
 - Original module
   - Found /lib/modules/2.6.27-17-generic/kernel/drivers/media/video/au0828/au0828.ko
   - Storing in /var/lib/dkms/v4l2-modules/original_module/2.6.27-17-generic/i686/
   - Archiving for uninstallation purposes
 - Installation
   - Installing to /lib/modules/2.6.27-17-generic/updates/dkms/

depmod....

DKMS: install Completed.

fastie81

  • Veteran
  • ***
  • Posts: 136
  • SSDD
    • View Profile
Re: recent update/upgrade keeps rebuilding the kernel
« Reply #4 on: May 27, 2010, 11:09:16 pm »
Hey

Yes I have the same thing in my core.
I have just rebuild my system with the latest snapshot and it is like in a loop.
I have done it about 4 time now, update - reboot and look and it want to do it again.
Not sure why
C

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: recent update/upgrade keeps rebuilding the kernel
« Reply #5 on: May 28, 2010, 12:50:25 am »
[..]
Fetched 11.9kB in 1s (6056B/s)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/universe/main/binary-i386/Packages.gz  404 Not Found [IP: 91.189.88.40 80]
[..]
Sounds like your sources.list (or something related) is fubarred, that URL should be either http://archive.ubuntu.com/ubuntu/dists/intrepid/universe/binary-i386/Packages.gz or http://archive.ubuntu.com/ubuntu/dists/intrepid/main/binary-i386/Packages.gz.
« Last Edit: May 28, 2010, 12:55:48 am by Zaerc »
"Change is inevitable. Progress is optional."
-- Anonymous


pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: recent update/upgrade keeps rebuilding the kernel
« Reply #6 on: May 28, 2010, 12:05:11 pm »
/etc/apt/sources.list file:

change the the line that reads:
deb http://archive.ubuntu.com/ubuntu/ universe main non-free contrib
to:
deb http://archive.ubuntu.com/ubuntu/ intrepid universe main non-free contrib

The error will go away.

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: recent update/upgrade keeps rebuilding the kernel
« Reply #7 on: May 28, 2010, 03:49:11 pm »
Fixed my sources.list as described by pw44... removed the references to mythtv in the /etc/apt/preferences file then did apt-get update and apt-get upgrade.

Loads of packages were downgraded.

I'm now seeing the same loop described in this thread.
Any fix yet?
Barney

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: recent update/upgrade keeps rebuilding the kernel
« Reply #8 on: May 28, 2010, 06:34:45 pm »
Some may say not to do it, but i did apt-get dist-upgrade, and did not notice any problem.
You may try it, doing a backup first, if you have something to save.
« Last Edit: May 29, 2010, 12:21:11 am by pw44 »

marrandy

  • Guru
  • ****
  • Posts: 162
    • View Profile
Re: recent update/upgrade keeps rebuilding the kernel
« Reply #9 on: June 06, 2010, 04:56:00 pm »
Sorry...I've been away.  Still having issues.  This is my list.  Perhaps someone can give me a good list.

deb file:/usr/pluto/deb-cache/ ./
deb http://us.archive.ubuntu.com/ubuntu/ intrepid  main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid  main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-updates  main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-updates  main restricted universe multiverse
deb http://deb.linuxmce.org/ubuntu/ intrepid  beta2
deb http://debian.slimdevices.com/ stable  main
deb http://packages.medibuntu.org/ intrepid  free non-free
deb http://security.ubuntu.com/ubuntu/ intrepid-security  main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu/ intrepid-security  main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ intrepid  main universe multiverse
deb http://archive.ubuntu.com/ubuntu/ intrepid universe  main non-free contrib
deb http://deb.linuxmce.org/ubuntu/ 20dev_ubuntu  main
« Last Edit: June 06, 2010, 05:01:27 pm by marrandy »

George_Ts

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: recent update/upgrade keeps rebuilding the kernel
« Reply #10 on: June 06, 2010, 09:13:48 pm »
This is mine, fresh as of yesterday:
deb file:/usr/pluto/deb-cache/ ./ 
deb http://cy.archive.ubuntu.com/ubuntu/ intrepid  main restricted universe multiverse
deb-src http://cy.archive.ubuntu.com/ubuntu/ intrepid  main restricted universe multiverse
deb http://cy.archive.ubuntu.com/ubuntu/ intrepid-updates  main restricted universe multiverse
deb-src http://cy.archive.ubuntu.com/ubuntu/ intrepid-updates  main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ intrepid-security  main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu/ intrepid-security  main restricted universe multiverse
deb http://deb.linuxmce.org/ubuntu/ intrepid  beta2
deb http://debian.slimdevices.com/ stable  main
deb http://packages.medibuntu.org/ intrepid  free non-free
deb http://www.avenard.org/files/ubuntu-repos/ intrepid  release
deb http://archive.ubuntu.com/ubuntu/ intrepid  main universe multiverse
deb http://deb.linuxmce.org/ubuntu/ 20dev_ubuntu  main
deb http://deb.linuxmce.org/ubuntu/ replacements_debian  main

marrandy

  • Guru
  • ****
  • Posts: 162
    • View Profile
Re: recent update/upgrade keeps rebuilding the kernel
« Reply #11 on: June 07, 2010, 12:43:39 am »
I backed up my file and copied your in.

Why am I seeing this.


Fetched 6978kB in 14s (473kB/s)
W: Failed to fetch http://www.avenard.org/files/ubuntu-repos/dists/intrepid/release/binary-i386/Packages.bz2  Hash Sum mismatch

E: Some index files failed to download, they have been ignored, or old ones used instead.

marrandy

  • Guru
  • ****
  • Posts: 162
    • View Profile
Re: recent update/upgrade keeps rebuilding the kernel
« Reply #12 on: June 07, 2010, 07:53:32 pm »
I just did another update and upgrade and the issue didn't appear.  

I always reboot following update & upgrade as i have had other issues in the past that didn't clear without a reboot.

Less problems all around.

I still get this though.

Reading package lists... Done
W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 13551B881504888C
W: You may want to run apt-get update to correct these problems

although it doesn't seem important.

This is the last part of my upgrade FWIW.

=================================
apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  mythtv-transcode-utils
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
« Last Edit: June 07, 2010, 08:27:16 pm by marrandy »

marrandy

  • Guru
  • ****
  • Posts: 162
    • View Profile
Re: recent update/upgrade keeps rebuilding the kernel
« Reply #13 on: June 28, 2010, 10:12:05 pm »
Just did another update and I'm seeing this...

Hit http://packages.medibuntu.org intrepid/non-free Packages
Err http://deb.linuxmce.org intrepid Release.gpg
  Could not connect to deb.linuxmce.org:80 (62.99.143.188), connection timed out
Err http://deb.linuxmce.org intrepid/beta2 Translation-en_US
  Unable to connect to deb.linuxmce.org http:
Err http://deb.linuxmce.org 20dev_ubuntu Release.gpg
  Unable to connect to deb.linuxmce.org http:
Err http://deb.linuxmce.org 20dev_ubuntu/main Translation-en_US
  Unable to connect to deb.linuxmce.org http:
Err http://deb.linuxmce.org replacements_debian Release.gpg
  Unable to connect to deb.linuxmce.org http:
Err http://deb.linuxmce.org replacements_debian/main Translation-en_US
  Unable to connect to deb.linuxmce.org http:
Fetched 12.2kB in 10s (1221B/s)
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 13551B881504888C
W: Failed to fetch http://deb.linuxmce.org/ubuntu/dists/intrepid/Release.gpg  Could not connect to deb.linuxmce.org:80 (62.99.143.188), connection timed out

W: Failed to fetch http://deb.linuxmce.org/ubuntu/dists/intrepid/beta2/i18n/Translation-en_US.bz2  Unable to connect to deb.linuxmce.org http:

W: Failed to fetch http://deb.linuxmce.org/ubuntu/dists/20dev_ubuntu/Release.gpg  Unable to connect to deb.linuxmce.org http:

W: Failed to fetch http://deb.linuxmce.org/ubuntu/dists/20dev_ubuntu/main/i18n/Translation-en_US.bz2  Unable to connect to deb.linuxmce.org http:

W: Failed to fetch http://deb.linuxmce.org/ubuntu/dists/replacements_debian/Release.gpg  Unable to connect to deb.linuxmce.org http:

W: Failed to fetch http://deb.linuxmce.org/ubuntu/dists/replacements_debian/main/i18n/Translation-en_US.bz2  Unable to connect to deb.linuxmce.org http:

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems

I have internet...

ping yahoo.com
PING yahoo.com (69.147.125.65) 56(84) bytes of data.
64 bytes from ir1.fp.vip.re1.yahoo.com (69.147.125.65): icmp_seq=1 ttl=255 time=69.3 ms
64 bytes from ir1.fp.vip.re1.yahoo.com (69.147.125.65): icmp_seq=2 ttl=255 time=68.9 ms
64 bytes from ir1.fp.vip.re1.yahoo.com (69.147.125.65): icmp_seq=3 ttl=255 time=69.0 ms
64 bytes from ir1.fp.vip.re1.yahoo.com (69.147.125.65): icmp_seq=4 ttl=255 time=68.2 ms
64 bytes from ir1.fp.vip.re1.yahoo.com (69.147.125.65): icmp_seq=5 ttl=255 time=67.2 ms
^C
--- yahoo.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4017ms
rtt min/avg/max/mdev = 67.237/68.564/69.340/0.799 ms


What fixes to my sources.list ?

marrandy

  • Guru
  • ****
  • Posts: 162
    • View Profile
Re: recent update/upgrade keeps rebuilding the kernel
« Reply #14 on: June 29, 2010, 05:50:46 pm »
Looks like a server was down.  its back up now.

http://forum.linuxmce.org/index.php?topic=10357.msg71170#msg71170