News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

beta update the MDs?

Started by schaferj, August 13, 2009, 08:57:11 PM

Previous topic - Next topic

schaferj

Zaerc,
Thank you.  I should have remembered that.  And #passwd from chroot is exactly what I did earlier.

If it's working correctly is there supposed to be a way to get root on an MD without the crude workabound.
joseph

Zaerc

Normally, if the MD has set itself up properly, that is not needed.  See also: http://wiki.linuxmce.org/index.php/Logging_In#Media_Director
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

huh

Quote from: Zaerc on August 16, 2009, 03:06:04 PM

It would be better to generate new package lists on the spot, again when logged into the MD as root:
cd /usr/pluto/deb-cache
dpkg-scanpackages -m . /dev/null | tee ./Packages | gzip -9c >./Packages.gz
apt-get update



Thanks Zaerc- the first part about the key helped me as well.  This second part I can't get to work.  dpkg-scanpackages exists on the core, but does not exist on my other MDs.  Any ideas?

Zaerc

Quote from: huh on August 16, 2009, 07:01:23 PM...
Thanks Zaerc- the first part about the key helped me as well.  This second part I can't get to work.  dpkg-scanpackages exists on the core, but does not exist on my other MDs.  Any ideas?
In that case, you could install the "dpkg-dev" package on the MD, or just run it on the core, provided that you "cd" into the right directory, like this:
cd /usr/pluto/diskless/##/usr/pluto/deb-cache
dpkg-scanpackages -m . /dev/null | tee ./Packages | gzip -9c >./Packages.gz


"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

schaferj

Zaerc, Thanks for the link saying that default root passwd is not set.  It helps to know which symptoms are anomolies.  I had to chroot and set root password and then I could proceed. 

And thanks for your solution to the dpkg-scanpackages issue.  I ran it from the core as you suggested.

huh,
I also had success with the apt-key add, and dpkg-scanpackages command is not found on the MD.
But I had a problem with /usr/pluto/deb-cache reporting as read only (though mount shows it as rw) and it's not an issue since we can run it from core.

On the MD, apt-gt update did run without error with the apt-key add and the Packages.gz created on the core

But apt-get dist-upgrade had the same error as earlier with the twofish conflict.

DETAILS
Authentication warning overridden.
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 111857 files and directories currently installed.)
Preparing to replace linux-image-diskless 2.6.27-11-generic-lmce1 (using .../linux-image-diskless_2.6.27-14-generic-lmce1_i386.deb) ...
Unpacking replacement linux-image-diskless ...
dpkg: error processing /var/cache/apt/archives/linux-image-diskless_2.6.27-14-generic-lmce1_i386.deb (--unpack):
trying to overwrite `/lib/modules/2.6.27-14-generic/kernel/arch/x86/crypto/twofish-i586.ko', which is also in package linux-image-2.6.27-14-generic
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-diskless_2.6.27-14-generic-lmce1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@moon37:~#

Anyone have any thoughts as to why twofish is conflicted?
much thanks,
joseph