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

Re: Churning in Grip repositories



Hi Neil,

Neil Williams <codehelp <at> debian.org> writes:
>Neil Williams <codehelp <at> debian.org> wrote:
>> Neil Williams <codehelp <at> debian.org> wrote:
>> 

(I answering this thread via GMANE, because I subscribed today.
 Hope that work.)

>>> I've mostly completed the perl rewrite of the Grip repository management
>>> code for emdebian-tools 1.4.15 and things are looking a lot better.
>> 
>> Still some more testing to do but things are looking better.
> 
> debootstrap problems:
> =====================
> 
> Only a little testing done so far, but these are the issues currently:
> 
> 1. for some reason, when grip-config is unpacked, empty directories
> that exist in the package (not just in the postinst) are not created. 
> /usr/share/info /usr/share/man/man1 and /usr/share/man/man8
> are required. grip-config might have to have some pointless files in
> those directories.
>
I tried to setup a GRIP chroot via debootstrap with command:
sudo debootstrap lenny /opt/emdebian-grip/ http://www.emdebian.org/grip/

Firstly it failed because /usr/share/info didn't exists in the chroot.
I created the dir and the bootstrap went further, but broke again with
failure:
----------8<--------------------------------------8<----------------------
...
W: Failure trying to run: chroot /opt/emdebian-grip dpkg --force-depends
--install var/cache/apt/archives/mawk_1.3.3-11.1em1_i386.deb
----------8<--------------------------------------8<----------------------

If I call it manually, I could see:
----------8<--------------------------------------8<----------------------
sudo chroot /opt/emdebian-grip dpkg --force-depends --install
var/cache/apt/archives/mawk_1.3.3-11.1em1_i386.deb

(Reading database ... 1017 files and directories currently installed.)
Preparing to replace mawk 1.3.3-11.1em1
(using .../mawk_1.3.3-11.1em1_i386.deb) ...
Unpacking replacement mawk ...
Setting up mawk (1.3.3-11.1em1) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
update-alternatives: unable to make /usr/share/man/man1/nawk.1.gz.dpkg-tmp a
symlink to /etc/alternatives/nawk.1.gz: No such file or directory
dpkg: error processing mawk (--install):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 mawk
----------8<--------------------------------------8<----------------------

I have no idea to solve this without repacking some packages.

Do you have a hint?
Could you please do a test on setup a GRIP chroot and provide
information how it could be reached successfully?

Thank you in advance. 


Kindly regards,
Erik




Reply to: