When trying to upgrade k_delft on my 8.0 with synaptic I get the following error after it tries rpm -U. sub process /bin/rpm returned an error code (2). What have I done wrong and how can I remedy it. TIA David
* DB Troll (hdbtroll@moment.net) [030327 21:58]: ->When trying to upgrade k_delft on my 8.0 with synaptic I get the ->following error after it tries rpm -U. ->sub process /bin/rpm returned an error code (2). ->What have I done wrong and how can I remedy it. Sounds like the rpm database is not happy. You should execute this.. rpm --rebuilddb This will rebuild the database. Then I would do this.. cd /var/cache/apt/archive ls k_deflt* to make sure you have just one copy of the correct version of the kernel. In case your wondering the above directory is where apt downloads everything to. It doesn't delete things automatically so if the download was successful then the file should be there. If it's there and it appears correct then do this.. rpm -Uvh k_deflt* This should update your kernel. Do not forget to run mk_initrd and lilo before you reboot or you might not be to happy yourself. After this you should be good. I updated my 8.0 box a couple days ago without any problems. latah, -- Ben Rosenberg ---===---===---===--- mailto:ben@whack.org Tell me what you believe.. I'll tell you what you should see.
Ben Rosenberg wrote:
* DB Troll (hdbtroll@moment.net) [030327 21:58]: ->When trying to upgrade k_delft on my 8.0 with synaptic I get the ->following error after it tries rpm -U. ->sub process /bin/rpm returned an error code (2). ->What have I done wrong and how can I remedy it.
Sounds like the rpm database is not happy. You should execute this..
rpm --rebuilddb
This will rebuild the database. Then I would do this..
cd /var/cache/apt/archive
ls k_deflt* to make sure you have just one copy of the correct version of the kernel. In case your wondering the above directory is where apt downloads everything to. It doesn't delete things automatically so if the download was successful then the file should be there. If it's there and it appears correct then do this..
rpm -Uvh k_deflt*
This should update your kernel. Do not forget to run mk_initrd and lilo before you reboot or you might not be to happy yourself.
After this you should be good. I updated my 8.0 box a couple days ago without any problems.
latah, Hello Bin, This is the output of trying to rpm - Uvh k_delft> file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-algo-bit.o from install of k_deflt-2.4.18-261 conflicts with file from package i2c-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-algo-pcf.o from install of k_deflt-2.4.18-261 conflicts with file from package i2c-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-core.o from install of k_deflt-2.4.18-261 conflicts with file from package i2c-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-dev.o from install of k_deflt-2.4.18-261 conflicts with file from package i2c-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-elektor.o from install of k_deflt-2.4.18-261 conflicts with file from package i2c-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-elv.o from install of k_deflt-2.4.18-261 conflicts with file from package i2c-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-philips-par.o from install of k_deflt-2.4.18-261 conflicts with file from package i2c-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-proc.o from install of k_deflt-2.4.18-261 conflicts with file from package i2c-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-velleman.o from install of k_deflt-2.4.18-261 conflicts with file from package i2c-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-ali1535.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-ali15x3.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-amd756.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-hydra.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-i801.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-i810.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-isa.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-piix4.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-sis5595.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-via.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-viapro.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-voodoo3.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/adm1021.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/adm1024.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/adm1025.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/adm9240.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/bt869.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/ddcmon.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/ds1621.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/eeprom.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/fscpos.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/fscscy.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/gl518sm.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/gl520sm.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/it87.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/lm75.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/lm78.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/lm80.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/lm87.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/maxilife.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/mtp008.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/sis5595.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/thmc50.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/via686a.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/w83781d.o from install of k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 dbtrol@linux:~>
What do I do now. David
* DB Troll (hdbtroll@moment.net) [030327 23:28]: ->/lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-algo-bit.o from install ->of k_deflt-2.4.18-261 conflicts with file from package i2c-2.7.0-1 ->>k_deflt-2.4.18-261 conflicts with file from package lm_sensors-2.7.0-1 ->>file /lib/modules/2.4.18-4GB/kernel/drivers/sensors/lm80.o from install of ->What do I do now. Well, what I would do is this.. rpm -Uvh --nodeps k_deflt* Then I would recompile/reinstall the two packages that contain these files. Did you install i2c and lm_sensors yourself? If so then install the kernel but have the updated versions of these two pieces of software ready to install again. -- Ben Rosenberg ---===---===---===--- mailto:ben@whack.org Tell me what you believe.. I'll tell you what you should see.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 27 March 2003 11:28 pm, DB Troll wrote: - -------------snip----------- > > Hello Bin, This is the output of trying to rpm - Uvh k_delft> file > /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-algo-bit.o from > install of k_deflt-2.4.18-261 conflicts with file from package > i2c-2.7.0-1 > > > file /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-algo-pcf.o from > > install of k_deflt-2.4.18-261 conflicts with file from package > > i2c-2.7.0-1 - -------------snip-------------- > > /lib/modules/2.4.18-4GB/kernel/drivers/i2c/i2c-hydra.o from install > > of k_deflt-2.4.18-261 conflicts with file from package > > lm_sensors-2.7.0-1 - -------------snip---------- > What do I do now. looks like you need to remove the packages i2c-2.7.0-1 and lm_sensors-2.7.0-1 (you could use synaptic to do this, that way you can check that other, more important packages won't be removed as well.) if you want to install k_delft cleanly. These 2 packages are related to motherboard sensors, if you are not monitoring your temps, fans etc then you probably won't miss them. Once you've installed the new kernel you can see about re-installing or upgrading the other 2 packages if you like. hth - -- dh Don't shop at GoogleGear.com! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+g/7jBwgxlylUsJARAkWyAJsFTaljqEzoQhazK5t0JLFnePIKTACfc7xv IE+zOSp3/q03WCC2oa5t8NQ= =8F3Q -----END PGP SIGNATURE-----
On Friday 28 March 2003 07:28, DB Troll wrote:
Ben Rosenberg wrote:
* DB Troll (hdbtroll@moment.net) [030327 21:58]: <snip> dbtrol@linux:~>
What do I do now. David
Since these are probably the same files I'd try adding --force to the end of the rpm command line. Tom
participants (4)
-
Ben Rosenberg
-
David Herman
-
DB Troll
-
Tom Wesley